A série Doubao Seedream da ByteDance. Vários níveis de modelo com recursos de texto para imagem, edição de imagem e fusão multi-imagem.
Authorization: Bearer YOUR_API_KEY| Model | model | Price | Notas |
|---|---|---|---|
| Seedream 5.0 Pro (Official) | doubao-seedream-5-0-pro | $0.076 / $0.15 | Volcano Ark official · flagship, 1K/2K (tiered) |
| Seedream 5.0 Lite (Official) | doubao-seedream-5-0-260128 | $0.055/imagem | Volcano Ark oficial, 2K/4K |
| Seedream 4.5 | doubao-seedream-4-5-251128 | $0.05/imagem | 2K/4K |
# 5.0 Lite official channel: same endpoint for T2I and I2I.
# Provide image_url for image-to-image; omit it for text-to-image.
# size: "2K" (default) or "4K" — aspect_ratio is ignored by 5.0 Lite.
# Step 1a: Text-to-image
curl -X POST https://apimodels.app/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-5-0-260128",
"prompt": "A cherry blossom tree by a tranquil river, impressionist painting style",
"size": "2K"
}'
# Step 1b: Image-to-image (same endpoint, just add image_url)
curl -X POST https://apimodels.app/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-5-0-260128",
"prompt": "Change the season to winter with snow",
"image_url": "https://example.com/landscape.jpg",
"size": "4K"
}'
# Step 2: Poll status
curl "https://apimodels.app/api/v1/images/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"| Field | Required | Type | Description |
|---|---|---|---|
| model | Yes | string | doubao-seedream-5-0-pro / doubao-seedream-5-0-260128 / doubao-seedream-4-5-251128 |
| prompt | Yes | string | Descrição de texto ou instruções de edição |
| image_url | No | string | Imagem de referência: uma URL pública OU uma string base64/data-URI. Para 5.0 Lite: inclua para I2I, omita para T2I (mesmo endpoint). |
| image_urls | No | string[] | Várias imagens de referência (apenas 4.5): cada item pode ser uma URL ou uma string base64/data-URI. |
| image_base64 | No | string | Base64/data-URI para uma única imagem de referência local (equivalente a passar base64 em image_url). |
| aspect_ratio | No | string | 4.5: "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3". 5.0 Lite usa apenas size. |
| size | No | string | 5.0 Pro: 1K or 2K (default 2K, tiered $0.076 / $0.15, no 4K); 5.0 Lite: 2K (default) or 4K |
| resolution | No | string | Apenas 4.5: 1k / 2k / 3k / 4k |
| callback_url | No | string | URL do webhook chamada quando a tarefa é concluída |
Related: for the detailed 5.0 Pro docs see Seedream 5.0 Pro; try it in the Playground
5.0 Pro is the flagship (1K/2K, interactive editing); 5.0 Lite is the official channel at $0.055 with 2K/4K; 4.5 is the budget tier at $0.05 with up to 4K and multi-image fusion via image_urls[].
The upstream (in China) downloads your URL itself; slow or overseas hosts often time out cross-border. Pass base64 / data-URI instead, or host the image on a fast CDN.