Image
Seedream 5.0 Pro image
ByteDance Seedream 5.0 Pro — geração e edição de imagem topo de linha: prompt preciso, controle de layout e edição com múltiplas referências.
Category: Create · seedream-5-0-pro
How to use & limits
- Two modes: text-to-image and multi-reference editing (just send image_urls).
- size sets the aspect ratio; resolution sets 1K or 2K — they are separate fields.
- Up to 10 reference images when editing.
- Returns ONE image per request: this model does not accept the n parameter.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
n_max Max variations per job | 4 |
create_image Text-to-image | Yes |
image_to_image Image-to-image | Yes |
allowed_resolutions Allowed resolutions | 1K, 2K |
max_reference_images Max reference images | 10 |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Required | — | — | — | Image description. |
size | Proporção | select | Optional | 16:9 | 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 2:3 · 3:2 · 21:9 | — | Aspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2 or 21:9. |
resolution | Resolução | select | Optional | 1K | 1K · 2K | — | Resolution: 1K or 2K. |
n | Quantidade | number | Optional | 1 | — | 1 – 4 | — |
image_urls | Referências (edição) | multi_select | Optional | — | — | — – 10 | Up to 10 reference images; sending any switches to edit mode. |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5-0-pro",
"prompt": "Editorial poster of a porcelain crab on marble, hard studio light, Swiss typography.",
"params": {
"size": "16:9",
"resolution": "2K",
"output_format": "png"
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "seedream-5-0-pro",
"prompt": "Editorial poster of a porcelain crab on marble, hard studio light, Swiss typography.",
"params": {
"size": "16:9",
"resolution": "2K",
"output_format": "png"
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "seedream-5-0-pro",
"type": "image",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.png",
"type": "image"
}
],
"images": [
{
"url": "https://media.caranguejo.art/outputs/example.png"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |