跳转到主要内容

Wan 视频

Wan 系列当前对外优先使用阿里百炼兼容协议:
  • POST /alibailian/api/v1/services/aigc/video-generation/video-synthesis
  • GET /alibailian/api/v1/tasks/{task_id}
完整请求体和任务查询格式请查看 阿里百炼视频接口。本页只收口当前首批对外开放的 Wan 模型、能力和计费口径。

首批模型

模型对客能力官方计费口径当前状态
wan2.5-t2v-preview文生视频按秒已验证
wan2.5-i2v-preview图生视频按秒已验证
wan2.2-t2v-plus文生视频按秒已验证
wan2.2-i2v-plus图生视频按秒已验证
wan2.2-i2v-flash图生视频按秒已验证
wan2.2-kf2v-flash首尾帧生视频按秒Beta
wan2.2-s2v主体参考生视频按秒Beta
wan2.2-kf2v-flashwan2.2-s2v 已经完成代码和计费能力桶对齐,但当前 live artifact 还在继续补齐,所以先保留 Beta 标记。

能力与官方价格

模型能力桶分辨率官方单价
wan2.5-t2v-preview文生视频480P / 720P / 1080P¥0.30 / ¥0.60 / ¥1.00 / 秒
wan2.5-i2v-preview图生视频480P / 720P / 1080P¥0.30 / ¥0.60 / ¥1.00 / 秒
wan2.2-t2v-plus文生视频480P / 1080P¥0.14 / ¥0.70 / 秒
wan2.2-i2v-plus图生视频480P / 1080P¥0.14 / ¥0.70 / 秒
wan2.2-i2v-flash图生视频480P / 720P / 1080P¥0.10 / ¥0.20 / ¥0.48 / 秒
wan2.2-kf2v-flash首尾帧生视频480P / 720P / 1080P¥0.10 / ¥0.20 / ¥0.48 / 秒
wan2.2-s2v主体参考生视频480P / 720P¥0.50 / ¥0.90 / 秒

协议约定

1. 文生视频

  • 重点字段:modelinput.promptparameters.resolutionparameters.duration
  • 典型模型:wan2.5-t2v-previewwan2.2-t2v-plus

2. 图生视频

  • 重点字段:input.img_url
  • 典型模型:wan2.5-i2v-previewwan2.2-i2v-pluswan2.2-i2v-flash

3. 首尾帧生视频

  • 重点字段:input.first_frame_urlinput.last_frame_url
  • 典型模型:wan2.2-kf2v-flash

4. 主体参考生视频

  • 重点字段:input.image_url
  • 典型模型:wan2.2-s2v

请求示例

图生视频

cURL
curl -X POST https://crazyrouter.com/alibailian/api/v1/services/aigc/video-generation/video-synthesis \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "wan2.5-i2v-preview",
    "input": {
      "prompt": "让画面中的人物转头看向镜头",
      "img_url": "https://example.com/first-frame.png"
    },
    "parameters": {
      "resolution": "720P",
      "duration": 5,
      "prompt_extend": true,
      "audio": true
    }
  }'

首尾帧生视频

{
  "model": "wan2.2-kf2v-flash",
  "input": {
    "prompt": "镜头从白天平滑过渡到夜晚",
    "first_frame_url": "https://example.com/frame-start.png",
    "last_frame_url": "https://example.com/frame-end.png"
  },
  "parameters": {
    "resolution": "720P",
    "duration": 5
  }
}

主体参考生视频

{
  "model": "wan2.2-s2v",
  "input": {
    "prompt": "让参考人物自然说话并有轻微头部动作",
    "image_url": "https://example.com/portrait.png",
    "audio_url": "https://example.com/voice.mp3"
  },
  "parameters": {
    "resolution": "720P",
    "duration": 5
  }
}

任务取回

Wan 当前仍是异步任务模型。客户创建任务后,需要使用:
GET /alibailian/api/v1/tasks/{task_id}
output.task_status 进入成功态后,从 output.video_url 获取最终视频结果。

边界说明

  • 本页对客协议以阿里百炼兼容路径为主,不再延续旧的 Fal 专属路径说明。
  • Crazyrouter 内部可以把官方、ApiPass、Kie 或其他第三方作为 provider,但这些 provider 不单独定义客户协议。
  • 当前 Beta 行可以先对客展示;上线后应结合生产任务日志继续补 live evidence,成功闭环后再去掉 Beta 标记。