Overview
Seedream 4.0 is a ByteDance image model for text-to-image generation and reference-guided image generation. It supports 1K, 2K, and 4K output presets, up to 10 generated images per task, optional sequential generation, and prompt optimization withstandard or fast.
| Capability | Value |
|---|---|
| Model ID | seedream-4-0 |
| Modes | text-to-image, image-to-image |
| Prompt length | 1-5000 characters |
| Reference images | 1-14 URLs for image-to-image |
| Images per task | max_images is required, 1-10 |
| Resolution tiers | 1K, 2K, 4K |
| Aspect ratios | 1:1, 2:3, 3:2, 4:3, 3:4, 9:16, 16:9, 21:9 |
| Size input | 1K, 2K, 4K, 2048x2048, 2048X2048, 2048*2048 |
| Sequential generation | disabled, auto |
| Prompt optimization | standard, fast |
Endpoint and authentication
Base URL:| Method | Endpoint | Purpose |
|---|---|---|
POST | /generateTask/seedream-4-0 | Submit a generation task |
GET | /statusTask/seedream-4-0?taskId={taskId} | Poll task status and retrieve results |
Copy-paste async quickstart
This minimal request submits a text-to-image task and returns ataskId.
taskId; you need it to poll for the final result.
Request body
Text-to-image
Image-to-image
Explicit size
Parameters
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.Required when
request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.Seedream 4.0 input parameters.
Size presets from resolution + aspect_ratio
When aspect_ratio is provided, APIXO maps resolution and aspect_ratio to these output dimensions:
| Aspect ratio | 1K size | 2K size | 4K size |
|---|---|---|---|
1:1 | 1024x1024 | 2048x2048 | 4096x4096 |
2:3 | 832x1248 | 1664x2496 | 3328x4992 |
3:2 | 1248x832 | 2496x1664 | 4992x3328 |
3:4 | 864x1152 | 1728x2304 | 3520x4704 |
4:3 | 1152x864 | 2304x1728 | 4704x3520 |
9:16 | 736x1312 | 1600x2848 | 3040x5504 |
16:9 | 1312x736 | 2848x1600 | 5504x3040 |
21:9 | 1568x672 | 3136x1344 | 6240x2656 |
Polling and delivery guidance
Seedream 4.0 tasks are asynchronous.| Resolution | Typical generation time | Recommended first poll | Poll interval |
|---|---|---|---|
1K | 20s-30s | 15s after task creation | 3s |
2K | 25s-35s | 20s after task creation | 3s-5s |
4K | 40s-55s | 30s after task creation | 5s |
callback_url instead of tight polling loops.
Billing
Seedream 4.0 is billed per generated image. The current public APIXO price is a single flat rate for this model.| Unit | APIXO price |
|---|---|
| Per generated image | $0.0290 / image |