
Premium Seedream image model that splits one image into editable layers, edits by coordinate or sketch marker, and fuses up to 10 references.
Premium Seedream image model that splits one image into editable layers, edits by coordinate or sketch marker, and fuses up to 10 references.
別名 ByteDance Seedream 5.0 Pro
seedream-5-0-pro/v1/images/generationsbytedance/dola-seedream-5-0-pro-260628bytedance/seedream-5-0-probyteplus/dola-seedream-5-0-pro-260628byteplus/seedream-5-0-prodola-seedream-5-0-pro-260628seedream-5-0-pro-260628seedream-5-proseedream-5.0-proEmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。
Seedream 5.0 Pro は POST /v1/images/generations で動作します。リクエストはすぐに job_id を返すので、ジョブが完了するまで GET /v1/jobs/{job_id} をポーリングし、結果から出力 URL を読み取ってください。 また、"sync": true を追加するとポーリングを省略できます。リクエストは開いたまま OpenAI 形式の完成した画像レスポンスを直接返すため、OpenAI SDK がそのまま動作します。 EmpirioLabs ダッシュボードで API キーを取得してください。
curl https://api.empiriolabs.ai/v1/images/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5-0-pro",
"prompt": "Describe what you want Seedream 5.0 Pro to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/images/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "seedream-5-0-pro",
"prompt": "Describe what you want Seedream 5.0 Pro to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)EmpirioLabs 上の Seedream 5.0 Pro API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。
| パラメータ | タイプ | デフォルト | 範囲 / 値 | 説明 |
|---|---|---|---|---|
| prompt | string | - | - | テキストプロンプト。画像を添付すると、編集や融合の指示になります。 |
| image | array | - | - | Reference image URL, data URI, or uploaded image object. Seedream 5.0 Pro supports up to 10 reference images, and exactly one for layer decomposition or a... |
| images | array | - | - | 画像用の別名。複数のアップロード画像参照に使ってください。 |
| aspect_ratio | enum | auto | auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 | オートはモデルが選択した解像度階層内で寸法を選択できるようにします。明示的な比率はその階層のプリセットサイズを使用します。 |
| layer_decomposition | boolean | false | - | Split one input image into a base image plus up to 16 transparent PNG layers, each returned with its stacking order, its position in the base image, a name, and a... |
| prompt_optimization_mode | enum | standard | standard, fast | Standardは迅速な遵守と画像品質を優先します。高速で生成遅延を減らし、画質もわずかに低くなります。 |
| quality | enum | 2K | 1K, 1.5K, 2K | Seedream Pro resolution tier. 1.5K has the same price as 1K and provides higher resolution. Defaults to 2K. In layer decomposition, leaving this unset matches the... |
| size | string | - | - | Resolution tier or explicit pixel size such as 1K, 1.5K, 2K, or 2048x1152. Explicit pixels override aspect_ratio and quality. Layer decomposition accepts tiers or... |
| size | string | - | - | Resolution tier or explicit pixel size such as 1K, 1.5K, 2K, or 2048x1152. Explicit pixels override aspect_ratio and quality. Layer decomposition accepts tiers or... |
| use_custom_size | boolean | false | - | プリセットaspect_ratioや品質ではなく、custom_widthとcustom_heightを使いましょう。 |
| custom_width | number | - | 15 から 8600 | ピクセル単位のカスタム出力幅。総面積は[0.92MP, 4.62MP]で、アスペクトは[1:16、16:1]でなければなりません。 |
| custom_height | number | - | 15 から 8600 | ピクセル単位のカスタム出力高さ。総面積は[0.92MP, 4.62MP]で、アスペクトは[1:16、16:1]でなければなりません。 |
| watermark | boolean | false | - | 有効化すると、生成画像にはAI生成の由来透かしが含まれています。EmpirioLabsは別のウォーターマークを追加しません。 |
| output_format | enum | png | jpeg, png | Output image file format. In layer decomposition this sets the base image format, and layers are always returned as PNG. |
Mark the region to change directly on the input image with a sketch, circle, or arrow, then describe it in the prompt. For exact placement, use coordinate tags on a 0 to 1000 normalized grid:
Place the subject from image 1 <bbox>179 283 796 986</bbox> at the position in image 2 <bbox>118 331 933 871</bbox>.Set layer_decomposition to true with exactly one input image to split it into a base image plus up to 16 transparent PNG layers. Every returned image carries its stacking order as z_index, and each layer also carries its position in the base image as bounding_box.absolute and bounding_box.normalized, plus a name and a description. Leave the prompt empty to let the model choose the elements, or name the elements or coordinate regions to separate. Resolution accepts 1K, 1.5K, or 2K, and matches the input image when unset.
Layer decomposition bills every returned image, the base image and each layer, at half the standard per-image rate, tiered on the pixel count of that image.
Generated images pass an automated content-safety check. An image flagged as explicit is not returned. Because the image is generated before the check runs, a flagged generation is still billed.
EmpirioLabs では Seedream 5.0 Pro は従量課金です: 最大2.61MP $0.075 イメージ; 出力2.61MP以上 $0.150 イメージ; Layer decomposition up to 2.61MP $0.0375 per image。このページのライブ料金表は常に API の請求額と一致します。
Seedream 5.0 Pro は api.empiriolabs.ai 上の POST /v1/images/generations で提供され、標準的な Bearer トークン認証を使用します。
はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで Seedream 5.0 Pro をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。