ByteDance
Seedream 4.0 (4k)
Seedream 4.0 generates high-resolution, professional-grade…
imagelive
- Model id
- seedream-4
- Typical run
- ~25s
- Inputs
- 8 parameters
- Contract
- async
Call it
bash
curl -X POST https://api.ezflows.io/v1/models/seedream-4 \
-H "Authorization: Bearer $EZFLOWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a wide shot of a desert at dusk"}'
# { "request_id": "req_8f2a41c9", "poll_url": "…", "status": "queued" }Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| prompt required | string | Action hero into an apocalypse survivor zo… | Text describing the image to generate. Include subjects like 'sunset mountain view'. |
| image_input | string[] | — | List of image URLs to guide generation. Use for reference; add 1-3 URLs. |
| size | enum | 2K | Image resolution preset. '1K/2K/4K' sets one dimension (1024/2048/4096), other dimension calculated from aspect_ratio. Use 'custom' to specify exact width/height. Note: Combining with aspect_ratio may not maximize quality for all ratios. |
| aspect_ratio | enum | — | Image proportions. When combined with size preset, one dimension is fixed (1K=1024, 2K=2048, 4K=4096). For best quality with non-square ratios, consider using 'custom' size with manual dimensions. Options: '1:1' square, '16:9' widescreen, '9:16' portrait, etc. |
| width | integer | 2048 | Custom width in pixels (only used when size='custom'). Range: 1024-4096. Both width and height must be set for custom sizing. Dimensions will be validated and rounded to nearest 64 pixels. |
| height | integer | 2048 | Custom height in pixels (only used when size='custom'). Range: 1024-4096. Both width and height must be set for custom sizing. Dimensions will be validated and rounded to nearest 64 pixels. |
| sequential_image_generation | enum | disabled | Controls image creation order. Enable 'auto' for batch generation, 'disabled' otherwise. |
| max_images | integer | 1 | Sets image generation limit. Choose 1 for single outcome, 5 for multiple. |
What a run costs
$0.035average · per run
$0.00for a failed run
~25smeasured mean, end to end
How it stacks up
| Model | Price | Unit | Typical run |
|---|---|---|---|
| Seedream 4.0 (4k) | avg $0.035 | run | ~25s |
| Seedream 5.0 Lite: Image-to-Image | avg $0.035 | run | ~47s |
| Seedream 5.0 Lite: Text-to-Image | avg $0.035 | run | ~46s |
| GPT Image 2.5 Flare | avg $0.037 | run | ~17s |
| Nano Banana 2 Lite | from $0.038 | image | ~12s |