wan3.0-video

阶梯计费视频多模态异步任务New

万相3.0是 all-in-one 视频生成模型,统一支持参考、编辑、复刻、驱动等多种创作功能,四模态全能参考,最长支持30秒视频生成,可解析文件、网页及复杂图片。生产级角色一致性保持,音画真实,带来身临其境的视听冲击力。

官 稳 保
¥--已优惠¥--
----
  • 申请赠送05000000 Tokens

    约¥0/ 5百万Tokens

  • 一元试用11000000 Tokens

    约¥1/百万Token

  • 默认0.45s

    按量计费

  • 国产特价20.36s

    按量计费

· 首次申请送500万Token
  • 使用文档

  • 附件资料

  • 计费明细

模型信息

模型 IDwan3.0-video供应商Aliyun(Qwen)
输入模态text、image、video、audio输出模态video
分类video发布时间2026-08-25 18:20:22

调用接口

分组接口渠道方法路径
创建万相 3.0 视频任务创建万相 3.0 视频任务本站 AI 中转站POST/v1/videos

POST /v1/videos

### 创建万相 3.0 视频任务
统一支持文生视频、图生视频(首帧 / 首尾帧)和参考生视频。
prompt 与媒体素材至少提供其一。

模式推断(未传 mode 且未传官方 media 时):
- 有视频 / 音频 / file / link:参考生视频
- 正好 1 或 2 张图:图生视频(第 1 张为首帧,第 2 张为尾帧)
- 其他:参考生视频

reference_* / file / link 与 first_frame / last_frame 互斥,不能混用。

