wan2.6-r2v-flash
wan2.6-r2v-flash 提供异步视频生成和统一 API 调用。支持 1–5 个有序参考素材,其中最多 3 段视频,生成 2–10 秒的 720P 或 1080P 视频。Flash 版本支持有声与静音两种计价档位。请按模型要求准备素材并保留参考顺序,创建一次任务后,通过公开任务 ID 查询状态与结果。任务 ID 仅用于追踪,成功后的视频 URL 才是实际媒体,应在 24 小时内保存。费用按阿里云北京官网原价除以 6.8 换算美元,不采用限时折扣。输出视频和截断后的参考视频秒数计费,输入图片免费。最终按实际输出时长结算,失败任务退款,现有分组折扣继续生效。

- 模型代码
- wan2.6-r2v-flash
- 供应商
- Alibaba
- API 端点
- /v1/videos
- 计费
- 0.073529411764705882
- 更新时间
- 2026-10-27
能力
- 支持 1–5 个有序参考素材,其中最多 3 段视频,生成 2–10 秒的 720P 或 1080P 视频。Flash 版本支持有声与静音两种计价档位。
- 支持统一和原生异步接口,使用相同 API Key。
- 本地测量视频时长,冻结请求时单价,失败退款。
限制
- 结果链接有效期为 24 小时,请及时保存。
- 生成具有随机性,相同种子不保证完全相同的结果。
- audio=true 为有声,false 为静音;Flash 静音使用更低单价。
典型场景
- 电影感广告和品牌叙事。
- 视觉分镜与参考素材驱动的创作。
- 需要任务轮询和美元费用跟踪的自动化视频工作流。
价格与计费示例
- 1080P with sound billable reference video | 0.073529411764705882 | input_video_seconds | {"audio":true,"resolution_tier":"1080p"}
- 1080P silent billable reference video | 0.036764705882352941 | input_video_seconds | {"audio":false,"resolution_tier":"1080p"}
- 720P with sound billable reference video | 0.044117647058823529 | input_video_seconds | {"audio":true,"resolution_tier":"720p"}
- 720P silent billable reference video | 0.022058823529411765 | input_video_seconds | {"audio":false,"resolution_tier":"720p"}
- 1080P with sound output video | 0.073529411764705882 | output_video_seconds | {"audio":true,"resolution_tier":"1080p"}
- 1080P silent output video | 0.036764705882352941 | output_video_seconds | {"audio":false,"resolution_tier":"1080p"}
- 720P with sound output video | 0.044117647058823529 | output_video_seconds | {"audio":true,"resolution_tier":"720p"}
- 720P silent output video | 0.022058823529411765 | output_video_seconds | {"audio":false,"resolution_tier":"720p"}
请求参数
| 参数 | 类型 | 必填 | 默认值 | 可选值 |
|---|---|---|---|---|
| model | string | 是 | ||
| prompt | textarea | 是 | ||
| images | asset_list | 否 | ||
| videos | asset_list | 否 | ||
| duration | integer | 否 | 5 | |
| resolution | select | 否 | 1080P | 720P, 1080P |
| seed | integer | 否 | ||
| prompt_extend | boolean | 否 | true | |
| audio | boolean | 否 | true | |
| watermark | boolean | 否 | false | |
| aspect_ratio | select | 否 | 16:9 | 16:9, 4:3, 1:1, 3:4, 9:16 |
| negative_prompt | textarea | 否 |
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":"16:9","audio":true,"duration":5,"model":"wan2.6-r2v-flash","prompt":"Describe the output you want","prompt_extend":true,"resolution":"1080P","watermark":false}'Python
import json
import requests
payload = json.loads(r'''{"aspect_ratio":"16:9","audio":true,"duration":5,"model":"wan2.6-r2v-flash","prompt":"Describe the output you want","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":"16:9","audio":true,"duration":5,"model":"wan2.6-r2v-flash","prompt":"Describe the output you want","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} 查询。
输入素材和时长有何要求?
支持 1–5 个有序参考素材,其中最多 3 段视频,生成 2–10 秒的 720P 或 1080P 视频。Flash 版本支持有声与静音两种计价档位。
可以生成静音视频吗?
audio=true 为有声,false 为静音;Flash 静音使用更低单价。
美元单价是多少?
720P 有声 $0.044117647059/s; 720P 静音 $0.022058823529/s; 1080P 有声 $0.073529411765/s; 1080P 静音 $0.036764705882/s。输出视频和截断后的参考视频秒数计费,输入图片免费。按官网原价除以 6.8 换算美元,不采用限时折扣,分组折扣继续生效。
任务 ID 是结果链接吗?
不是。任务 ID 用于查询;成功后的视频 URL 才是媒体结果,请在 24 小时内保存。
提交后不确定结果,可以直接重试吗?
不要自动重发状态不确定的付费提交。有任务 ID 时继续查询;未知提交应先确认状态,再决定是否创建新任务。
参考视频输入时长如何计费?
分摊时统计参考图和参考视频,独立首帧不计入。每段视频分别截断后累加:1/2/3/4/5 个素材对应每段最多 5/2.5/1.65/1.25/1 秒,不是直接截断总时长。