wan3.0-video
wan3.0-video 提供异步视频生成和统一 API 调用。支持文字、首尾帧、多模态参考以及公开文档或链接生成视频,提供 480P、720P、1080P 和 2–30 秒或智能时长。请按模型要求准备素材并保留参考顺序,创建一次任务后,通过公开任务 ID 查询状态与结果。任务 ID 仅用于追踪,成功后的视频 URL 才是实际媒体,应在 24 小时内保存。费用按阿里云北京官网原价除以 6.8 换算美元,不采用限时折扣。输入视频与输出视频秒数均计费。最终按实际输出时长结算,失败任务退款,现有分组折扣继续生效。

- 模型代码
- wan3.0-video
- 供应商
- Alibaba
- API 端点
- /v1/videos
- 计费
- 0.176470588235294118
- 更新时间
- 2026-10-27
能力
- 支持文字、首尾帧、多模态参考以及公开文档或链接生成视频,提供 480P、720P、1080P 和 2–30 秒或智能时长。
- 支持统一和原生异步接口,使用相同 API Key。
- 本地测量视频时长,冻结请求时单价,失败退款。
限制
- 结果链接有效期为 24 小时,请及时保存。
- 生成具有随机性,相同种子不保证完全相同的结果。
- audio=true 生成声音,false 不生成音轨;有声和静音同价。
典型场景
- 电影感广告和品牌叙事。
- 视觉分镜与参考素材驱动的创作。
- 需要任务轮询和美元费用跟踪的自动化视频工作流。
价格与计费示例
- 1080P with sound input video | 0.176470588235294118 | input_video_seconds | {"audio":true,"resolution_tier":"1080p"}
- 1080P silent input video | 0.176470588235294118 | input_video_seconds | {"audio":false,"resolution_tier":"1080p"}
- 480P with sound input video | 0.044117647058823529 | input_video_seconds | {"audio":true,"resolution_tier":"480p"}
- 480P silent input video | 0.044117647058823529 | input_video_seconds | {"audio":false,"resolution_tier":"480p"}
- 720P with sound input video | 0.088235294117647059 | input_video_seconds | {"audio":true,"resolution_tier":"720p"}
- 720P silent input video | 0.088235294117647059 | input_video_seconds | {"audio":false,"resolution_tier":"720p"}
- 1080P with sound output video | 0.176470588235294118 | output_video_seconds | {"audio":true,"resolution_tier":"1080p"}
- 1080P silent output video | 0.176470588235294118 | output_video_seconds | {"audio":false,"resolution_tier":"1080p"}
- 480P with sound output video | 0.044117647058823529 | output_video_seconds | {"audio":true,"resolution_tier":"480p"}
- 480P silent output video | 0.044117647058823529 | output_video_seconds | {"audio":false,"resolution_tier":"480p"}
- 720P with sound output video | 0.088235294117647059 | output_video_seconds | {"audio":true,"resolution_tier":"720p"}
- 720P silent output video | 0.088235294117647059 | output_video_seconds | {"audio":false,"resolution_tier":"720p"}
请求参数
| 参数 | 类型 | 必填 | 默认值 | 可选值 |
|---|---|---|---|---|
| model | string | 是 | ||
| prompt | textarea | 否 | ||
| images | asset_list | 否 | ||
| videos | asset_list | 否 | ||
| audios | asset_list | 否 | ||
| duration | integer | 否 | 5 | |
| resolution | select | 否 | 1080P | 480P, 720P, 1080P |
| seed | integer | 否 | ||
| prompt_extend | boolean | 否 | true | |
| audio | boolean | 否 | true | |
| watermark | boolean | 否 | false | |
| aspect_ratio | select | 否 | adaptive | adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
API 调用示例
cURL
curl -X POST 'https://api.uniall.ai/v1/videos' \
-H 'Authorization: Bearer $UNIALL_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"aspect_ratio":"adaptive","audio":true,"duration":5,"model":"wan3.0-video","prompt_extend":true,"resolution":"1080P","watermark":false}'Python
import json
import requests
payload = json.loads(r'''{"aspect_ratio":"adaptive","audio":true,"duration":5,"model":"wan3.0-video","prompt_extend":true,"resolution":"1080P","watermark":false}''')
response = requests.post(
"https://api.uniall.ai/v1/videos",
headers={"Authorization": "Bearer " + UNIALL_API_KEY},
json=payload,
)
response.raise_for_status()
result = response.json()JavaScript
const response = await fetch("https://api.uniall.ai/v1/videos", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNIALL_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({"aspect_ratio":"adaptive","audio":true,"duration":5,"model":"wan3.0-video","prompt_extend":true,"resolution":"1080P","watermark":false}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();常见问题
支持哪些接口?
POST /v1/videos 或 /v1/videos/generations;GET /v1/videos/{task_id}。原生 POST /api/v1/services/aigc/video-generation/video-synthesis,使用 X-DashScope-Async: enable,通过 GET /api/v1/tasks/{task_id} 查询。
输入素材和时长有何要求?
支持文字、首尾帧、多模态参考以及公开文档或链接生成视频,提供 480P、720P、1080P 和 2–30 秒或智能时长。
可以生成静音视频吗?
audio=true 生成声音,false 不生成音轨;有声和静音同价。
美元单价是多少?
480P 有声 $0.044117647059/s; 480P 静音 $0.044117647059/s; 720P 有声 $0.088235294118/s; 720P 静音 $0.088235294118/s; 1080P 有声 $0.176470588235/s; 1080P 静音 $0.176470588235/s。输入视频与输出视频秒数均计费。按官网原价除以 6.8 换算美元,不采用限时折扣,分组折扣继续生效。
任务 ID 是结果链接吗?
不是。任务 ID 用于查询;成功后的视频 URL 才是媒体结果,请在 24 小时内保存。
提交后不确定结果,可以直接重试吗?
不要自动重发状态不确定的付费提交。有任务 ID 时继续查询;未知提交应先确认状态,再决定是否创建新任务。