请求与响应结构
{
    "tags": [
        "qwen_wan3"
    ],
    "summary": "创建万相 3.0 视频任务",
    "responses": {
        "200": {
            "content": {
                "application/json": {
                    "schema": {
                        "type": "object",
                        "required": [
                            "id",
                            "object",
                            "status"
                        ],
                        "properties": {
                            "id": {
                                "type": "string",
                                "description": "上游 task_id。"
                            },
                            "size": {
                                "type": "string"
                            },
                            "error": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "message": {
                                        "type": "string"
                                    }
                                }
                            },
                            "model": {
                                "type": "string"
                            },
                            "object": {
                                "type": "string",
                                "examples": [
                                    "video"
                                ]
                            },
                            "status": {
                                "enum": [
                                    "queued",
                                    "in_progress",
                                    "completed",
                                    "failed"
                                ],
                                "type": "string"
                            },
                            "seconds": {
                                "type": "string",
                                "description": "创建时回显时长;智能时长为 auto。"
                            },
                            "progress": {
                                "type": "integer",
                                "format": "int64",
                                "description": "成功时为 100。"
                            },
                            "video_url": {
                                "type": "string",
                                "description": "仅 completed 时返回,有效期 24 小时。"
                            },
                            "created_at": {
                                "type": "integer",
                                "format": "int64",
                                "description": "Unix 秒。"
                            }
                        }
                    }
                }
            },
            "description": "任务已提交"
        },
        "400": {
            "content": {
                "application/json": {
                    "schema": {
                        "type": "object",
                        "properties": {
                            "error": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    },
                                    "param": {
                                        "type": "string"
                                    },
                                    "message": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "description": "请求错误"
        },
        "401": {
            "content": {
                "application/json": {
                    "schema": {
                        "type": "object",
                        "properties": {
                            "error": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    },
                                    "param": {
                                        "type": "string"
                                    },
                                    "message": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "description": "未授权"
        }
    },
    "parameters": [],
    "description": "### 创建万相 3.0 视频任务\n统一支持文生视频、图生视频(首帧 / 首尾帧)和参考生视频。\nprompt 与媒体素材至少提供其一。\n\n模式推断(未传 mode 且未传官方 media 时):\n- 有视频 / 音频 / file / link:参考生视频\n- 正好 1 或 2 张图:图生视频(第 1 张为首帧,第 2 张为尾帧)\n- 其他:参考生视频\n\nreference_* / file / link 与 first_frame / last_frame 互斥,不能混用。",
    "requestBody": {
        "content": {
            "application/json": {
                "schema": {
                    "type": "object",
                    "title": "创建万相 3.0 视频任务",
                    "$schema": "",
                    "required": [
                        "model",
                        "prompt"
                    ],
                    "properties": {
                        "file": {
                            "type": "string",
                            "description": "参考文件 URL。不可与 link 同时传。也可用 fileUrl。"
                        },
                        "link": {
                            "type": "string",
                            "description": "公开网页 URL。不可与 file 同时传。也可用 linkUrl。"
                        },
                        "mode": {
                            "enum": [
                                "image-to-video",
                                "reference-to-video"
                            ],
                            "type": "string",
                            "description": "未传 media 时生效。自动推导用什么mode"
                        },
                        "seed": {
                            "type": "integer",
                            "description": "随机种子,大于 0 时传给上游。范围 0 到 2147483647。"
                        },
                        "audio": {
                            "type": "boolean",
                            "default": true,
                            "description": "输出是否含音轨,默认 true。"
                        },
                        "media": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "required": [
                                    "type",
                                    "url"
                                ],
                                "properties": {
                                    "url": {
                                        "type": "string",
                                        "description": "公网 URL、OSS 临时 URL 或图像 Base64 data URI。"
                                    },
                                    "type": {
                                        "enum": [
                                            "first_frame",
                                            "last_frame",
                                            "reference_image",
                                            "reference_video",
                                            "reference_audio",
                                            "file",
                                            "link"
                                        ],
                                        "type": "string"
                                    }
                                }
                            },
                            "description": "官方格式媒体数组。传入后不再按 image_urls 等字段推断。reference_* / file / link 与 first_frame / last_frame / video_urls/ audio_urls / file / link 互斥。"
                        },
                        "model": {
                            "enum": [
                                "wan3.0-video",
                                "wan3.0-video-prime"
                            ],
                            "type": "string",
                            "examples": [
                                "wan3.0-video"
                            ]
                        },
                        "prompt": {
                            "type": "string",
                            "description": "文本提示词,中英文均可,最长 20000 字符。参考模式下可用「图1」「视频1」指代 media 顺序。"
                        },
                        "duration": {
                            "type": "integer",
                            "examples": [
                                5
                            ],
                            "description": "也支持字段名称 seconds。"
                        },
                        "watermark": {
                            "type": "boolean",
                            "default": false,
                            "description": "是否加水印,默认 false。"
                        },
                        "audio_urls": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            },
                            "maxItems": 5,
                            "description": "参考音频。最多 5 段。也可用 audioUrls、input_audio、audio_url。"
                        },
                        "image_urls": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            },
                            "maxItems": 10,
                            "description": "图片列表。也可用 imageUrls、images、input_reference、first_frame_url、last_frame_url。"
                        },
                        "resolution": {
                            "enum": [
                                "480P",
                                "720P",
                                "1080P"
                            ],
                            "type": "string",
                            "default": "1080P",
                            "description": "未识别时默认 1080P。"
                        },
                        "video_urls": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            },
                            "maxItems": 5,
                            "description": "参考视频。最多 5 段,总时长不超过 15 秒。也可用 videoUrls、input_video、video_url。"
                        },
                        "aspect_ratio": {
                            "enum": [
                                "adaptive",
                                "16:9",
                                "4:3",
                                "1:1",
                                "3:4",
                                "9:16"
                            ],
                            "type": "string",
                            "default": "adaptive",
                            "description": "也可用从 size 推导。无法识别时为 adaptive。"
                        },
                        "prompt_extend": {
                            "type": "boolean",
                            "default": true,
                            "description": "是否智能改写 prompt,默认 true。"
                        }
                    },
                    "description": "prompt 与媒体素材至少提供其一。也可直接传官方 input / parameters。",
                    "x-apifox-id": "505897644"
                }
            }
        },
        "required": true
    }
}

价格

价格组渠道计费项价格单位
default本站 AI 中转站durationCNY 0.45s
国产特价2本站 AI 中转站durationCNY 0.36s

服务级错误码参照(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) 具体错误代码

使用文档下载

  附件标题/下载链接 更新时间
 接口资料:POST /v1/videos(创建万相 3.0 视频任务)2026-09-09 15:29:05
 价格分组:default(CNY 0.45/s)2026-09-09 15:29:05
 价格分组:国产特价2(CNY 0.36/s)2026-09-09 15:29:05
 阶梯与倍率计费资料2026-09-09 15:29:05
 供应商令牌分组折扣资料2026-09-09 15:29:05
wan3.0-video
--
今日调用
--
成功率
--
近期调用

推荐API

  • gemini-3.8-flash-thinking-medium

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.7-flash-thinking-low

  • gemini-3.8-flash-thinking-low

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.7-flash-thinking-medium

  • gemini-3.8-flash-thinking-high

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。
  • gemini-3.8-flash

    Gemini 3.8 Flash 是我们最智能的 Flash 模型,专为长远软件工程、自主代理和复杂企业工作流程设计——所有这些都具备 Flash 的速度和成本效益。

API资讯

数 据 驱 动 未 来
Data Drives The Future
数 据 驱 动 未 来
Data Drives The Future