Seedream 5.0 Flash Text to Image API
Text to Image with Seedream 5.0 Flash by ByteDance. The fastest, lowest-cost Seedream.
per image · 1K
Operational99.99% uptime (30 days)median 23sTry Seedream 5.0 Flash Text to Image
Output image shape.
1K ≈ 1 megapixel, 2K ≈ 4 megapixels.
Create a free account with Google or email — pay only for what you generate.
Your image will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
Also available: Seedream 5.0 Flash Image Edit
See the Seedream 5.0 Flash examples and prompts
Seedream 5.0 Flash Text to Image API
/api/v1/run/bytedance/seedream-5.0-flash/text-to-imageSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
aspect_ratio | string (enum) | Output image shape. Values: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 21:9 Default: 1:1 | Yes |
size | string (enum) | 1K ≈ 1 megapixel, 2K ≈ 4 megapixels. Values: 1K · 2K Default: 2K | Yes |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/bytedance/seedream-5.0-flash/text-to-image`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Editorial product photo of a matte-black espresso machine on travertine, soft window light, 85mm",
"aspect_ratio": "1:1",
"size": "2K"
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.images[0].url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "bytedance/seedream-5.0-flash",
"endpoint": "bytedance/seedream-5.0-flash/text-to-image",
"mode": "text-to-image",
"status": "queued",
"input": {
"prompt": "Editorial product photo of a matte-black espresso machine on travertine, soft window light, 85mm",
"aspect_ratio": "1:1",
"size": "2K"
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Seedream 5.0 Flash pricing
Pay per image as you go, with no subscription required. Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
1K ≈1 MP | $0.0154/img With a monthly plan: Pro $0.0153Max $0.0152 | −14% | |
2K ≈4 MP | $0.0154/img With a monthly plan: Pro $0.0153Max $0.0152 | −14% |
Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.
- Official price: BytePlus ModelArk international list price for dola-seedream-5-0-flash ($0.018 per image). Prices verified October 18, 2026.
More from ByteDance
Popular ByteDance models, on the same API key.

Seedream5.0 Pro
Text → Image · Image Edit
Production-grade image generation and precise editing

Seedream5.0 Lite
Text → Image · Image Edit
High-quality Seedream images at a lower price
Seedream4.5
Text → Image · Image Edit
2K and 4K images and multi-image edits at one price

Seedance2.5
Text to Video · Image to Video · Reference to Video · Video Edit
ByteDance's newest video model — longer, sharper, more controllable
Similar image models
Popular text-to-image models from other developers.

FLUX 3Image Klein
Text → Image · Image Edit
The open-weights FLUX 3 — 16-step images in seconds, from a fraction of a cent

GPT Image2.5
Text → Image · Image Edit
OpenAI's top image model — precise edits, perfect text, up to 4K

Nano Banana2.1
Text → Image · Image Edit
Google's newest Nano Banana — top-ranked quality at a quarter of Pro's price

Nano BananaPro
Text → Image · Image Edit
Gemini 3 Pro Image — studio-grade generation and editing up to 4K
