Skip to main content
These parameters control the image output:

Image size

size has different values and defaults for image generation and for layer decomposition.

Image generation

Use either a resolution tier or explicit dimensions; do not combine them. Method 1: a resolution tier (recommended). Describe the aspect ratio, image shape or use in prompt; the model determines the final dimensions. Default 2K; values 1K, 1.5K, 2K. Method 2: pixel dimensions (WIDTHxHEIGHT).
  • Total pixels: 921,600 (1280x720) to 4,624,220 (2048x2048 × 1.1025);
  • Aspect ratio: 1/16 to 16.
Both ranges apply; the total-pixel limit applies to the product of width and height, not to either dimension alone. 2880x1440 is valid (4,147,200 pixels, aspect ratio 2); 512x512 is not (262,144 pixels, below the minimum).
Method 1
Method 2
Common sizes of each tier for Method 1 (the actual size is data[].size in the response):

Layer decomposition

Only resolution tiers are supported: 1K, 1.5K, 2K or auto; default auto.
  • Base image: output at the resolution given by size, with the aspect ratio of the image being decomposed;
  • Each layer: a resolution close to size, with its own aspect ratio in the source image;
  • auto: the base image and each layer follow their original size. Sizes between 1280x720 and 2048x2048 × 1.1025 are kept, smaller ones are output at 1K and larger ones at 2K, always with the original aspect ratio.

Response format

  • url (default): returns an image download link, valid for 24 hours after generation; download the image promptly;
  • b64_json: returns Base64-encoded image data in the b64_json field of the response.

Output format

  • png (default)
  • jpeg
In layer decomposition output_format controls the base image only; layers are always output as PNG. With output_format jpeg, background cannot be transparent.

Background

  • auto (default): the model decides from the prompt and output_format; JPEG output has no alpha channel;
  • transparent: returns an RGBA image with an alpha channel;
  • opaque: returns an RGB image without an alpha channel.
background applies to image generation only; layer decomposition always returns transparent PNG layers and passing it causes an error. With background transparent, output_format must be png. See Native RGBA images.

Watermark

Default true.
  • true: adds an “AI generated” watermark in the lower-right corner;
  • false: no watermark.

Usage limits

Image input

Pass images in either form:
  • Image URL: make sure the link is publicly reachable;
  • Base64 encoding: data:image/<image format>;base64,<Base64 encoding>, with the image format in lowercase, for example data:image/png;base64,<base64_image>.
The total-pixel limit applies to the product of the width and height of a single image, not to either dimension alone.

Retention

Returned image links are kept for 24 hours and then removed automatically. Save generated images promptly.

Not supported

Seedream 5.5 outputs one image per image generation request; image sets (sequential_image_generation), streaming output (stream) and web search are not supported.

Rate limits

Requests that are too frequent return 429; retry later. A layer decomposition generates many images in one request, so keep its concurrency moderate.