Image Generation
Seedream Series
ByteDance Doubao image generation — multi-version evolution, multi-image reference / image editing / image group generation
POST
Seedream Series
ByteDance Seed team’s image generation series, with three generations:Documentation Index
Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt
Use this file to discover all available pages before exploring further.
- 5.0 Lite — Visual reasoning (CoT) + real-time web search, 14 reference images, 2K/3K, strong identity preservation, cost-effective tier
- 4.5 — Professional production grade, native 4K, 14 reference images, 94% typography accuracy, 90% cross-angle character consistency
- 4.0 — Multimodal creation, 2-10 reference image fusion, unified interface for text-to-image / editing / image groups
Pricing
| Model | Price (per image) |
|---|---|
doubao-seedream-5.0-lite | $0.02975 |
doubao-seedream-4.5 | $0.02975 |
doubao-seedream-4.0 | $0.0238 |
Mode Quick Reference
| Mode | Trigger Field | Supported Versions |
|---|---|---|
| Text-to-image | prompt only | All |
| Image edit (inpainting / lighting changes) | + image_urls (single) + action: "edit" | 4.0 / 4.5 |
| Multi-image reference fusion | + image_urls (multiple) | All (4.0=2-10 / 4.5=14 / 5.0-lite=14) |
| Image group generation (themed set) | sequential_image_generation: "auto" | All |
Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
| Model ID | Description |
|---|---|
doubao-seedream-5.0-lite | Visual reasoning + web search, 14 reference images, 2K/3K, strong identity preservation |
doubao-seedream-4.5 | Professional production grade, 4K, 14 reference images, best typography / character consistency |
doubao-seedream-4.0 | Multimodal creation, 2-10 reference images, unified interface for text-to-image / editing / image groups |
Common Parameters
Choose one from the Available Models list
Operation type. Options:
generate— Text-to-image (default)image2image— Image-to-image (use withimage_urls)edit— Image editing (inpainting / lighting changes, 4.0 / 4.5 only)reference— Multi-image reference fusion (4.0 / 4.5 only)group— Image group generation (all versions)
Image description. Supports Chinese and English. Seedream achieves ~94% accuracy on complex typography and small text rendering
Number of images to generate (returned in a single call)
Random seed.
-1 for random; a fixed value reproduces similar resultsAspect ratio. Options:
1:1— Square4:3/3:4— Standard landscape / portrait16:9/9:16— Widescreen landscape / portrait3:2/2:3— Camera ratio landscape / portrait21:9— Ultra-wide (all versions)9:21— Ultra-tall (4.0 / 4.5 only)auto— Smart selection (follows reference image ratio)
Output resolution, depends on the model:
- 4.0:
1K/2K/4K - 4.5:
2K/4K - 5.0-lite:
2K/3K
Array of reference image URLs. Count depends on the model:
- 4.0: 2-10 images (combined with final output ≤15)
- 4.5: up to 14
- 5.0-lite: up to 14
Webhook callback URL, invoked when the task reaches a terminal state. See Callback Mechanism
Model-Specific Parameters
- Seedream 5.0 Lite
- Seedream 4.5
- Seedream 4.0
Supported actions:
generate / image2image / group (note: does not support edit or reference)resolution: 2K / 3KKey features: Visual reasoning (CoT) + real-time web search, can reason from up-to-date world knowledge; strong identity preservation (eyes / jawline / proportions / skin tone preserved across styles)AI-generated watermark
5.0-lite only — Output format. Options:
jpegpng
Image group generation mode. Options:
disabled— Single image (default)auto— Auto group (multiple themed images)
Group options, e.g.
{"max_images": 4} (range 1-15)Resource Limits
| Item | Limit |
|---|---|
| Reference images (4.0) | 2-10, combined with final output ≤15 |
| Reference images (4.5 / 5.0-lite) | Up to 14 |
| Single image size | ≤ 30MB, supports JPG/PNG/WEBP |
| Output resolution | See each tab (up to 4K) |
| Output file | JPG (default) / PNG (5.0-lite optional), URL valid for 24 hours |
Related Docs
- Task System — Task state machine / polling cadence / async push
- Request & Response — Common error codes / Headers / rate limits
- Authentication — API Key application and usage
Seedream Series