wan3.0-video-prime

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

A suspended glass prism contains layered mountain and lake landscapes in a dark gallery.
模型代码
wan3.0-video-prime
供应商
Alibaba
API 端点
/v1/videos
计费
0.264705882352941176
更新时间
2026-10-27

能力

  • Wan 3.0 的 Prime 版本支持多模态输入、智能时长和声音开关,输出为 2–30 秒,支持 480P、720P、1080P。
  • 支持统一和原生异步接口,使用相同 API Key。
  • 本地测量视频时长,冻结请求时单价,失败退款。

限制

  • 结果链接有效期为 24 小时,请及时保存。
  • 生成具有随机性,相同种子不保证完全相同的结果。
  • audio=true 生成声音,false 不生成音轨;有声和静音同价。

典型场景

  • 电影感广告和品牌叙事。
  • 视觉分镜与参考素材驱动的创作。
  • 需要任务轮询和美元费用跟踪的自动化视频工作流。

价格与计费示例

  • 1080P with sound input video | 0.264705882352941176 | input_video_seconds | {"audio":true,"resolution_tier":"1080p"}
  • 1080P silent input video | 0.264705882352941176 | input_video_seconds | {"audio":false,"resolution_tier":"1080p"}
  • 480P with sound input video | 0.066176470588235294 | input_video_seconds | {"audio":true,"resolution_tier":"480p"}
  • 480P silent input video | 0.066176470588235294 | input_video_seconds | {"audio":false,"resolution_tier":"480p"}
  • 720P with sound input video | 0.132352941176470588 | input_video_seconds | {"audio":true,"resolution_tier":"720p"}
  • 720P silent input video | 0.132352941176470588 | input_video_seconds | {"audio":false,"resolution_tier":"720p"}
  • 1080P with sound output video | 0.264705882352941176 | output_video_seconds | {"audio":true,"resolution_tier":"1080p"}
  • 1080P silent output video | 0.264705882352941176 | output_video_seconds | {"audio":false,"resolution_tier":"1080p"}
  • 480P with sound output video | 0.066176470588235294 | output_video_seconds | {"audio":true,"resolution_tier":"480p"}
  • 480P silent output video | 0.066176470588235294 | output_video_seconds | {"audio":false,"resolution_tier":"480p"}
  • 720P with sound output video | 0.132352941176470588 | output_video_seconds | {"audio":true,"resolution_tier":"720p"}
  • 720P silent output video | 0.132352941176470588 | output_video_seconds | {"audio":false,"resolution_tier":"720p"}

请求参数

参数类型必填默认值可选值
modelstring是
prompttextarea否
imagesasset_list否
videosasset_list否
audiosasset_list否
durationinteger否5
resolutionselect否1080P480P, 720P, 1080P
seedinteger否
prompt_extendboolean否true
audioboolean否true
watermarkboolean否false
aspect_ratioselect否adaptiveadaptive, 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-prime","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-prime","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-prime","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} 查询。

输入素材和时长有何要求?

Wan 3.0 的 Prime 版本支持多模态输入、智能时长和声音开关,输出为 2–30 秒,支持 480P、720P、1080P。

可以生成静音视频吗?

audio=true 生成声音,false 不生成音轨;有声和静音同价。

美元单价是多少?

480P 有声 $0.066176470588/s; 480P 静音 $0.066176470588/s; 720P 有声 $0.132352941176/s; 720P 静音 $0.132352941176/s; 1080P 有声 $0.264705882353/s; 1080P 静音 $0.264705882353/s。输入视频与输出视频秒数均计费。按官网原价除以 6.8 换算美元,不采用限时折扣,分组折扣继续生效。

任务 ID 是结果链接吗?

不是。任务 ID 用于查询;成功后的视频 URL 才是媒体结果,请在 24 小时内保存。

提交后不确定结果,可以直接重试吗?

不要自动重发状态不确定的付费提交。有任务 ID 时继续查询;未知提交应先确认状态,再决定是否创建新任务。