1. Wan
2api.asia
  • AI 网关
    • Antigravity
      • GET /antigravity/models
      • POST /antigravity/v1/messages
      • POST /antigravity/v1/messages/count_tokens
      • GET /antigravity/v1/models
      • GET /antigravity/v1/usage
      • GET /antigravity/v1beta/models
      • GET /antigravity/v1beta/models/:model
      • POST /antigravity/v1beta/models/:modelAction
    • OpenAI 与 Claude 兼容
      • POST /chat/completions
      • GET /backend-api/codex/responses
      • POST /images/edits
      • POST /backend-api/codex/responses
      • POST /images/generations
      • POST /backend-api/codex/responses/:subpath
      • POST /v1/chat/completions
      • POST /v1/images/edits
      • POST /v1/images/generations
      • POST /v1/messages
      • GET /responses
      • POST /v1/messages/count_tokens
      • POST /responses
      • GET /v1/models
      • POST /responses/:subpath
      • GET /v1/usage
      • GET /v1beta/models
      • GET /v1beta/models/:model
      • POST /v1beta/models/:modelAction
      • GET /v1/responses
      • POST /v1/responses
      • POST /v1/responses/:subpath
      • POST /v1/services/aigc/:dashscope_path
    • 阿里百炼
      • HappyHorse
        • 文生视频
        • 图生视频-首帧
        • 参考生视频
      • Wan
        • 文生视频
          POST
        • 图生视频
          POST
        • 参考生视频
          POST
      • 查询任务结果
        GET
  • Markdown 页面
    • GET /api/v1/pages
      GET
    • GET /api/v1/pages/:slug
      GET
    • GET /api/v1/pages/:slug/images/:filename
      GET
  • 常见问题
    • 怎么成为商家?
首页
  1. Wan

参考生视频

POST
/v1/services/aigc/video-generation/video-synthesis
API参数参考:https://help.aliyun.com/zh/model-studio/wan-video-to-video-api-reference

请求参数

Authorization
JWT Bearer
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Header 参数

Body 参数application/json

示例

返回响应

🟢200
application/json
Bodyapplication/json

🟠400
🟠401
🟠403
🔴500
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://103.112.1.223:8080/v1/services/aigc/video-generation/video-synthesis' \
--header 'X-DashScope-Async: enable' \
--header 'Authorization: Bearer  <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "wan2.7-r2v",
    "input": {
        "prompt": "视频1抱着图3,在图4的椅子上弹奏一支舒缓的乡村民谣,并说道:“今天的阳光真好。”图1手中拿着图2,路过视频1,把手中的图2放到视频1旁边的桌子上,并说道:“真好听,能不能再唱一遍”。",
        "media": [
            {
                "type": "reference_image",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260408/sjuytr/wan-r2v-object-girl.jpg",
                "reference_voice": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260408/gbqewz/wan-r2v-girl-voice.mp3"
            },
            {
                "type": "reference_video",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/qigswt/wan-r2v-role2.mp4",
                "reference_voice": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260408/isllrq/wan-r2v-boy-voice.mp3"
            },
            {
                "type": "reference_image",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/rtjeqf/wan-r2v-object3.png"
            },
            {
                "type": "reference_image",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/qpzxps/wan-r2v-object4.png"
            },
            {
                "type": "reference_image",
                "url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/wfjikw/wan-r2v-backgroud5.png"
            }
        ]
    },
    "parameters": {
        "resolution": "720P",
        "ratio": "16:9",
        "duration": 10,
        "prompt_extend": false,
        "watermark": true
    }
}'
响应示例响应示例
200 - 成功示例
{
    "output": {
        "task_status": "PENDING",
        "task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
    },
    "request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}
修改于 2026-07-08 05:29:52
上一页
图生视频
下一页
查询任务结果
Built with