Seedream 5.0 Pro
ByteDance の Seedream 5.0 Pro を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- 画像
- プロバイダー
- ByteDance
- 出力
- 画像
- 入力
- テキスト · 画像
Seedream 5.0 Pro is billed per generated image, at a price set by the resolution you request.
| Resolution | Per image |
|---|---|
| 1K | $0.045 |
| 1.5K | $0.045 |
| 2K | $0.09 |
- Aspect ratio doesn't change the price: at a given resolution every aspect ratio has about the same number of pixels.
- The first reference image is free; each additional one costs $0.003.
- 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 |
resolution任意 | string | 1K | Resolution of the output. One of: 1K, 1.5K, 2K |
aspect_ratio任意 | string | 1:1 | Width to height ratio of the output. One of: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 |
output_format任意 | string | jpeg | File format of the output image. One of: png, jpeg |
prompt_optimization任意 | string | standard | How the model rewrites the prompt before generating: `standard` for quality, `fast` for lower latency. One of: standard, fast |
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
resolution任意string = 1K
Resolution of the output.
One of: 1K, 1.5K, 2K
aspect_ratio任意string = 1:1
Width to height ratio of the output.
One of: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9
output_format任意string = jpeg
File format of the output image.
One of: png, jpeg
prompt_optimization任意string = standard
How the model rewrites the prompt before generating: `standard` for quality, `fast` for lower latency.
One of: standard, fast
curl https://advanced-computing.com/api/v1/generations \
-H "Authorization: Bearer $AC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5-0-pro",
"input": {
"mode": "text",
"prompt": "A ceramic coffee cup on a linen tablecloth, morning light",
"resolution": "2K",
"aspect_ratio": "4:3"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。