
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-pro来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。
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 | 标准优先考虑迅速遵守和图像质量。 快速降低生成潜伏度,图像质量略低. |
| 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 | - | 用custom_width和custom_height代替预设aspect_ratio和画质。 |
| 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 Playground在浏览器中以与 API 相同的参数运行 Seedream 5.0 Pro,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。