AdsTurbo is an MCP server published by io.github.AdsTurbo, hosted at adsturbo.ai. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 32 tools, including ad_clone_analyze, ad_clone_generate, ai_actor_list, ai_actor_perform, ai_actor_say.
AI ad creatives: clone reference ads, AI spokesperson videos, video generation, translation, images.
1 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
视频复刻 — 分析
| Parameter | Type | Description |
|---|---|---|
| clip_end | integer | 圈选结束时间(秒);须 clip_end > clip_start,且 clip_end - clip_start ≤ 12(片段最长 12 秒) |
| video_url | string | 源视频 URL |
| clip_start | integer | 圈选起始时间(秒,非负) |
{
"name": "ad_clone_analyze",
"description": "视频复刻 — 分析",
"inputSchema": {
"type": "object",
"properties": {
"clip_end": {
"type": "integer",
"format": "int32",
"minimum": 0,
"description": "圈选结束时间(秒);须 clip_end > clip_start,且 clip_end - clip_start ≤ 12(片段最长 12 秒)"
},
"video_url": {
"type": "string",
"description": "源视频 URL"
},
"clip_start": {
"type": "integer",
"format": "int32",
"minimum": 0,
"description": "圈选起始时间(秒,非负)"
}
},
"description": "视频复刻 — 分析源视频并生成 prompt。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频复刻 — 生成
| Parameter | Type | Description |
|---|---|---|
| ratio | string | 视频比例,空 = `9:16` |
| prompt | string | prompt(可在 Analyze 返回基础上修改) |
| duration | integer | 生成时长(秒);不在可选值内(含不传)按 12 |
| video_url | string | 源视频片段 URL(Analyze 返回的 video_segment_url) |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
{
"name": "ad_clone_generate",
"description": "视频复刻 — 生成",
"inputSchema": {
"type": "object",
"properties": {
"ratio": {
"type": "string",
"description": "视频比例,空 = `9:16`"
},
"prompt": {
"type": "string",
"description": "prompt(可在 Analyze 返回基础上修改)"
},
"duration": {
"enum": [
4,
8,
12,
16,
20
],
"type": "integer",
"format": "int32",
"description": "生成时长(秒);不在可选值内(含不传)按 12"
},
"video_url": {
"type": "string",
"description": "源视频片段 URL(Analyze 返回的 video_segment_url)"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
}
},
"description": "视频复刻 — 提交生成任务;响应含异步任务 ID(`workspace_id`)。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}系统演员列表
| Parameter | Type | Description |
|---|---|---|
| age | array | |
| pose | array | |
| limit | integer | |
| gender | array | |
| offset | integer | |
| sort_by | string | |
| industry | array | 按服务端行业分类过滤(如 `beauty` / `fitness` / `finance` 等);取值集以服务端注册表为准。 |
| ethnicity | array | |
| shot_type | array | |
| situation | array |
{
"name": "ai_actor_list",
"description": "系统演员列表",
"inputSchema": {
"type": "object",
"properties": {
"age": {
"type": "array",
"items": {
"enum": [
"senior",
"adult",
"young-adult",
"kid"
],
"type": "string"
}
},
"pose": {
"type": "array",
"items": {
"enum": [
"arms-crossed",
"cross-legged",
"gesturing",
"leaning",
"leaning-forward",
"legs-crossed",
"pointing",
"reclining",
"sitting",
"standing"
],
"type": "string"
}
},
"limit": {
"type": "integer",
"format": "int32"
},
"gender": {
"type": "array",
"items": {
"enum": [
"female",
"male"
],
"type": "string"
}
},
"offset": {
"type": "integer",
"format": "int32"
},
"sort_by": {
"type": "string"
},
"industry": {
"type": "array",
"items": {
"type": "string"
},
"description": "按服务端行业分类过滤(如 `beauty` / `fitness` / `finance` 等);取值集以服务端注册表为准。\n"
},
"ethnicity": {
"type": "array",
"items": {
"enum": [
"asian",
"caucasian",
"african",
"latino"
],
"type": "string"
}
},
"shot_type": {
"type": "array",
"items": {
"enum": [
"close-up",
"full-shot",
"long-shot",
"medium-close-up",
"medium-full-shot",
"medium-shot"
],
"type": "string"
}
},
"situation": {
"type": "array",
"items": {
"enum": [
"balcony",
"beach",
"bedroom",
"car",
"coffee-shop",
"grwm",
"home",
"kitchen",
"medical",
"news-anchor",
"office",
"podcast",
"snow",
"studio"
],
"type": "string"
}
}
},
"description": "系统演员列表筛选与分页;筛选项为小写,英文短语中空格用连字符。"
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}演员演出(系统演员或 Persona) `actor_id` 既可为系统演员 ID,也可为自定义 Persona 的 `actor_id`,共用同一套演出参数与异步任务响应。
| Parameter | Type | Description |
|---|---|---|
| speed | number | |
| style | number | |
| script | string | |
| actor_id | string | 系统演员 ID,或 Persona 的 actor_id |
| stability | number | |
| similarity | number | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| auto_emotion | boolean | |
| speaker_boost | boolean |
{
"name": "ai_actor_perform",
"description": "演员演出(系统演员或 Persona)\n\n`actor_id` 既可为系统演员 ID,也可为自定义 Persona 的 `actor_id`,共用同一套演出参数与异步任务响应。",
"inputSchema": {
"type": "object",
"properties": {
"speed": {
"type": "number",
"format": "float"
},
"style": {
"type": "number",
"format": "float"
},
"script": {
"type": "string"
},
"actor_id": {
"type": "string",
"description": "系统演员 ID,或 Persona 的 actor_id"
},
"stability": {
"type": "number",
"format": "float"
},
"similarity": {
"type": "number",
"format": "float"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"auto_emotion": {
"type": "boolean"
},
"speaker_boost": {
"type": "boolean"
}
},
"description": "演出任务请求;适用于系统演员与自定义 Persona。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}系统演员语音生成
| Parameter | Type | Description |
|---|---|---|
| speed | number | |
| script | string | |
| actor_id | string | |
| stability | number | |
| similarity | number | |
| auto_emotion | boolean |
{
"name": "ai_actor_say",
"description": "系统演员语音生成",
"inputSchema": {
"type": "object",
"properties": {
"speed": {
"type": "number",
"format": "float"
},
"script": {
"type": "string"
},
"actor_id": {
"type": "string"
},
"stability": {
"type": "number",
"format": "float"
},
"similarity": {
"type": "number",
"format": "float"
},
"auto_emotion": {
"type": "boolean"
}
},
"description": "系统演员语音合成请求。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}批量查询异步任务状态
| Parameter | Type | Description |
|---|---|---|
| workspace_ids | array |
{
"name": "batch_get_work_status",
"description": "批量查询异步任务状态",
"inputSchema": {
"type": "object",
"properties": {
"workspace_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "批量按 `workspace_ids` 查询异步任务状态。"
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}查询 Persona 状态
| Parameter | Type | Description |
|---|---|---|
| actor_id | string |
{
"name": "get_persona_status",
"description": "查询 Persona 状态",
"inputSchema": {
"type": "object",
"properties": {
"actor_id": {
"type": "string"
}
},
"description": "按 `actor_id` 查询 Persona 状态。"
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}查询异步任务状态
| Parameter | Type | Description |
|---|---|---|
| workspace_id | string |
{
"name": "get_work_status",
"description": "查询异步任务状态",
"inputSchema": {
"type": "object",
"properties": {
"workspace_id": {
"type": "string"
}
},
"description": "按 `workspace_id` 查询异步任务状态。"
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}图片生成 / 编辑 每次调用固定生成 **1 张**。 默认异步:返回 `workspace_id`(`status=pending`,`result_type=image`),用 `work/status` 轮询取 `result_url`; `sync_mod=true` 时同步阻塞到出图,响应里 `result_url` 直接为图片 URL(`status=completed`)。
| Parameter | Type | Description |
|---|---|---|
| model | string | 可选。默认 `nanobanana-pro`。 |
| ratio | string | 取值集因 model 而异,详见请求体表格。 |
| prompt | string | 生成 / 编辑指令 |
| sync_mod | boolean | `true` 同步阻塞到出图(最长约 60 秒);默认 `false` 异步返回 `workspace_id`。 |
| background | string | 背景,只有 `seedream-5.5` 收:`transparent` 透明底(出 png)、`opaque` 不透明、`auto` 由模型决定;不传 = `auto`。其他模型传了报参数错。 |
| image_urls | array | 文生图时为空数组;编辑时非空,上限因 model 而异。 |
| resolution | string | 除 `seedream-5.0-lite` 外都支持;取值集和默认值详见请求体表格。 |
| callback_id | string | 自定义追踪 ID,在响应中原样回传 |
| idempotency_key | string | 幂等键(预留字段,当前服务端未对本接口做去重) |
{
"name": "image_create",
"description": "图片生成 / 编辑\n\n每次调用固定生成 **1 张**。\n默认异步:返回 `workspace_id`(`status=pending`,`result_type=image`),用 `work/status` 轮询取 `result_url`;\n`sync_mod=true` 时同步阻塞到出图,响应里 `result_url` 直接为图片 URL(`status=completed`)。",
"inputSchema": {
"type": "object",
"properties": {
"model": {
"enum": [
"gpt-image-2",
"gpt-image-2.5",
"gpt-image-2.5-sunburst",
"nano-banana-2",
"nano-banana-2.1",
"nano-banana-2-fast",
"nanobanana-pro",
"seedream-5.0-lite",
"seedream-5.0-pro",
"seedream-5.5",
"grok-imagine-image-2.0"
],
"type": "string",
"example": "nanobanana-pro",
"description": "可选。默认 `nanobanana-pro`。"
},
"ratio": {
"enum": [
"1:1",
"1:2",
"2:1",
"1:3",
"3:1",
"1:4",
"4:1",
"1:8",
"8:1",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"5:7",
"7:5",
"9:16",
"16:9",
"9:21",
"21:9",
"19.5:9",
"9:19.5",
"20:9",
"9:20"
],
"type": "string",
"example": "9:16",
"description": "取值集因 model 而异,详见请求体表格。"
},
"prompt": {
"type": "string",
"description": "生成 / 编辑指令"
},
"sync_mod": {
"type": "boolean",
"example": false,
"description": "`true` 同步阻塞到出图(最长约 60 秒);默认 `false` 异步返回 `workspace_id`。"
},
"background": {
"enum": [
"auto",
"transparent",
"opaque"
],
"type": "string",
"example": "transparent",
"description": "背景,只有 `seedream-5.5` 收:`transparent` 透明底(出 png)、`opaque` 不透明、`auto` 由模型决定;不传 = `auto`。其他模型传了报参数错。\n"
},
"image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "文生图时为空数组;编辑时非空,上限因 model 而异。\n"
},
"resolution": {
"enum": [
"0.5k",
"1k",
"1.5k",
"2k",
"3k",
"4k",
"8k"
],
"type": "string",
"example": "2k",
"description": "除 `seedream-5.0-lite` 外都支持;取值集和默认值详见请求体表格。\n"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,在响应中原样回传"
},
"idempotency_key": {
"type": "string",
"description": "幂等键(预留字段,当前服务端未对本接口做去重)"
}
},
"description": "图片生成或编辑。`model` 为模型短名称,省略时服务端默认 `nanobanana-pro`。\n文生图:`image_urls` 为空;图片编辑:`image_urls` 非空。每次固定生成 1 张。\n\n**模式支持**:\n- 下表模型都支持文生图和编辑;传其他 model 返回 `ret=10000`,`msg` 为 `unsupported model \"<传入值>\"; supported models: <可选值,逗号分隔>`,不扣积分。\n\n**参数支持(按模型不同,服务端校验为准)**:\n\n比例集合(表里用代号):\n- A:1:1 / 1:2 / 2:1 / 1:3 / 3:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 9:16 / 16:9 / 9:21 / 21:9\n- B:1:1 / 3:2 / 2:3 / 3:4 / 4:3 / 4:5 / 5:4 / 5:7 / 7:5 / 9:16 / 16:9 / 21:9 / 1:4 / 4:1\n- C:B + 1:8 / 8:1\n- D:1:1 / 1:2 / 2:1 / 1:3 / 3:1 / 1:4 / 4:1 / 1:8 / 8:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 5:7 / 7:5 / 9:16 / 16:9 / 9:21 / 21:9\n- E:1:1 / 16:9 / 9:16 / 4:3 / 3:4 / 3:2 / 2:3 / 2:1 / 1:2 / 19.5:9 / 9:19.5 / 20:9 / 9:20\n\n| model | ratio | resolution(第一个为默认) | 编辑输入图上限 |\n|---|---|---|---|\n| `gpt-image-2` | A | 1k / 2k / 4k | 10 |\n| `gpt-image-2.5` | A | 1k / 2k / 4k | 16 |\n| `gpt-image-2.5-sunburst` | A | 1k / 2k / 4k | 16 |\n| `nano-banana-2` | C | 0.5k / 1k / 2k / 4k | 14 |\n| `nano-banana-2.1` | C | 1k / 2k / 4k | 14 |\n| `nano-banana-2-fast` | C | 2k / 4k | 14 |\n| `nanobanana-pro` | B | 1k / 2k / 4k / 8k | 14 |\n| `seedream-5.0-lite` | D | — | 10 |\n| `seedream-5.0-pro` | A | 2k / 1k | 10 |\n| `seedream-5.5` | A | 2k / 1k / 1.5k / 3k | 10 |\n| `grok-imagine-image-2.0` | E | 2k / 1k | 3 |\n\n- `ratio` 留空由模型按 prompt 决定;prompt 内写明的比例(如 `16:9`、「竖屏」)优先于 `ratio` 参数。\n- `resolution` 不传按上表第一个值;不支持的模型(`seedream-5.0-lite`)必须留空;`4k` 及以上需订阅身份。\n- 本接口不收 `quality`:`gpt-image-2` / `gpt-image-2.5` / `gpt-image-2.5-sunburst` / `grok-imagine-image-2.0` 固定按 `medium` 出图。\n- `background` 只有 `seedream-5.5` 收:`transparent` 出透明底 png,`opaque` 不透明,`auto` 或不传由模型决定;其他模型传了报参数错(`ret=10000`)。\n- `image_urls` 只收 http(s) URL,不收 data URI;单张像素 ≤ 3600 万。\n- 参考图链接 404 时同步返回 `ret=60809`(`msg` 指明第几张),不扣积分,不建任务;上传的文件请原样使用上传接口返回的 `data.url`。\n"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}图片抠图
| Parameter | Type | Description |
|---|---|---|
| method | string | 抠图方法 |
| image_url | string | 原图 URL |
| resolution | string | 输出分辨率 |
| callback_id | string | 回调标识 |
| workspace_id | string | 工作空间 ID,用于关联异步任务 |
| output_format | string | 输出格式 |
| idempotency_key | string | 幂等键,防止重复提交 |
{
"name": "image_cutout",
"description": "图片抠图",
"inputSchema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "抠图方法"
},
"image_url": {
"type": "string",
"description": "原图 URL"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID,用于关联异步任务"
},
"output_format": {
"type": "string",
"description": "输出格式"
},
"idempotency_key": {
"type": "string",
"description": "幂等键,防止重复提交"
}
},
"description": "图片抠图请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}电商产品图
| Parameter | Type | Description |
|---|---|---|
| methods | array | 生成方法列表 |
| language | string | 语言 |
| resolution | string | 输出分辨率 |
| user_input | string | 用户输入描述 |
| callback_id | string | 回调标识 |
| aspect_ratio | string | 宽高比 |
| product_info | string | 产品信息 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
| reference_image_urls | array | 参考图片 URL 列表 |
{
"name": "image_ecommerce",
"description": "电商产品图",
"inputSchema": {
"type": "object",
"properties": {
"methods": {
"type": "array",
"items": {
"type": "string"
},
"description": "生成方法列表"
},
"language": {
"type": "string",
"description": "语言"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"user_input": {
"type": "string",
"description": "用户输入描述"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"aspect_ratio": {
"type": "string",
"description": "宽高比"
},
"product_info": {
"type": "string",
"description": "产品信息"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
},
"reference_image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "参考图片 URL 列表"
}
},
"description": "电商产品图请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}图片增强
| Parameter | Type | Description |
|---|---|---|
| scale | integer | 放大倍数 |
| method | string | 增强方法 |
| image_url | string | 原图 URL |
| resolution | string | 输出分辨率 |
| callback_id | string | 回调标识 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
{
"name": "image_enhance",
"description": "图片增强",
"inputSchema": {
"type": "object",
"properties": {
"scale": {
"type": "integer",
"format": "int32",
"description": "放大倍数"
},
"method": {
"type": "string",
"description": "增强方法"
},
"image_url": {
"type": "string",
"description": "原图 URL"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
}
},
"description": "图片增强请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}AI 图片消除
| Parameter | Type | Description |
|---|---|---|
| method | string | 消除方法 |
| mask_url | string | 蒙版 URL |
| quantity | integer | 生成数量 |
| image_url | string | 原图 URL |
| resolution | string | 输出分辨率 |
| callback_id | string | 回调标识 |
| instruction | string | 消除指令描述 |
| aspect_ratio | string | 宽高比 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
{
"name": "image_magic_eraser",
"description": "AI 图片消除",
"inputSchema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "消除方法"
},
"mask_url": {
"type": "string",
"description": "蒙版 URL"
},
"quantity": {
"type": "integer",
"format": "int32",
"description": "生成数量"
},
"image_url": {
"type": "string",
"description": "原图 URL"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"instruction": {
"type": "string",
"description": "消除指令描述"
},
"aspect_ratio": {
"type": "string",
"description": "宽高比"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
}
},
"description": "AI 图片消除请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}活动海报图
| Parameter | Type | Description |
|---|---|---|
| method | string | 海报生成方法 |
| language | string | 语言 |
| event_info | string | 活动信息 |
| resolution | string | 输出分辨率 |
| callback_id | string | 回调标识 |
| aspect_ratio | string | 宽高比 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
| reference_image_urls | array | 参考图片 URL 列表 |
{
"name": "image_poster",
"description": "活动海报图",
"inputSchema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "海报生成方法"
},
"language": {
"type": "string",
"description": "语言"
},
"event_info": {
"type": "string",
"description": "活动信息"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"aspect_ratio": {
"type": "string",
"description": "宽高比"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
},
"reference_image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "参考图片 URL 列表"
}
},
"description": "活动海报图请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}创建自定义 Persona
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| photo_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| voice_audio_url | string | 可选,用于语音克隆 |
{
"name": "persona_create",
"description": "创建自定义 Persona",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"photo_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"voice_audio_url": {
"type": "string",
"description": "可选,用于语音克隆"
}
},
"description": "创建自定义 Persona 请求。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}删除自定义 Persona
| Parameter | Type | Description |
|---|---|---|
| actor_id | string |
{
"name": "persona_delete",
"description": "删除自定义 Persona",
"inputSchema": {
"type": "object",
"properties": {
"actor_id": {
"type": "string"
}
},
"description": "删除 Persona 请求。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}个人创建演员列表 分页查询当前用户创建的个人演员(Persona)列表。
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer |
{
"name": "persona_list",
"description": "个人创建演员列表\n\n分页查询当前用户创建的个人演员(Persona)列表。",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"offset": {
"type": "integer",
"format": "int32"
}
},
"description": "个人创建演员列表分页查询;`offset`、`limit` 为分页参数。"
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}视频拉片
| Parameter | Type | Description |
|---|---|---|
| video_url | string | 源视频 URL |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer | 关联工作区 ID,无则传 0 |
{
"name": "video_analyze",
"description": "视频拉片",
"inputSchema": {
"type": "object",
"properties": {
"video_url": {
"type": "string",
"description": "源视频 URL"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64",
"description": "关联工作区 ID,无则传 0"
}
},
"description": "视频拉片任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频换脸
| Parameter | Type | Description |
|---|---|---|
| image_url | string | 目标人脸参考图 URL |
| video_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer |
{
"name": "video_character_swap",
"description": "视频换脸",
"inputSchema": {
"type": "object",
"properties": {
"image_url": {
"type": "string",
"description": "目标人脸参考图 URL"
},
"video_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64"
}
},
"description": "视频换脸任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频编辑 **仅支持 `seedance-2.0` 模型基座**。 源视频二选一:`workspace_id` 或 `video_url`;同时传 / 同时空均报错。 `mask_url` 暂不支持,请留空。
| Parameter | Type | Description |
|---|---|---|
| model | string | 仅支持 `seedance-2.0`。 |
| ratio | string | |
| prompt | string | |
| mask_url | string | 暂不支持,请留空(传非空返回 `ret=10001`)。 |
| video_url | string | |
| resolution | string | one of ["720p","1080p","480p","4k"] |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | string | |
| idempotency_key | string | |
| reference_images | array |
{
"name": "video_edit",
"description": "视频编辑\n\n**仅支持 `seedance-2.0` 模型基座**。\n源视频二选一:`workspace_id` 或 `video_url`;同时传 / 同时空均报错。\n`mask_url` 暂不支持,请留空。",
"inputSchema": {
"type": "object",
"properties": {
"model": {
"enum": [
"seedance-2.0"
],
"type": "string",
"default": "seedance-2.0",
"description": "仅支持 `seedance-2.0`。"
},
"ratio": {
"type": "string"
},
"prompt": {
"type": "string"
},
"mask_url": {
"type": "string",
"description": "暂不支持,请留空(传非空返回 `ret=10001`)。"
},
"video_url": {
"type": "string"
},
"resolution": {
"enum": [
"720p",
"1080p",
"480p",
"4k"
],
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "string"
},
"idempotency_key": {
"type": "string"
},
"reference_images": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "视频编辑。源视频二选一:`workspace_id` 或 `video_url`;同时传 / 同时空返回 `ret=10000`(`msg` 为 `Invalid parameters`),不扣积分。\n`mask_url` 暂不支持,传非空返回 `ret=10001`,请留空。不收 `duration`,按 seedance-2.0 默认时长 15 秒生成。\n\n**仅支持 `seedance-2.0` 模型基座**,不开放其他模型:传其他值返回 `ret=10000`,`msg` 同视频延长。`resolution` 取 `720p`(默认)/ `1080p` / `480p` / `4k`。\n"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频增强
| Parameter | Type | Description |
|---|---|---|
| method | string | 增强方法 |
| duration | integer | 时长(秒) |
| video_url | string | 视频 URL |
| resolution | string | 输出分辨率 |
| callback_id | string | 回调标识 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
{
"name": "video_enhance_v2",
"description": "视频增强",
"inputSchema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "增强方法"
},
"duration": {
"type": "integer",
"format": "int32",
"description": "时长(秒)"
},
"video_url": {
"type": "string",
"description": "视频 URL"
},
"resolution": {
"type": "string",
"description": "输出分辨率"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
}
},
"description": "视频增强请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频延长(在源视频末尾追加 N 秒) **仅支持 `seedance-2.0` 模型基座**。 源视频二选一:`workspace_id`(内部)或 `video_url`(外部);同时传 / 同时空均报错。 `duration` 为增量秒数:原 8s + duration=4 → 输出 12s。
| Parameter | Type | Description |
|---|---|---|
| model | string | 仅支持 `seedance-2.0`。 |
| ratio | string | |
| prompt | string | |
| duration | integer | 必填。在源视频末尾追加的秒数,范围 4~15;不传或传 0 返回 `ret=10000`。 |
| video_url | string | |
| resolution | string | one of ["720p","1080p","480p","4k"] |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | string | |
| idempotency_key | string |
{
"name": "video_extend",
"description": "视频延长(在源视频末尾追加 N 秒)\n\n**仅支持 `seedance-2.0` 模型基座**。\n源视频二选一:`workspace_id`(内部)或 `video_url`(外部);同时传 / 同时空均报错。\n`duration` 为增量秒数:原 8s + duration=4 → 输出 12s。",
"inputSchema": {
"type": "object",
"properties": {
"model": {
"enum": [
"seedance-2.0"
],
"type": "string",
"default": "seedance-2.0",
"description": "仅支持 `seedance-2.0`。"
},
"ratio": {
"type": "string"
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer",
"format": "int32",
"maximum": 15,
"minimum": 4,
"description": "必填。在源视频末尾追加的秒数,范围 4~15;不传或传 0 返回 `ret=10000`。"
},
"video_url": {
"type": "string"
},
"resolution": {
"enum": [
"720p",
"1080p",
"480p",
"4k"
],
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "string"
},
"idempotency_key": {
"type": "string"
}
},
"description": "视频延长。源视频二选一:`workspace_id`(内部)或 `video_url`(外部);同时传 / 同时空返回 `ret=10000`(`msg` 为 `Invalid parameters`),不扣积分。\n`duration` 为增量秒数。\n\n**仅支持 `seedance-2.0` 模型基座**,不开放其他模型:传其他值返回 `ret=10000`,`msg` 为 `unsupported model \"<传入值>\" for video edit / extend; supported models: seedance-2.0`。`duration` 必填,取值 4~15,超出会调到最近的上限 / 下限;`resolution` 取 `720p`(默认)/ `1080p` / `480p` / `4k`。\n"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频生成(文生 / 图生 / 首尾帧 / 多参考媒体) 异步任务;状态和结果都通过 `/openapi/v1/work/status` 轮询获取(暂不支持 webhook 推送)。 `model` 必填;各模型的 duration / ratio / resolution / reference_* 取值和上限见请求体表格。
| Parameter | Type | Description |
|---|---|---|
| model | string | 必填。模型短名称,可选值和各自参数见请求体表格。 |
| ratio | string | 取值集因 model 而异,详见请求体表格;没列取值的模型原样传给模型。 |
| prompt | string | |
| duration | integer | 视频时长(秒)。范围和默认值因 model 而异,越界的处理见请求体说明。 |
| end_frame | string | 尾帧图片 URL |
| resolution | string | 取值集因 model 而异,不传取表中第一个值,详见请求体表格。 |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| start_frame | string | 首帧图片 URL |
| idempotency_key | string | 幂等键,相同 key 重复请求复用同一任务 |
| reference_audios | array | |
| reference_images | array | |
| reference_videos |
视频水印消除
| Parameter | Type | Description |
|---|---|---|
| video_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer |
{
"name": "video_inpaint",
"description": "视频水印消除",
"inputSchema": {
"type": "object",
"properties": {
"video_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64"
}
},
"description": "视频水印消除任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频对口型
| Parameter | Type | Description |
|---|---|---|
| prompt | string | |
| audio_url | string | |
| avatar_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
{
"name": "video_lip_sync",
"description": "视频对口型",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"audio_url": {
"type": "string"
},
"avatar_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
}
},
"description": "视频对口型任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}AI 视频消除
| Parameter | Type | Description |
|---|---|---|
| method | string | 消除方法 |
| duration | integer | 时长(秒) |
| video_url | string | 视频 URL |
| callback_id | string | 回调标识 |
| workspace_id | string | 工作空间 ID |
| idempotency_key | string | 幂等键 |
{
"name": "video_magic_eraser",
"description": "AI 视频消除",
"inputSchema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "消除方法"
},
"duration": {
"type": "integer",
"format": "int32",
"description": "时长(秒)"
},
"video_url": {
"type": "string",
"description": "视频 URL"
},
"callback_id": {
"type": "string",
"description": "回调标识"
},
"workspace_id": {
"type": "string",
"description": "工作空间 ID"
},
"idempotency_key": {
"type": "string",
"description": "幂等键"
}
},
"description": "AI 视频消除请求"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频动作控制
| Parameter | Type | Description |
|---|---|---|
| mode | string | |
| prompt | string | |
| image_url | string | |
| video_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer | |
| negative_prompt | string | |
| keep_original_sound | boolean | |
| character_orientation | string | 角色朝向,默认与视频一致时可传 video |
{
"name": "video_motion_control",
"description": "视频动作控制",
"inputSchema": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"prompt": {
"type": "string"
},
"image_url": {
"type": "string"
},
"video_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64"
},
"negative_prompt": {
"type": "string"
},
"keep_original_sound": {
"type": "boolean"
},
"character_orientation": {
"type": "string",
"description": "角色朝向,默认与视频一致时可传 video"
}
},
"description": "视频动作控制任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频字幕
| Parameter | Type | Description |
|---|---|---|
| video_url | string | |
| style_type | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer | |
| source_language | string | |
| subtitle_format | string | |
| translate_language | string |
{
"name": "video_subtitle",
"description": "视频字幕",
"inputSchema": {
"type": "object",
"properties": {
"video_url": {
"type": "string"
},
"style_type": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64"
},
"source_language": {
"type": "string"
},
"subtitle_format": {
"type": "string"
},
"translate_language": {
"type": "string"
}
},
"description": "视频字幕任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频翻译
| Parameter | Type | Description |
|---|---|---|
| video_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| target_lang | string | 目标语言 |
| workspace_id | integer |
{
"name": "video_translate",
"description": "视频翻译",
"inputSchema": {
"type": "object",
"properties": {
"video_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"target_lang": {
"type": "string",
"description": "目标语言"
},
"workspace_id": {
"type": "integer",
"format": "int64"
}
},
"description": "视频翻译任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}视频超分
| Parameter | Type | Description |
|---|---|---|
| video_url | string | |
| callback_id | string | 自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送) |
| workspace_id | integer |
{
"name": "video_upscale",
"description": "视频超分",
"inputSchema": {
"type": "object",
"properties": {
"video_url": {
"type": "string"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"workspace_id": {
"type": "integer",
"format": "int64"
}
},
"description": "视频超分任务。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}解析平台视频链接,换取可用的视频素材
| Parameter | Type | Description |
|---|---|---|
| urls * | array | 视频分享链接,最多 5 个。可以直接传用户复制来的整段分享文案,会自动取出其中的链接。 |
{
"name": "fetch_video_from_link",
"description": "解析平台视频链接,换取可用的视频素材",
"inputSchema": {
"type": "object",
"required": [
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "视频分享链接,最多 5 个。可以直接传用户复制来的整段分享文案,会自动取出其中的链接。"
}
},
"description": "用户给的是抖音、TikTok、YouTube、Instagram、小红书、视频号上的视频分享链接(或包含链接的整段分享文案)时,先调用本工具:它会抓取视频并转存到 AdsTurbo,返回可直接下载的 video_url,以及封面、时长、标题和作者。之后把 video_url 传给 ad_clone_analyze、video_analyze、video_translate、video_subtitle 等工具。不要自己请求平台网页去抓视频,也不要把平台分享链接直接传给其他工具。已经是 .mp4 等可直接下载的链接就不用调用。抓到的视频只用于拆解分析和借鉴创意结构,不要原样转发或发布他人的作品。不消耗积分,新抓取的视频会存进用户的素材库。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}贴商品链接出广告
| Parameter | Type | Description |
|---|---|---|
| ad_type | string | 广告类型。ugc:真人自拍口播种草,有口播,语言按 language;product_showcase:棚拍产品质感,默认只有配乐、没有口播。不传时按商品自动选型(第一视角上手、痛点演示、上身试穿等),可能没有口播,要口播请传 ugc。传 product 时必填 ugc 或 product_showcase,不传会被预检 60819 拒。 |
| product | object | 已有商品数据;与 product_url 二选一。 |
| duration | integer | 仅支持 15 秒;传 0 或省略按 15 秒。 |
| language | string | 口播语言;不传时按输入内容识别,识别不到用 English。只有带口播的类型(如 ugc)会念出来。 |
| resolution | string | 分辨率,默认 720p。 |
| product_url | string | 公开商品页 URL;与 product 二选一。 |
| aspect_ratio | string | 画幅,默认 9:16。 |
| idempotency_key | string | 可选幂等键(1–64 位字母、数字、_、-,建议 UUID)。超时重试时带同一个值:内容相同返回原 work_id、不重复扣积分;内容不同报 60822;上次失败已退款报 60823(换新键);同键处理中报 429。 |
{
"name": "create_ad_from_product_url",
"description": "贴商品链接出广告",
"inputSchema": {
"type": "object",
"properties": {
"ad_type": {
"type": "string",
"description": "广告类型。ugc:真人自拍口播种草,有口播,语言按 language;product_showcase:棚拍产品质感,默认只有配乐、没有口播。不传时按商品自动选型(第一视角上手、痛点演示、上身试穿等),可能没有口播,要口播请传 ugc。传 product 时必填 ugc 或 product_showcase,不传会被预检 60819 拒。"
},
"product": {
"type": "object",
"properties": {
"brand": {
"type": "string"
},
"price": {},
"title": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"type": "string"
}
},
"description": "已有商品数据;与 product_url 二选一。"
},
"duration": {
"enum": [
0,
15
],
"type": "integer",
"default": 15,
"description": "仅支持 15 秒;传 0 或省略按 15 秒。"
},
"language": {
"type": "string",
"description": "口播语言;不传时按输入内容识别,识别不到用 English。只有带口播的类型(如 ugc)会念出来。"
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"description": "分辨率,默认 720p。"
},
"product_url": {
"type": "string",
"description": "公开商品页 URL;与 product 二选一。"
},
"aspect_ratio": {
"enum": [
"9:16",
"1:1",
"16:9"
],
"type": "string",
"description": "画幅,默认 9:16。"
},
"idempotency_key": {
"type": "string",
"description": "可选幂等键(1–64 位字母、数字、_、-,建议 UUID)。超时重试时带同一个值:内容相同返回原 work_id、不重复扣积分;内容不同报 60822;上次失败已退款报 60823(换新键);同键处理中报 429。"
}
},
"description": "给商品链接或商品数据生成广告视频。二选一传 product_url / product;默认 15 秒竖版 720p,返回 work_id 和预计积分。完成后用 get_work_status 查询。抓取失败、需要登录或品类不支持时,改传 product(title、description、price、images、brand)。传 product 时必须同时传 ad_type(ugc 或 product_showcase),否则预检报 60819 要求补视频需求(不扣积分)。要口播选 ugc;product_showcase 默认只有配乐、没有口播。"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| array |
{
"name": "video_generate",
"description": "视频生成(文生 / 图生 / 首尾帧 / 多参考媒体)\n\n异步任务;状态和结果都通过 `/openapi/v1/work/status` 轮询获取(暂不支持 webhook 推送)。\n`model` 必填;各模型的 duration / ratio / resolution / reference_* 取值和上限见请求体表格。",
"inputSchema": {
"type": "object",
"properties": {
"model": {
"enum": [
"seedance-2.5",
"seedance-2.0",
"seedance-2.0-mini",
"veo-3.1",
"kling-3.0",
"kling-4.0",
"minimax-h3",
"happyhorse-1.0",
"happyhorse-1.1",
"wan-3.0",
"wan-3.0-prime",
"grok"
],
"type": "string",
"example": "seedance-2.5",
"description": "必填。模型短名称,可选值和各自参数见请求体表格。"
},
"ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"4:5",
"5:4",
"21:9",
"9:21",
"adaptive"
],
"type": "string",
"example": "16:9",
"description": "取值集因 model 而异,详见请求体表格;没列取值的模型原样传给模型。"
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer",
"format": "int32",
"description": "视频时长(秒)。范围和默认值因 model 而异,越界的处理见请求体说明。"
},
"end_frame": {
"type": "string",
"description": "尾帧图片 URL"
},
"resolution": {
"enum": [
"480p",
"720p",
"768p",
"1080p",
"2k",
"4k"
],
"type": "string",
"example": "1080p",
"description": "取值集因 model 而异,不传取表中第一个值,详见请求体表格。"
},
"callback_id": {
"type": "string",
"description": "自定义追踪 ID,会在 `/openapi/v1/work/status` 的结果里原样回传,用于对回你自己的业务单号(暂不支持 webhook 推送)"
},
"start_frame": {
"type": "string",
"description": "首帧图片 URL"
},
"idempotency_key": {
"type": "string",
"description": "幂等键,相同 key 重复请求复用同一任务"
},
"reference_audios": {
"type": "array",
"items": {
"type": "string"
}
},
"reference_images": {
"type": "array",
"items": {
"type": "string"
}
},
"reference_videos": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "视频生成。文生视频时 `start_frame` / `end_frame` / `reference_*` 留空;\n图生视频时通过 `start_frame`(可叠加 `end_frame`)控制首尾帧;多参考媒体由 `reference_images` / `reference_videos` / `reference_audios` 携带。\n\n**各模型规则**(取值集与上限按模型而定,服务端校验为准;resolution / ratio 列第一个值是不传时的默认值):\n\n| model | duration(秒) | resolution | ratio | start/end_frame | reference_images | reference_videos | reference_audios | 备注 |\n|---|---|---|---|---|---|---|---|---|\n| `seedance-2.5` | 4~30(默认 15);带 reference_videos 时可传 -1 | 720p / 480p / 1080p | 不限定,原样传给模型 | ≤2 | ≤30 | ≤10,合计 ≤30 秒 | ≤10,合计 ≤30 秒 | frame 与 reference 互斥 |\n| `seedance-2.0` | 4~15(默认 15) | 720p / 1080p / 480p / 4k | 不限定,原样传给模型 | ≤2 | ≤9 | ≤3,合计 ≤15 秒 | ≤3,合计 ≤15 秒 | frame 与 reference 互斥;audio 需配 image/video |\n| `seedance-2.0-mini` | 4~15(默认 15) | 720p / 480p | 不限定,原样传给模型 | ≤2 | ≤9 | ≤3,合计 ≤15 秒 | ≤3,合计 ≤15 秒 | 同 seedance-2.0 |\n| `veo-3.1` | 4 / 6 / 8(默认 8) | 720p / 1080p / 4k | 16:9 / 9:16 | ≤2 | ≤3 | — | — | frame 与 reference 互斥 |\n| `kling-3.0` | 3~15(默认 8) | 720p / 1080p / 4k | 不限定,原样传给模型 | ≤2 | ≤1 | — | — | |\n| `kling-4.0` | 3~30(默认 10) | 720p / 1080p | 16:9 / adaptive / 9:16 / 1:1 / 21:9 | ≤2 | ≤10 | ≤5,合计 ≤30 秒 | ≤3 | frame 与 reference 互斥;图 + 视频 + 音频合计 ≤15 个 |\n| `minimax-h3` | 4~15(默认 5) | 768p / 2k | 16:9 / adaptive / 21:9 / 4:3 / 1:1 / 3:4 / 9:16 | ≤2 | ≤9 | ≤3,合计 ≤15 秒 | ≤3,合计 ≤15 秒 | frame 与 reference 互斥;audio 需配 image/video |\n| `happyhorse-1.0` | 3~15(默认 5);带 reference_videos 时不生效 | 720p / 1080p | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 | ≤1 | ≤9 | ≤1,单条 3~15 秒(有视频时图片改限 ≤5) | — | frame 与 reference 互斥;带 reference_videos = 视频编辑:成片时长跟源片(≤15 秒),duration / ratio 不生效,按(源片秒 + 成片秒)计费,即源片秒(向上取整)× 2 × 有参单价 |\n| `happyhorse-1.1` | 同 happyhorse-1.0 | 720p / 1080p | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 4:5 / 5:4 / 9:21 / 21:9 | ≤1 | ≤9 | 同 happyhorse-1.0 | — | 同 happyhorse-1.0 |\n| `wan-3.0` | 2~30(默认 5);带 reference_videos 时可传 -1 | 720p / 480p / 1080p | 16:9 / adaptive / 9:16 / 1:1 / 4:3 / 3:4 | ≤2 | ≤10 | ≤5,合计 ≤15 秒 | ≤5,合计 ≤15 秒 | frame 与 reference 互斥 |\n| `wan-3.0-prime` | 同 wan-3.0 | 同 wan-3.0 | 同 wan-3.0 | ≤2 | ≤10 | ≤5,合计 ≤15 秒 | ≤5,合计 ≤15 秒 | wan-3.0 高速版,能力相同 |\n| `grok` | 6 / 10(默认 6) | 720p / 480p | 16:9 / 1:1 / 9:16(只对文生视频生效) | 不支持 | ≤7(作为首帧使用) | 本接口不支持 | — | |\n\n- `model` 必填,不扣积分的拒绝:不传返回 `ret=10000`,`msg` 为 `model is required; supported models: <可选值,逗号分隔>`;传了表里没有的值返回 `ret=10000`,`msg` 为 `unsupported model \"<传入值>\"; supported models: <可选值,逗号分隔>`。\n- `duration` 不传或传 0 取默认值;超出范围会被调到最近的上限 / 下限(`veo-3.1`、`grok` 传了不在可选值里的数取默认值),按调整后的秒数生成和计费。`-1` 表示时长跟参考视频走、按参考视频总时长计费,不带 `reference_videos` 时返回 `ret=10000`。\n- `resolution` 不传取表中第一个值;`1080p`、`2k`、`4k` 需要订阅身份(积分包用户不解锁)。表里列了 ratio 取值的模型,传其他值返回 `ret=10000`。\n- 参考视频 / 音频只收 http(s) URL;数量、单条或合计时长超限,提交时直接返回 `ret=10000`,不扣积分。\n"
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}