Wan 3.0
Alibaba の Wan 3.0 を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- 画像
- 動画
- 音声
- プロバイダー
- Alibaba
- 出力
- 動画
- 入力
- テキスト · 画像 · 動画 · 音声
Wan 3.0 is billed per second of video, at a price set by the output resolution.
| Resolution | Per output second | Per input video second |
|---|---|---|
| 480p | $0.05 | $0.05 |
| 720p | $0.10 | $0.10 |
| 1080p | $0.20 | $0.20 |
- Seconds are billed to 0.01 s.
- Reference videos are billed per second at the same price as the output.
- Reference images and audio are free.
- Aspect ratio and sound don't change the price.
- With
autoduration, the model picks the length and you're billed for the video it returns. - A failed generation costs nothing.
実際の請求額は料金ページの価格に従います。 料金を見る
ほかの 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",
"input": {
"mode": "text",
"prompt": "A paper boat drifts down a rain-filled gutter at dusk",
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "16:9"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。