Skip to main content
POST

Headers

Authorization
string
required

Bearer API key, e.g. Bearer sk-....

Example:

"Bearer sk-..."

Body

application/json

Seedream 5.5 generation body (POST /v1/images/generations).

model
enum<string>
required

Seedream / Jimeng model id. Only Seedream 5.5 is available.

Available options:
doubao-seedream-5.5
Example:

"doubao-seedream-5.5"

prompt
string
required

Text description of the image. Be specific about subject, style, lighting, and composition.

Example:

"An orange cat watching rain from a windowsill, warm indoor light, photorealistic"

n
integer
default:1

Number of images. Seedream 5.5 is fixed to 1.

Required range: 1 <= x <= 1
resolution
enum<string>

Clarity tier. Use 1080p or 2K (aliases 1080/1080P → 1080p, 2k → 2K). Invalid values are rejected. This field is used for resolution-tier billing.

Available options:
1080p,
2K
Example:

"2K"

size
enum<string>

Aspect ratio only (1:1, 16:9, 9:16, 4:3, 3:4, 21:9). Alias field ratio is also accepted. Do not put 2K/1080p here.

Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
21:9
Example:

"16:9"

ratio
enum<string>

Alias of size for aspect ratio.

Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
21:9
Example:

"16:9"

response_format
enum<string>
default:url

Return image URL(s) or Base64 JSON. Prefer url.

Available options:
url,
b64_json
watermark
boolean
default:false

Request a watermark when the provider supports this flag.

Example:

false

seed
integer

Random seed. Same seed + params helps reproducibility when supported.

image

Optional reference image(s) for image-to-image.

  • Recommended: one HTTPS URL, or a string array of URLs
  • Not recommended: Base64 (large bodies often hit 413) Upload local files first, then pass the URL.
images
string[]

Reference image URL array (alias of image / image_urls / reference_images).

Example:
image_urls
string[]

Alias of images.

reference_images
string[]

Alias of images.

sequential_image_generation
string

Grouped / sequential generation control when supported (e.g. auto / disabled).

Example:

"disabled"

user
string

Opaque end-user id for abuse monitoring.

Response

Image generation result

OpenAI-compatible image response.

created
integer

Unix timestamp when the image job completed.

data
object[]

Result list.