全部接口
Wan查询任务
Wan图生视频
Wan文生视频
Wan首尾帧图生视频
模型信息
| 模型 ID | wan2.2-animate-move | 供应商 | Aliyun(Qwen) |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 2025-12-08 11:04:26 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 全部接口 | Wan查询任务 | 本站 AI 中转站 | GET | /v2/videos/generations/{task_id} |
| 全部接口 | Wan图生视频 | 本站 AI 中转站 | POST | /v2/videos/generations |
| 全部接口 | Wan文生视频 | 本站 AI 中转站 | POST | /v2/videos/generations |
| 全部接口 | Wan首尾帧图生视频 | 本站 AI 中转站 | POST | /v2/videos/generations |
GET /v2/videos/generations/{task_id}
### Wan查询任务
统一接口格式
status 枚举:
NOT_START : 未开始
IN_PROGRESS : 正在执行
SUCCESS : 执行完成
FAILURE : 失败
{
"summary": "Wan查询任务",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [
{
"in": "path",
"name": "task_id",
"schema": {
"type": "string"
},
"required": true,
"description": ""
}
],
"description": "### Wan查询任务\n统一接口格式\nstatus 枚举:\nNOT_START : 未开始\nIN_PROGRESS : 正在执行\nSUCCESS : 执行完成\nFAILURE : 失败",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Wan查询任务",
"$schema": "",
"required": [
"prompt",
"model"
],
"properties": {
"seed": {
"type": "integer"
},
"size": {
"type": "string"
},
"model": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer"
},
"template": {
"type": "string"
},
"watermark": {
"type": "boolean"
},
"resolution": {
"type": "string"
},
"prompt_extend": {
"type": "string"
},
"negative_prompt": {
"type": "string"
}
},
"x-apifox-id": "342240878"
}
}
},
"required": true
}
}POST /v2/videos/generations
### Wan图生视频
统一接口格式
{
"summary": "Wan图生视频",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### Wan图生视频\n统一接口格式",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Wan图生视频",
"$schema": "",
"required": [
"prompt",
"images",
"model"
],
"properties": {
"seed": {
"type": "integer"
},
"model": {
"enum": [
"wan2.2-i2v-plus",
"wan2.2-i2v-flash",
"wanx2.1-i2v-turbo",
"wanx2.1-i2v-plus"
],
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "仅支持一张参考图"
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer"
},
"template": {
"type": "string"
},
"watermark": {
"type": "boolean"
},
"resolution": {
"enum": [
"720P",
"480P",
"1080P"
],
"type": "string",
"description": "wan2.2-i2v-plus:有效值:480P 和 1080P。默认值:1080P\nwan2.2-i2v-flash:有效值:480P 和 720P。默认值:720P\nwanx2.1-i2v-plus:有效值:720P。默认值:720P\nwanx2.1-i2v-turbo:有效值:480P 和 720P。默认值:720P"
},
"prompt_extend": {
"type": "string"
},
"negative_prompt": {
"type": "string"
}
},
"x-apifox-id": "342181510"
}
}
},
"required": true
}
}POST /v2/videos/generations
### Wan文生视频
通义万相文生视频模型基于文本提示词,生成一段流畅的视频。支持的能力包括:
基础能力:时长灵活(5秒/10秒)、指定视频分辨率(480P/720P/1080P)、智能改写prompt、添加水印。
音频能力:支持自动配音,或传入自定义音频文件,实现音画同步。(仅wan2.5支持)
{
"summary": "Wan文生视频",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### Wan文生视频\n通义万相文生视频模型基于文本提示词,生成一段流畅的视频。支持的能力包括:\n\n基础能力:时长灵活(5秒/10秒)、指定视频分辨率(480P/720P/1080P)、智能改写prompt、添加水印。\n\n音频能力:支持自动配音,或传入自定义音频文件,实现音画同步。(仅wan2.5支持)",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Wan文生视频",
"$schema": "",
"required": [
"prompt",
"model"
],
"properties": {
"seed": {
"type": "integer",
"description": "一个随机数种子,用于控制模型生成的内容的随机性。该值必须在 [0, 2147483647] 的范围内。\n如果不提供此参数,则算法会自动为种子生成一个随机数。如果希望生成的内容保持相对稳定,可以使用相同的种子值。"
},
"size": {
"type": "string",
"description": "wan2.2-t2v-plus:支持所有对应 480P 和 1080P 的分辨率。默认分辨率为 1920x1080\nwanx2.1-t2v-turbo:支持所有对应 480P 和 720P 的分辨率。默认分辨率为 1280×720 (720P)。\nwanx2.1-t2v-plus:仅支持 720P 对应的分辨率。默认分辨率为 1280×720 (720P)。\n480P: The optional video resolutions and their corresponding aspect ratios are:\n480P:可选的视频分辨率及其相应的宽高比为:\n\n832×480: 16:9. 832×480:16:9。\n\n480×832: 9:16. 480×832:9:16。\n\n624×624: 1:1. 624×624:1。\n\n720P: The optional video resolutions and their corresponding aspect ratios are:\n720P:可选的视频分辨率及其相应的宽高比为:\n\n1280×720: 16:9. 1280×720:16:9。\n\n720×1280: 9:16. 720×1280:9:16。\n\n960×960: 1:1. 960×960:1:1。\n\n1088×832: 4:3. 1088×832:4:3。\n\n832×1088: 3:4. 832×1088:3:4。\n\n1080P: The optional video resolutions and their corresponding aspect ratios are:\n1080P:可选的视频分辨率及其相应的宽高比为:\n\n1920×1080: 16:9.\n1920×1080:16:9。\n\n1080×1920: 9:16.\n1080×1920:9:16。\n\n1440×1440: 1:1. 1440×1440:1:1。\n\n1632×1248: 4:3. 1632×1248:4:3。\n\n1248×1632: 3:4. 1248×1632:3:4。"
},
"model": {
"enum": [
"wan2.2-t2v-plus",
"wanx2.1-t2v-turbo",
"wanx2.1-t2v-plus"
],
"type": "string",
"description": "型号名称。示例:wan2.1-t2v-turbo。"
},
"prompt": {
"type": "string",
"description": "The text prompt supports Chinese and English, with a maximum length of 800 characters. Each Chinese character or letter counts as one character. Content that exceeds this limit will be truncated.\n文本提示支持中英文,最大长度为800个字符。每个汉字或字母算作一个字符。超过此限制的内容将被截断。\n\nExample: A kitten running in the moonlight.\n示例:一只小猫在月光下奔跑。"
},
"duration": {
"type": "integer",
"description": "生成视频的持续时间(以秒为单位)。该参数固定为 5,无法修改。模型始终生成一个 5 秒的视频。"
},
"template": {
"type": "string"
},
"watermark": {
"type": "boolean",
"description": "指定是否添加水印。水印位于视频的右下角,注明“由人工智能生成”。"
},
"prompt_extend": {
"type": "boolean",
"description": "指定是否启用提示重写。如果启用,则使用大型语言模型 (LLM) 智能重写输入提示。这显着改善了较短提示的生成结果,但增加了处理时间。"
},
"negative_prompt": {
"type": "string",
"description": "A negative prompt is used to describe content that you do not want to appear in the video, which lets you restrict the video content.\n否定提示用于描述您不想出现在视频中的内容,这可以让您限制视频内容。\n\nIt supports Chinese and English, with a maximum length of 500 characters. Content that exceeds this limit will be truncated.\n它支持中英文,最大长度为 500 个字符。超过此限制的内容将被截断。\n\nExamples: low resolution, error, worst quality, low quality, defects, extra fingers, poor proportions.\n例如:低分辨率、错误、质量最差、质量低、缺陷、多余手指、比例差。"
}
},
"x-apifox-id": "342290999"
}
}
},
"required": true
}
}POST /v2/videos/generations
### Wan首尾帧图生视频
统一接口格式
{
"summary": "Wan首尾帧图生视频",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### Wan首尾帧图生视频\n统一接口格式",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "Wan首尾帧图生视频",
"$schema": "",
"required": [
"prompt",
"model",
"images"
],
"properties": {
"seed": {
"type": "integer"
},
"model": {
"enum": [
"wanx2.1-kf2v-plus"
],
"type": "string",
"description": "wanx2.1-kf2v-plus"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "第一张是首帧,第二张是尾帧\n使用公网可访问URL\n\n支持 HTTP 或 HTTPS 协议。本地文件可通过上传文件获取临时URL。\n\n示例值:\n\n传入 Base64 编码图像后的字符串\n\n数据格式:data:{MIME_type};base64,{base64_data}。\n\n示例值:data:image/png;base64,GDU7MtCZzEbTbmRZ......。(编码字符串过长,仅展示片段)"
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer"
},
"template": {
"type": "string"
},
"watermark": {
"type": "boolean"
},
"resolution": {
"type": "string"
},
"prompt_extend": {
"type": "string"
},
"negative_prompt": {
"type": "string"
}
},
"x-apifox-id": "342291320"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | AI 中转站 | request | CNY 0.4 | 秒 |
| 国产特价2 | AI 中转站 | request | CNY 0.32 | 秒 |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:GET /v2/videos/generations/{task_id}(Wan查询任务) | 2026-09-09 15:29:06 | |
| 接口资料:POST /v2/videos/generations(Wan图生视频) | 2026-09-09 15:29:06 | |
| 接口资料:POST /v2/videos/generations(Wan文生视频) | 2026-09-09 15:29:06 | |
| 接口资料:POST /v2/videos/generations(Wan首尾帧图生视频) | 2026-09-09 15:29:06 | |
| 价格分组:default(CNY 0.4/秒) | 2026-09-09 15:29:06 | |
| 价格分组:国产特价2(CNY 0.32/秒) | 2026-09-09 15:29:06 | |
| 阶梯与倍率计费资料 | 2026-09-09 15:29:06 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:06 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-21 00:31:09 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-21 01:16:03 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high