Alibaba
API 当前可用视频生成480p / 720p / 1080p2–30 秒Wan 3.0 Prime API
使用阿里巴巴万相旗舰版 Wan 3.0 Prime,结合最多 10 张参考图与 5 段参考音频生成 2–30 秒、480p 至 1080p 高精细节有声视频。
- 模型 ID
wan-3.0-prime- 起步价
- $0.097/秒
- 免费试用
- 赠送 $0.20 额度(200 积分)
新账户赠送 $0.20 免费积分。
比较全部 Wan API 版本Wan 3.0 Prime 由 Alibaba 开发。Wizzx 提供 API 访问,不拥有该模型。所有商标归各自所有者所有。
需要首帧图片?可以先用这些模型生成:
模型指南
关于 Wan 3.0 Prime
使用阿里巴巴万相旗舰版 Wan 3.0 Prime,结合最多 10 张参考图与 5 段参考音频生成 2–30 秒、480p 至 1080p 高精细节有声视频。
为什么选择 Wan 3.0 Prime?
Wan 3.0 Prime 是阿里巴巴通义万相 3.0 系列的旗舰高阶档位,针对复杂多角色交互稳定性、精细材质光影纹理以及 2–30 秒长镜头下的音画同步表现进行了重点强化。
在 Wizzx 中,wan-3.0-prime 与标准版 wan-3.0 共享完全一致的请求参数协议,让你可以在 wan-3.0 完成分镜打磨后,零改动直接切换模型标识渲染旗舰品质成片。
| Wizzx 控件 | 当前行为 |
|---|---|
| 提示词 | 必填,1–20,000 个字符 |
| 首尾帧控制 | 可选 first_frame_image 与 last_frame_image(公网 http(s) URL;使用 last_frame_image 时必须提供 first_frame_image) |
| 参考图 | 可选 reference_image_urls(0–10 个公网 http(s) URL;与 first_frame_image 互斥),不额外收费 |
| 参考音频 | 可选 reference_audio_urls(0–5 个公网 http(s) 音频 URL),不额外收费 |
| 分辨率 | 480p、720p(默认)或 1080p(大小写不敏感) |
| 时长 | 2–30 秒的任意整数,默认 5 秒 |
| 音频 | generate_audio 默认为 true,包含在每秒费率中 |
| 宽高比 | adaptive(自适应,默认)、16:9、9:16、1:1、4:3 或 3:4 |
| 随机种子 | 可选整数,范围 0–2147483647 |
适合的工作流
- 商业广告与精品短剧母版: 交付对织物肌理、商品反光质感与多人动作连贯性要求严苛的
1080p最长 30 秒正片。 - Wan 3.0 两阶段协同管线: 前期在标准版
wan-3.0上调试提示词与参考图组合,定稿后原封不动复用请求体切换至wan-3.0-prime精渲。 - 高复杂度图文音融合: 在同一长脚本中稳定调度最多 10 张参考图与 5 段参考音频。
提示词建议
wan-3.0-prime 对细粒度时空描述响应更充分,建议在提示词中补充材质细节、光线方向、镜头焦段呼吸感以及逐节拍的台词或拟音设计。注意 first_frame_image 与 reference_image_urls 不可在同一请求中混用。
Wizzx 支持范围
Wizzx 每次请求返回一段无水印视频。resolution(480p、720p 或 1080p)决定 Prime 档每秒费率,duration(2–30)决定总时长扣费,首尾帧、参考图与参考音频均不收附加费;实时积分标准以后端 /pricing 目录为准。文档、网页及视频参考输入暂不开放。
资料来源
Wan 3.0 Prime API 生成示例
生成模型: Wan 3.0 Prime
含音频resolution: 720pduration: 5aspect_ratio: 16:9generate_audio: true提示词Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling.
Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling.
实时 API 价格
Wan 3.0 Prime API 价格
按档位透明计费,无订阅门槛,失败任务自动退还积分。
| 规格 | Wizzx 价格 |
|---|---|
480p
| 97 积分 / 秒 ≈ $0.097 / 秒 |
720p
| 194 积分 / 秒 ≈ $0.194 / 秒 |
1080p
| 388 积分 / 秒 ≈ $0.388 / 秒 |
1 积分 = $0.001 美元;最终扣费以 API 实际返回为准。
按秒计费(2–30 秒,默认 5 秒、720p);generate_audio 默认开启且与参考图/音频均不另收费
接入 Wan 3.0 Prime API
所有请求都是异步的:先提交任务并保存任务 ID,再轮询获取结果。下面的请求体使用该模型的默认设置。
- 1
获取 Wan 3.0 Prime API Key
登录后在控制台创建密钥,在服务端环境中设置 WIZZX_API_KEY,不要将密钥暴露在浏览器代码中。
- 2
提交任务
向模型接口发送 POST 请求。提交成功后返回 data.task_id,请保留该 ID 用于查询。提交成功不代表内容已经生成完成。
- 3
获取生成结果
将 YOUR_TASK_ID 替换为返回的任务 ID,查询 GET /api/v1/task/{task_id}。等待 SUCCEEDED 后读取输出 URL。遇到 FAILED 或 REVIEW_REQUIRED 时停止,不要自动重提状态不明的任务。
curl -X POST \
https://api.wizzx.ai/api/v1/task/submit/wan-3.0-prime \
-H "Authorization: Bearer $WIZZX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"aspect_ratio": "adaptive",
"prompt": "Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling."
}'const response = await fetch("https://api.wizzx.ai/api/v1/task/submit/wan-3.0-prime", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"aspect_ratio": "adaptive",
"prompt": "Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling."
}),
});
const payload = await response.json();
const task = payload.data ?? payload;
const taskId = task.task_id;import os
import requests
response = requests.post(
"https://api.wizzx.ai/api/v1/task/submit/wan-3.0-prime",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"resolution": "720p",
"duration": 5,
"generate_audio": True,
"aspect_ratio": "adaptive",
"prompt": "Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling."
},
)
payload = response.json()
task = payload.get("data", payload)
task_id = task["task_id"]curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
-H "Authorization: Bearer $WIZZX_API_KEY"const response = await fetch("https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID", {
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
},
});
const payload = await response.json();
const task = payload.data ?? payload;
// Poll until task.status is SUCCEEDED, then read task.result_urls (stop on FAILED or REVIEW_REQUIRED)import os
import requests
response = requests.get(
"https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
)
payload = response.json()
task = payload.get("data", payload)
# Poll until task["status"] == "SUCCEEDED", then read task["result_urls"] (stop on FAILED or REVIEW_REQUIRED)Wan 3.0 Prime API 参数
Wizzx 上该接口接受的字段,与 Playground 表单使用同一份 schema。
| 参数 | 类型 | 默认值 | 可选值 | 说明 |
|---|---|---|---|---|
prompt提示词必填 | string | — | ≤ 20,000 | 描述你想生成的视频 |
first_frame_image首帧 | url | — | — | 可选首帧图片链接(与参考图互斥)。 |
last_frame_image尾帧图片 | url | — | — | 可选尾帧图片链接(需同时提供首帧)。 |
reference_image_urls参考图 | url[] ≤ 10 | — | — | 可选。最多 10 张参考图(与首帧互斥);参考图不另收费。 |
reference_audio_urls参考音频 | url[] ≤ 5 | — | — | 可选。最多 5 段参考音频;参考音频不另收费。 |
duration时长 | integer | 5 | 2 – 30 | 视频时长(秒),时长决定总价。 |
resolution分辨率 | string | 720p | 480p · 720p · 1080p | 分辨率决定每秒费率。 |
generate_audio生成音频 | boolean | true | — | 默认生成音频,且不影响价格。 |
aspect_ratio宽高比 | string | adaptive | adaptive · 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | — |
seed随机种子 | integer | — | 0 – 2147483647 | 用于复现结果的随机种子 |
比较 Wan API 各版本
Wizzx 上可调用的全部 7 个 Wan 版本,价格为各版本最低档位。
| 版本 | 模式 | 输出 | 价格 |
|---|---|---|---|
wan-2.7-image | 文生图 · 图像编辑 | 1K2K | $0.034/张 |
wan-2.7-image-pro | 文生图 · 图像编辑 | 1K2K4K | $0.084/张 |
wan-2.6-flash | 图生视频 | 720p1080p2–15 秒 | $0.033/秒 |
wan-3.0 | 文/图生视频 | 480p720p1080p2–30 秒 | $0.065/秒 |
Wan 3.0 Prime当前型号 wan-3.0-prime | 文/图生视频 | 480p720p1080p2–30 秒 | $0.097/秒 |
wan-2.7 | 文/图生视频 | 720p1080p2–15 秒 | $0.124/秒 |
wan-2.2-speech-to-video | 图像 + 语音生视频 | 480p580p720p3–7 秒 | $0.093/秒 |
API 接入常见问题
- Wan 3.0 Prime API 多少钱?
- 在 Wizzx 上,Wan 3.0 Prime API $0.097/秒 起(97 积分)。上方每个档位都列出了参数与计费单位,失败任务会退还积分。
- Wan 3.0 Prime API 的模型 ID 是什么?
- wan-3.0-prime。使用 API Key 向 POST /api/v1/task/submit/wan-3.0-prime 提交任务。
- 任务失败会扣费吗?
- 不会。提交任务时预留积分,任务失败会退还,只有成功的任务才计费。
- 可以免费试用 Wan 3.0 Prime API 吗?
- 可以。新账户赠送 $0.20 免费积分,按起步价约可生成 2 秒视频。
- 这是官方的 Wan 3.0 Prime API 吗?
- 不是。Wan 3.0 Prime 模型由 Alibaba 开发。Wizzx 是独立的 API 平台,通过一个 API Key、异步任务接口和按量计费的积分提供调用。
- 提交响应中会直接返回生成文件吗?
- 生成采用异步流程。提交响应标识任务,查询状态直到完成后再读取结果中的输出 URL。响应字段与错误处理请参考对应 API 文档。
Wizzx API
开始使用 Wan 3.0 Prime API
新账户赠送 $0.20 免费积分。按量付费,无需订阅,失败任务自动退款。