Wan 3.0 Prime
通过 Advanced Computing API 调用 Alibaba 的 Wan 3.0 Prime,一个 API key,预付费计价。
- 输入
- 文本
- 图像
- 视频
- 音频
- 厂商
- Alibaba
- 输出
- 视频
- 输入
- 文本 · 图像 · 视频 · 音频
与其他 Advanced Computing 模型共用同一套 API 和密钥。复制请求,填入你的密钥即可发送。
input 字段
mode 字段必填:它指定生成方式,每种模式有各自的字段。以 _url 或 _urls 结尾的字段是输入素材。
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
mode必填 | string | — | How to generate. Each mode takes its own fields. One of: text |
prompt必填 | string | — | What to generate, in natural language. 1 to 2000 characters |
duration可选 | integer | string | 5 | Length of the output video, in seconds, or `auto` to let the model choose. 2 to 30; or one of: auto |
resolution可选 | string | 1080p | Resolution of the output. One of: 480p, 720p, 1080p |
aspect_ratio可选 | string | — | Width to height ratio of the output. Left out, the model chooses. One of: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
generate_audio可选 | boolean | true | Whether the output video has sound. |
enhance_prompt可选 | boolean | true | Whether the model may rewrite the prompt in more detail before generating. |
seed可选 | integer | — | Fixes the random seed, so the same input repeats its output. 0 to 2147483647 |
mode必填string
How to generate. Each mode takes its own fields.
One of: text
prompt必填string
What to generate, in natural language.
1 to 2000 characters
duration可选integer | string = 5
Length of the output video, in seconds, or `auto` to let the model choose.
2 to 30; or one of: auto
resolution可选string = 1080p
Resolution of the output.
One of: 480p, 720p, 1080p
aspect_ratio可选string
Width to height ratio of the output. Left out, the model chooses.
One of: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
generate_audio可选boolean = true
Whether the output video has sound.
enhance_prompt可选boolean = true
Whether the model may rewrite the prompt in more detail before generating.
seed可选integer
Fixes the random seed, so the same input repeats its output.
0 to 2147483647
curl https://advanced-computing.com/api/v1/generations \
-H "Authorization: Bearer $AC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3-prime",
"input": {
"mode": "text",
"prompt": "A paper boat drifts down a rain-filled gutter at dusk",
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "16:9"
}
}'用你自己的参数试用这个模型。每次生成按标价从余额扣费。