
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.
Também conhecido como 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-proTarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.
Seedream 5.0 Pro roda por POST /v1/images/generations. A requisição retorna um job_id na hora; consulte GET /v1/jobs/{job_id} até o job terminar e leia as URLs de saída do resultado. Ou adicione "sync": true para pular o polling: a requisição fica aberta e retorna direto a resposta de imagem no estilo OpenAI, então SDKs OpenAI funcionam sem mudanças. Obtenha uma chave de API no painel EmpirioLabs.
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)Parâmetros de requisição suportados pela API Seedream 5.0 Pro na EmpirioLabs. Os padrões valem quando um campo é omitido.
| Parâmetro | Tipo | Padrão | Intervalo / valores | Descrição |
|---|---|---|---|---|
| prompt | string | - | - | Mensagem de texto. Com a imagem anexada, torna-se uma instrução de edição ou fusão. |
| 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 | - | - | Nome de imagem. Use isso para múltiplas referências de imagens enviadas. |
| aspect_ratio | enum | auto | auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9 | O Auto permite que o modelo escolha dimensões dentro do nível de resolução selecionado. Proporções explícitas usam o tamanho pré-definido para esse nível. |
| 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 | O Standard prioriza a adesão rápida e a qualidade da imagem. Velocidade reduz a latência de geração com qualidade de imagem um pouco inferior. |
| 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 | - | Use custom_width e custom_height em vez de aspect_ratio e qualidade predefinidas. |
| custom_width | number | - | 15 a 8600 | Largura de saída personalizada em pixels. A área total deve estar em [0,92MP, 4,62MP] e o aspecto deve estar em [1:16, 16:1]. |
| custom_height | number | - | 15 a 8600 | Altura de saída personalizada em pixels. A área total deve estar em [0,92MP, 4,62MP] e o aspecto deve estar em [1:16, 16:1]. |
| watermark | boolean | false | - | Quando ativada, a imagem gerada inclui uma marca d'água de proveniência gerada por IA. EmpirioLabs não adiciona uma marca d'água separada. |
| 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.
Na EmpirioLabs, Seedream 5.0 Pro é cobrado por uso: Potência de até 2,61MP $0.075 por imagem; Potência acima de 2,61MP $0.150 por imagem; Layer decomposition up to 2.61MP $0.0375 per image. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.
Seedream 5.0 Pro é servido por POST /v1/images/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.
Sim. O playground da EmpirioLabs executa Seedream 5.0 Pro no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.
Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz.
Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.