Seedance 2.5
ByteDance の Seedance 2.5 を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- 画像
- 動画
- 音声
- プロバイダー
- ByteDance
- 出力
- 動画
- 入力
- テキスト · 画像 · 動画 · 音声
Seedance 2.5 is billed in tokens, counted the way ByteDance counts them:
tokens ≈ (reference-video seconds + output seconds) × width × height × frames per second ÷ 1024
You pay for the tokens the generation actually used, which follow the frames it delivered. The price per million tokens depends on the resolution and on whether you send a reference video:
| Request | 480p and 720p | 1080p |
|---|---|---|
| Without a reference video | $10.70 | $11.70 |
| With a reference video | $6.40 | $7.00 |
Examples at 24 frames per second:
| Video | Tokens | Cost |
|---|---|---|
| 5 s, 480p, 16:9 (854 × 480) | 48,038 | $0.51 |
| 5 s, 720p, 16:9 (1280 × 720) | 108,000 | $1.16 |
| 5 s, 720p, 1:1 (960 × 960) | 108,000 | $1.16 |
| 5 s, 1080p, 16:9 (1920 × 1080) | 243,000 | $2.84 |
| 5 s, 720p, 16:9, with a 5 s reference video | 216,000 | $1.38 |
- At one resolution, every aspect ratio has about the same number of pixels, so the ratio barely changes the price.
- Reference videos count toward the tokens, up to 30 seconds in total. With a reference video there is a minimum token charge, so a short edit can cost more than the formula gives.
- With
durationset toautothe model picks the length, and you pay for the length it delivers. - Reference images and reference audio are free, and
generate_audiodoes not change the price. - The amount held when you submit is an estimate; the final cost can be a little higher or lower.
- 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 | auto | Length of the output video, in seconds, or `auto` to let the model choose. 4 to 30; or one of: auto |
resolution任意 | string | 720p | 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: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
generate_audio任意 | boolean | true | Whether the output video has sound. |
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 = auto
Length of the output video, in seconds, or `auto` to let the model choose.
4 to 30; or one of: auto
resolution任意string = 720p
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: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
generate_audio任意boolean = true
Whether the output video has sound.
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": "seedance-2-5",
"input": {
"mode": "text",
"prompt": "A dancer spins under a spotlight, the camera circles her",
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "9:16"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。