Seedream 5.5

POST /v1/images/generationsSeedream image model with native transparent output, precise multi-round editing, and decomposition into up to 99 editable layers with text recognition.
At a glance
Pricing
Example request
Parameters
Notes
Modes
- Text to image
- Single or multi-image to image
- Interactive editing with coordinate or sketch markers
- Layer decomposition into a base image plus up to 99 layers, with optional text recognition
Interactive editing
Mark the region to change directly on the input image with a sketch, circle, or arrow, then describe it in the prompt. For exact placement, use coordinate tags on a 0 to 1000 normalized grid:
Layer decomposition
Set layer_decomposition to true with exactly one input image to split it into a base image plus up to 99 transparent PNG layers. max_images sets the most images returned, the base image included, from 2 to 100, and defaults to 30; a higher value allows a finer decomposition. Every returned image carries its stacking order as z_index, and each layer also carries its position in the base image as bounding_box.absolute and bounding_box.normalized, plus a name and a description. Scale each layer to its box when you reassemble the image. Leave the prompt empty to let the model choose the elements, or name the elements or coordinate regions to separate. Resolution accepts 1K, 1.5K, or 2K, and matches the input image when unset.
Text recognition
With text_recognition on, each regular text layer also returns text_recognition: its full text, the position of each line, and the styling of each run of text (a similar font, color, bold, italic, underline, strikethrough, shadow, and translucency). Artistic text and handwriting are not recognized.
Transparency
background defaults to auto, which lets the model decide from the prompt and output format. Transparent returns an image with an alpha channel, from text alone or from up to 10 reference images that need no alpha channel, and requires PNG output. Opaque returns an image without one. Each returned image reports its actual transparency as background. Layer decomposition does not take background, and its layers are always transparent PNG.
Limits
- One output image per request, except layer decomposition, which returns the base image plus its layers
- Up to 10 reference images, and exactly one for layer decomposition
- 1K, 1.5K, and 2K resolution tiers, or an exact size from 0.92MP to 4.62MP
- PNG or JPEG output, and layers are always PNG
- No grouped output, streaming, or web search
Billing
Each returned image bills at its own size: up to 2.61MP, which covers 1K and 1.5K, or above 2.61MP, which covers 2K. Every input image bills, the one for layer decomposition included. Layer decomposition bills every returned image, the base image and each layer, at its own size.
Content safety
Generated images pass an automated content-safety check. An image flagged as explicit is not returned. Because the image is generated before the check runs, a flagged generation is still billed.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/seedream-5-5.
