Image Generation
Seedream Series
ByteDance Seedream image models: text-to-image and reference editing at a fixed price per image
POST
Seedream Series
Seedream is ByteDance’s line of image generation and editing models. This page covers the five models available today. They share one set of request parameters, one task endpoint and one billing model (a fixed price per successfully generated image), and differ in resolution tiers, aspect ratios and line-specific parameters — switching models means changing
A successful submission returns a
See Submit a task for
Generated images come back in
model and nothing else.
Quick start
task_id. Retrieve the result with GET /v1/tasks/{task_id}, wait inline with Prefer: wait, or configure a webhook.
Request parameters
string
required
One of
seedream-4.0, seedream-4.5, seedream-5.0-lite, seedream-5.0-pro or seedream-5.0-flash.string
default:"generate"
generate: create an image from textedit: rewrite a reference image; requiresimage_urls
string
required
The image description or editing instruction, in Chinese or English.
string[]
Reference image URLs. Required for
edit: up to 10 on seedream-5.0-flash, one on the other models; generate does not accept references.string
default:"1:1"
Framing. The 10 ratios shared by all five models:
1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 2:1, 1:2, 21:9.seedream-4.0 and seedream-4.5 also support 9:21.auto lets the model choose the ratio. seedream-5.0-pro and seedream-5.0-flash default to auto and accept it on both actions; the other three default to 1:1 and accept auto only on edit.string
default:"2k"
Output resolution. The tiers differ per model:
seedream-4.0:1k,2k,4kseedream-4.5:2k,4kseedream-5.0-lite:2k,3k,4kseedream-5.0-pro:1k,1.5k,2k, defaulting to1.5kseedream-5.0-flash:1k,1.5k,2k, defaulting to1k
integer
default:"1"
Number of images to generate.
seedream-4.0 and seedream-4.5 return one image for text-to-image; when editing, reference images + n may not exceed 15 (with one reference image, n is at most 14). seedream-5.0-lite accepts 1–15 for text-to-image, and the same reference images + n ≤ 15 rule applies when editing. seedream-5.0-pro and seedream-5.0-flash accept 1.With n above 1 the model works in multi-image mode: n is the maximum number of images for the request, the model may return fewer, and you are charged for the images actually returned.boolean
default:"false"
Add a watermark to the output image.
string | object
Prompt optimisation mode, supported by
seedream-4.0 and seedream-4.5 only, defaulting to standard.standard: quality first, slowerfast: speed first
seedream-4.0 takes a string ("fast"); seedream-4.5 takes an object ({"mode": "fast"}).string
default:"jpeg"
Output image format,
jpeg or png. Supported by seedream-5.0-lite, seedream-5.0-pro and seedream-5.0-flash only.string
default:"opaque"
Background:
opaque or transparent. Supported by seedream-5.0-pro and seedream-5.0-flash only, and transparency requires image-to-image with a single alpha-channel input and output_format set to png.callback_url, callback_events, Prefer: wait, Idempotency-Key and the maximum-cost header.
This series does not accept seed, quality, negative_prompt or mask_url. Any other parameter returns 400 and is not billed.
Limits
Pricing
Billed at a fixed price per successfully generated image.seedream-4.0, seedream-4.5, seedream-5.0-lite and seedream-5.0-flash charge the same at every resolution they support; seedream-5.0-pro charges more at 2k than at 1k / 1.5k.
Rates are in price_config on GET /v1/models and in the console’s Model Market. What a single call actually cost is the cost field on the task response — an integer quota at 500,000 quota = 1 USD, not dollars.
generate and edit cost the same, reference images add no fee, and aspect ratio, output format and prompt length do not affect the price — the per-image price depends only on resolution, and a call costs the per-image price × the number of images actually returned. Quota for n images is frozen at submission; if multi-image mode returns fewer than n, the excess is refunded when the task completes. A resolution outside the tiers a model supports settles at its fallback price, equal to that model’s base tier.
You are only billed for a successfully generated image. Failed and cancelled tasks, and tasks that return no usable image, are refunded in full.
Response
Completed task
result.images, and expires_at is when that link stops working. See Query Task Status for the full field list.
Available models
All five do text-to-image and reference editing and accept
watermark. seedream-5.0-flash takes up to 10 reference images when editing, the other models one; seedream-4.0, seedream-4.5 and seedream-5.0-lite can return several images per request (see n).
- The 10 shared aspect ratios:
1:14:33:416:99:163:22:32:11:221:9 seedream-4.0andseedream-4.5also support9:21autolets the model pick the framing:seedream-4.0,seedream-4.5andseedream-5.0-liteaccept it only onedit;seedream-5.0-proandseedream-5.0-flashaccept it on both actions and default to it