CheaperGen
ByteDanceimagePopular

Seedream 5.0 Pro Text to Image API

Text to Image with Seedream 5.0 Pro by ByteDance. Production-grade image generation and precise editing.

Try Seedream 5.0 Pro Text to Image

0

Output image shape.

1K ≈ 1 megapixel, 2K ≈ 4 megapixels.

Always on here. Set enable_safety_checker to false over the API to turn it off.Always on here. Set enable_safety_checker to false over the API to turn it off.

If set to true, the safety checker will be enabled. Our Acceptable Use Policy applies either way.

Estimated cost…

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 Pro Image Edit

See the Seedream 5.0 Pro examples and prompts

Seedream 5.0 Pro Text to Image API

POST/api/v1/run/bytedance/seedream-5.0-pro/text-to-image

Submits 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

NameTypeDescriptionAffects price
promptrequiredstringDescribe the shot: subject, action, camera movement, lighting and style.No
aspect_ratiostring (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
sizestring (enum)1K ≈ 1 megapixel, 2K ≈ 4 megapixels.
Values: 1K · 2K
Default: 2K
Yes
seedintegerUse the same seed and settings to reproduce a result. Leave empty for random.No
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Our Acceptable Use Policy applies either way.
Default: true
No
webhook_urlstring (URL)Optional. We POST the finished generation here, signed with your webhook secret. WebhooksNo

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-pro/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-pro",
  "endpoint": "bytedance/seedream-5.0-pro/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 Pro pricing

Pay per image as you go, with no subscription required (monthly plans are optional). Failed generations are refunded automatically.

TierOfficial priceCheaperGen
1K
≈1 MP
$0.045/img$0.0341/img
2K
≈4 MP
$0.09/img$0.0665/img
  • Official price: BytePlus ModelArk international list price for dola-seedream-5-0-pro ($0.045 per image up to 2.61 MP, $0.09 above; edit input images after the first $0.003 each). Prices verified October 18, 2026.
  • Requests with enable_safety_checker: false (API only) are billed at $0.0378 per image (1K) · $0.0756 per image (2K).

Popular ByteDance models, on the same API key.

All ByteDance models

Popular text-to-image models from other developers.

Text to image API