Wan 3.0 Video API
阿里巴巴万向3.0一体化参考视频模型。文本、第一帧、第一帧+最后一帧、多模式参考(图像、视频、音频)和文档或网页参考,480p/720p/1080p 时 2-30 秒。
- 文本转视频
- 图像转视频
Wan 3.0 Video 在线试用
输入
Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type.
Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10).
Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds.
Reference audio, up to 5 clips of 1-15s each (total <= 15s).
Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied.
Public, login-free web page to turn into a video. Cannot be combined with fileUrl.
运行费用将从您的余额中扣除。
输出

输出将显示在此处。
填写参数、确认费用并运行模型,结果将在此处显示。在浏览器中试用无需单独创建 API 密钥。
快速开始
完整 API 参考 →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "wan3.0-video",6 "input": {7 "size": "adaptive",8 "resolution": "480p",9 "duration": 5,10 "audio": true11 }12 }'
参数
| 名称 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
prompt | string | 否 | — | Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type. |
imageUrls | string[] | 否 | — | Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10). |
imageWithRoles | object[] | 否 | — | Images with explicit roles. Use this when you need first/last frame or reference images stated outright rather than inferred from order. |
videoUrls | string[] | 否 | — | Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds. |
audioUrls | string[] | 否 | — | Reference audio, up to 5 clips of 1-15s each (total <= 15s). |
fileUrl | string | 否 | — | Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied. |
linkUrl | string | 否 | — | Public, login-free web page to turn into a video. Cannot be combined with fileUrl. |
generationType | string | 否 | — | How bare imageUrls are classified: frame (first/last frame) or reference. Omit to let it be inferred — reference when the request already carries reference-family inputs, frame otherwise.以下之一:frame, reference |
size | string | 否 | adaptive | Aspect ratio. `adaptive` lets the model pick one from the inputs.以下之一:adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 |
resolution | string | 否 | 480p | Output resolution. Each tier is billed at its own per-second rate, so 1080p costs four times 480p for the same duration.以下之一:480p, 720p, 1080p |
duration | number | 否 | 5 | Duration in seconds (2-30). Billing is per second at the resolution's rate. With reference videos, total input video duration plus this value must be at most 30 seconds. |
audio | boolean | 否 | true | Include an audio track in the output. |
seed | number | 否 | — | Random seed for controlling randomness |
常见问题
Wan 3.0 Video 的费用是多少?
Wan 3.0 Video 通过 API Stock API 的起价为 $0.047 每秒输出。您按使用量从单个预付余额中支付——无需订阅——最终价格会根据分辨率或时长等参数浮动。
Wan 3.0 Video 是什么时候发布的?
Wan 3.0 Video 于 2026年8月24日 发布。它可以通过 API Stock API 使用,与其他所有模型共用同一个 API 密钥和预付余额。
如何获取 Wan 3.0 Video 的 API 密钥?
注册 API Stock 账号,使用可用的付款方式充值,然后在控制台创建 API 密钥即可,整个过程只需几分钟,无需签订合同。同一个密钥可调用目录中的所有模型,因此无需为 Wan 3.0 Video 单独申请密钥。
如何调用 Wan 3.0 Video API?
向 https://api.api-stock.com/api/v1/generation/create 发送 POST 请求,并附上您的 API 密钥和模型 ID "wan3.0-video"。请求会返回一个任务 ID,您可以轮询该 ID;或者在结果准备就绪时通过 webhook 回调通知。上方的快速开始部分提供了一个可直接运行的示例。
Wan 3.0 Video 接受哪些输入参数?
Wan 3.0 Video 接受 13 个输入参数。参数表中列出了它们的类型、默认值和允许值。
如果 Wan 3.0 Video 请求失败,会发生什么?
API Stock 会自动在备用提供商上重试请求。如果所有提供商都失败,费用会退还至您的余额。
我可以使用与其他模型相同的 API 密钥来调用 Wan 3.0 Video 吗?
可以。API Stock 上的每个模型——视频、图像、音乐和聊天——共享一个 API 密钥和一个预付余额,因此您无需新的凭据即可切换到 Wan 3.0 Video。
其他 视频 模型
- Agnes Video 2.5Agnes AI$0.023/ 秒
- Seedance 2.0 MiniByteDance$0.023/ 秒
- PixVerse V6PixVerse$0.024/ 次生成
- Seedance 2.0 FastByteDance$0.057/ 秒
- FLUX 3 VideoBlack Forest Labs$0.06/ 秒
- Kling 3.0 Motion ControlKling$0.065/ 秒
- Seedance 1.5 ProByteDance$0.065/ 次生成
- Wan 3.0 Video PrimeAlibaba$0.066/ 秒
- Wan 2.7 VideoAlibaba$0.086/ 秒
