Seedream 5.5 API Guide: Sizes, References and Layers
Call the Seedream 5.5 API on DreamTo: request format, sizes, up to 10 reference images, transparent PNG output, multi-turn edits and layer decomposition.

On this page
Seedream 5.5 is ByteDance's image model, available on DreamTo through one endpoint: POST https://api.dreamto.ai/api/v3/images/generations. The same request shape generates from a prompt, edits from up to 10 reference images, returns a transparent PNG, or splits an existing picture into a base image plus separate layers.
Every parameter below comes from the Seedream 5.5 docs. You can try the model in the playground or read its model page.
What Seedream 5.5 supports#
The DreamTo catalog describes Seedream 5.5 as a model that keeps unedited regions pixel-identical across 100 rounds of edits, with more natural lighting and skin and sharper dense small text. The docs list these capabilities:
| Capability | Seedream 5.5 |
|---|---|
| Text-to-image | Supported |
| Single-image editing | Supported |
| Multi-reference-to-image | Up to 10 reference images |
| Interactive editing (coordinates, boxes, arrows) | Supported |
| Native RGBA (transparent) output | Text-to-image and image-to-image |
| Layer decomposition | One base image and up to 99 layers |
| Rich-text OCR on text layers | Supported |
| Output resolution | 1K, 1.5K, 2K |
| Image sets, streaming output, web search | Not supported |
Prompts can be in Chinese or English; the docs also list Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Thai, Vietnamese, Indonesian, Malay, Turkish and Filipino.
Requests are synchronous. The call blocks until the images are ready and returns them in the response, so there is no task ID to poll, unlike the video models on the platform, which run as tasks.
Send a first request#
The model name on DreamTo is seedream-5.5. Authentication is a Bearer header with your API key; see the authentication page for how to create one.
curl -X POST "https://api.dreamto.ai/api/v3/images/generations" \ -H "Authorization: Bearer $DREAMTO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5.5", "prompt": "A vibrant close-up editorial portrait, piercing gaze, sculptural hat, rich color blocking, vertical magazine cover", "size": "2K", "output_format": "png" }'The same call in Python:
import osimport requestsURL = "https://api.dreamto.ai/api/v3/images/generations"HEADERS = {"Authorization": f"Bearer {os.environ['DREAMTO_API_KEY']}"}payload = { "model": "seedream-5.5", "prompt": "A vibrant close-up editorial portrait, piercing gaze, sculptural hat, rich color blocking, vertical magazine cover", "size": "2K", "output_format": "png",}result = requests.post(URL, headers=HEADERS, json=payload, timeout=600).json()for image in result["data"]: print(image["url"], image["size"])The docs say image generation usually takes 10 to 60 seconds. A layer decomposition with many layers can take several minutes, so set the client read timeout to at least 300 seconds. A request that times out or fails returns an error and is not charged.
If you already use the OpenAI SDK, set base_url to https://api.dreamto.ai/api/v3 and put the vendor-specific fields (image, watermark, layer_decomposition, layer_decomposition_options) in extra_body. Existing ModelArk code also runs after you swap the base URL, the model value and the key. For the other OpenAI-style endpoints on the platform, see One API key for every model.
Request parameters#
| Field | Values |
|---|---|
prompt | Required for image generation. Keep it under about 300 Chinese characters or 600 English words; longer prompts make the model drop details |
image | One image as a string, or an array of up to 10. A publicly reachable URL or data:image/png;base64,..., each up to 30 MB |
size | 1K, 1.5K, 2K (default), or WIDTHxHEIGHT |
output_format | png (default) or jpeg |
background | auto (default), transparent or opaque |
response_format | url (default, valid for 24 hours) or b64_json |
watermark | true (default, adds an "AI generated" mark in the lower-right corner) or false |
safety_identifier | A stable end-user identifier (a hash of the username or email), up to 64 characters, returned unchanged |
The watermark is on by default; send "watermark": false for output without it.
Size: a resolution tier or exact pixels#
There are two ways to set size for image generation, and the docs say not to combine them.
A resolution tier. Send 1K, 1.5K or 2K and describe the aspect ratio or shape in the prompt ("a 16:9 landscape"). The model decides the final dimensions, and the real value comes back in data[].size. The docs list common results for each tier:
| Tier | 1:1 | 16:9 | 9:16 | 3:2 | 21:9 |
|---|---|---|---|---|---|
1K | 1024x1024 | 1424x800 | 800x1424 | 1248x832 | 1568x672 |
1.5K | 1536x1536 | 2048x1152 | 1152x2048 | 1872x1248 | 2352x1008 |
2K | 2048x2048 | 2816x1584 | 1584x2816 | 2496x1664 | 3136x1344 |
Explicit pixel dimensions. Send a string like "2880x1440". Two limits apply together: total pixels between 921,600 (1280x720) and 4,624,220 (2048x2048 x 1.1025), and an aspect ratio between 1/16 and 16. The pixel limit is on width times height, not on either side alone: 2880x1440 is valid at 4,147,200 pixels, and 512x512 is not, because 262,144 pixels is below the minimum.
The docs recommend the tier method; use pixel dimensions when a layout needs an exact canvas.
Reference images and multi-turn editing#
Adding image turns a text-to-image call into an edit or a reference-driven generation. Pass one image as a string, or several as an array:
{ "model": "seedream-5.5", "prompt": "Keep the square amber perfume bottle from the first image exactly as it is. Place it on a shelf of clear blue glacier ice inside an ice cave. Use the color palette of the second image.", "image": [ "https://example.com/bottle.jpg", "https://example.com/palette.jpg" ], "size": "2K"}Input images may be jpeg, png, webp, bmp, tiff, gif, heic or heif. Each needs a width and height above 14 px, between 196 and 36,000,000 total pixels, an aspect ratio between 1/16 and 16, and a file size up to 30 MB.
The catalog's tips for reference work: give each image one job (product shape, light, palette or layout), check the result against each reference separately, and name what must stay unchanged as well as what to change.
Editing the same image over several turns#
For multi-turn editing, use the image returned by the previous turn as the next image, and state what to change and what to preserve. For more consistent results, the docs suggest an RGB input without an alpha channel and background set to opaque while editing.
import osimport requestsURL = "https://api.dreamto.ai/api/v3/images/generations"HEADERS = {"Authorization": f"Bearer {os.environ['DREAMTO_API_KEY']}"}steps = [ "Have the person blow a round, semi-transparent pink bubblegum bubble. " "Preserve the identity, facial features, hairstyle, clothing, pose, " "background, composition and visual style.", "Put black sunglasses on the person and keep everything else unchanged.",]current = "https://arkdocs-en.tos-ap-southeast-1.volces.com/images/image-generation/seedream-5-5-multi-round-editing-input.png"for number, prompt in enumerate(steps, start=1): payload = { "model": "seedream-5.5", "prompt": prompt, "image": current, "size": "2K", "output_format": "png", "background": "opaque", "response_format": "url", } result = requests.post(URL, headers=HEADERS, json=payload, timeout=600).json() current = result["data"][0]["url"] print(number, current)Result URLs expire after 24 hours, so save each approved image yourself if you plan to continue editing later. The catalog advises limiting each turn to one adjustment, such as the backdrop, the palette or one object, so the change can be reviewed on its own.
Interactive editing works the same way. Mark the place to change with a coordinate, box or arrow on the image, send the marked-up image as image, explain the marks in the prompt and ask the model to remove them.
Transparent RGBA output#
Seedream 5.5 returns an RGBA image with an alpha channel from text alone or from reference images, with no separate cut-out step. Set background to transparent and output_format to png:
curl -X POST "https://api.dreamto.ai/api/v3/images/generations" \ -H "Authorization: Bearer $DREAMTO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedream-5.5", "prompt": "A single sculptural object isolated on a fully transparent background: a hummingbird made of hand-blown art glass hovering beside a glass trumpet flower. Crisp studio lighting, clean edges, no shadow, no backdrop, no text.", "size": "2K", "output_format": "png", "background": "transparent", "watermark": false }'Four rules apply:
transparentrequirespng. Asking forjpegwith a transparent background returns 400.- With
auto, the model decides from the prompt and the output format whether to produce an alpha channel, and JPEG output never has one. Passtransparentoropaqueto be sure of the result. - Reference images do not need an alpha channel themselves.
data[].backgroundin the response is the actual transparency of the image (transparentif it has transparent or translucent pixels,opaqueotherwise) and may differ from the value you requested.
The catalog's advice for transparent assets: preview them on a light and a dark background to check edges, shadows and thin shapes, then place them in the real layout to see whether lighting, color and scale fit.
Layer decomposition and rich-text OCR#
With layer_decomposition set to true, Seedream 5.5 splits one image into a base image and independent transparent PNG layers, each with its position on the base image. A request returns up to 100 images: one base and up to 99 layers.
import osimport requestsURL = "https://api.dreamto.ai/api/v3/images/generations"HEADERS = {"Authorization": f"Bearer {os.environ['DREAMTO_API_KEY']}"}payload = { "model": "seedream-5.5", "prompt": "Separate each animal into a complete, independent layer. Keep all non-animal elements in the base image and fill the areas left after the animals are removed.", "image": "https://arkdocs-en.tos-ap-southeast-1.volces.com/images/image-generation/animal-test.jpeg", "size": "2K", "layer_decomposition": True, "layer_decomposition_options": {"max_images": 40, "text_recognition": True}, "output_format": "png",}result = requests.post(URL, headers=HEADERS, json=payload, timeout=600).json()for item in result["data"]: print(item["z_index"], item.get("name"), item.get("bounding_box", {}).get("absolute"), item["url"])The rules differ from image generation:
imagemust be exactly one image, png or jpeg, between 262,144 (512x512) and 36,000,000 total pixels. Several images, or none, return 400.promptis optional. Without it the model finds the main elements itself. To mark regions, put<bbox>left top right bottom</bbox>coordinates in the prompt.sizetakes a tier only (1K,1.5K,2Korauto, the default), notWIDTHxHEIGHT. Withauto, a source between1280x720and2048x2048x 1.1025 keeps its size, a smaller one is output at 1K and a larger one at 2K.output_formatonly affects the base image. Layers are always png.backgroundis not accepted and returns 400.- There is no partial success: if any layer fails, the whole request fails and is not charged.
max_images caps the base plus the layers, from 2 to 100, default 30. When the prompt does not say how to split the image, a larger value generally gives a finer split. If the prompt asks for more layers than the limit allows, some layer information may be lost.
In the response, data[0] is the base image with z_index 0 and no bounding box. Each following item is a layer with z_index (counting up from 1, larger is higher), name, description and a bounding_box. The absolute box is [left, top, right, bottom] in pixels on the output base image; normalized is the same box as integers from 0 to 1000 relative to the base image size. To rebuild the picture, scale each layer to right - left by bottom - top, paste it at (left, top), and stack the layers in ascending z_index.
With text_recognition set to true, regular text layers also carry a text_recognition object with their text, per-line positions and approximate styles such as font, color and bold. Artistic and handwritten text, non-text layers and the base image return no OCR result, and OCR does not change the price. The rich-text OCR page documents the response fields, and the supported fonts page lists the 101 Chinese and 127 non-Chinese fonts that can be recognized. Editing the text and compositing the layers is left to your own tool.
Pricing: per image, by output size#
Seedream 5.5 is billed per image. As of December 2026, the prices page lists these rates in USD, with the current 20% discount already applied:
| Item | Price per image |
|---|---|
| Output image, 1.5K or lower | 0.016 |
| Output image, above 1.5K | 0.028 |
| Input image (each reference) | 0.0064 |
The tier is decided by the total pixels of each output image: up to 2,601,123 counts as 1.5K or lower, and above that, up to 4,624,220, counts as above 1.5K. A request costs the number of input images times the input price, plus each output image at the price of its tier. One 2K image generated from two references, for example, is 0.028 + 2 x 0.0064 = 0.0408.
For layer decomposition, the image being decomposed counts as one input image, and the base and each layer are billed by their own actual size (data[].size), so one request can mix both tiers. Only returned images are charged. Invalid requests and failed generations are not.
Before the call, DreamTo checks the balance against the largest number of images the request could return: 1 for image generation, and max_images (default 30) for layer decomposition. If the balance cannot cover that, the request returns 402 and the model is not called, so a max_images that fits the job lowers the balance this check needs.
Limits and errors#
The docs list these limits:
- One image per image generation request, and no web search.
stream: trueandsequential_image_generation: autoreturn 400. The no-op valuesstream: falseandsequential_image_generation: disabledare accepted and ignored, which eases switching from other Seedream models. - Requests that are too frequent return 429; retry later. A layer decomposition generates many images in one request, so keep its concurrency moderate.
- Invalid values (size out of range,
jpegwith a transparent background, several images for decomposition) return 400 before the model is called. Errors from the model side, such as a reference image that cannot be downloaded or content moderation, keep their HTTP status. Neither is charged. - A missing or invalid API key returns 401, and an insufficient balance returns 402.
The request ID is in the X-Request-Id response header; include it when you contact support. The errors page explains which statuses to retry and which need a corrected request.
Related guides#
To compare Seedream 5.5 with the other image models on the platform, read How to choose an AI image API. The highest Seedream 5.5 tier is 2K; for 4K output, see the Nano Banana Pro guide. For prompt wording aimed at catalog photography, see Product photo prompts for AI image models. All models are listed at /models.
FAQ#
What is the Seedream 5.5 model name in the API?#
Use seedream-5.5 as the model value, sent to POST https://api.dreamto.ai/api/v3/images/generations. Do not use the ModelArk ID dola-seedream-5-5-261028; the response echoes seedream-5.5.
How many reference images does Seedream 5.5 accept?#
Up to 10 for image generation, as an array in image. Each can be a URL or a base64 data URI, up to 30 MB. Layer decomposition takes exactly one image.
Can Seedream 5.5 output a transparent background?#
Yes. Set background to transparent and output_format to png. The model returns an RGBA image directly from text or from reference images, and jpeg with a transparent background returns 400.
What resolutions does Seedream 5.5 support?#
For image generation, 1K, 1.5K or 2K (default), or explicit WIDTHxHEIGHT between 921,600 and 4,624,220 total pixels with an aspect ratio from 1/16 to 16. Layer decomposition accepts only the tiers and auto.
Does Seedream 5.5 support streaming or multiple images per request?#
No. Each generation request returns one image, and stream: true or sequential_image_generation: auto return 400. Layer decomposition is the exception: it returns a base image plus layers, up to 100 images in all.
How much does Seedream 5.5 cost?#
As of December 2026, in USD after the current 20% discount: 0.016 per output image at 1.5K or lower, 0.028 above 1.5K, and 0.0064 per input image. Check /prices for current figures.


