> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreamto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedream 5.5

> Seedream 5.5: ByteDance's new-generation image model with stable multi-round editing, native transparent (RGBA) output, layer decomposition and rich-text OCR.

Seedream 5.5 is the new-generation multimodal image generation model of ByteDance's Seed team, with greater creativity and more precise execution: multi-round editing is very stable and preserves untouched regions at pixel level, lighting, materials and skin texture look more natural, and small text renders more clearly. It covers text-to-image and single- and multi-image reference (up to 10 reference images), and generates native RGBA images with an alpha channel from text or reference images. Layer decomposition splits one image into a base image and up to 99 independently editable transparent layers and returns rich-text OCR for regular text layers (text, line positions and approximate styles such as font, color and bold). It outputs 1K / 1.5K / 2K. Requests are synchronous and return the images directly, with no polling.

## Featured capabilities

| Featured capability | Description | Preview |
| - | - | - |
| [Multi-turn editing consistency](https://docs.dreamto.ai/en/image/models/seedream-5-5/multi-turn-editing.md) | Continuous editing of the same subject while preserving subject features, composition and visual style across turns | [Demo video](https://arkdocs-en.tos-ap-southeast-1.volces.com/videos/image-generation/seedream-5-5-multi-round-editing-demo.mp4) |
| [Native RGBA images](https://docs.dreamto.ai/en/image/models/seedream-5-5/native-rgba.md) | Native RGBA images with alpha channels from text or images, for stickers, icons, product materials and other transparent-background uses | [Demo video](https://arkdocs-en.tos-ap-southeast-1.volces.com/videos/image-generation/seedream-5-5-rgba-demo-en.mp4) |
| [Fine-grained layer decomposition](https://docs.dreamto.ai/en/image/models/seedream-5-5/layer-decomposition.md) and [rich-text OCR](https://docs.dreamto.ai/en/image/models/seedream-5-5/rich-text-ocr.md) | Decomposes one image into a base image and up to 99 independently editable layers, with a configurable maximum output count; returns the text, position and approximate styling of regular text layers so design tools or applications can further edit and composite them | [Demo video](https://arkdocs-en.tos-ap-southeast-1.volces.com/videos/image-generation/seedream-5-5-ocr-demo-en.mp4) |

## Capability overview

| Capability | Seedream 5.5 |
| - | - |
| Text-to-image | Supported |
| Single-image-to-image / editing | Supported |
| Multi-reference-to-image | Supported, up to 10 reference images |
| Interactive editing (coordinates, boxes, arrows) | Supported |
| Layer decomposition | One base image and up to 99 layers |
| Maximum output count for layer decomposition | Configurable, 2–100 images (base image and layers) |
| Rich-text OCR | Supported ([101 Chinese and 127 non-Chinese fonts](https://docs.dreamto.ai/en/image/models/seedream-5-5/ocr-supported-fonts.md)) |
| Native RGBA, text-to-image | Supported |
| Native RGBA, image-to-image | Supported, up to 10 reference images; no alpha channel required for inputs |
| Resolution, image generation | `1K` / `1.5K` / `2K`, or pixel dimensions from `1280x720` to `2048x2048` × 1.1025 |
| Resolution, layer decomposition | `1K` / `1.5K` / `2K` / `auto` (default) |
| Output format | `png` (default) / `jpeg` |
| Background (image generation) | `auto` (default) / `transparent` / `opaque` |
| Prompt optimization | Standard mode |
| Prompt languages | Chinese and English, plus Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Thai, Vietnamese, Indonesian, Malay, Turkish and Filipino |
| Image sets, streaming output, web search | Not supported |

## Setup

| | BytePlus ModelArk | DreamTo |
| - | - | - |
| Endpoint | `POST https://ark.ap-southeast.bytepluses.com/api/v3/images/generations` | `POST https://api.dreamto.ai/api/v3/images/generations` |
| `model` | `dola-seedream-5-5-261028` | `seedream-5.5` |
| API Key | ModelArk API key | API Key from the DreamTo console, in the `Authorization: Bearer` header |

Existing ModelArk code runs after replacing the base URL, `model` and API key. The OpenAI SDK works too (`base_url` `https://api.dreamto.ai/api/v3`, with the vendor parameters in `extra_body`).

## Endpoints

| Endpoint | Purpose |
| - | - |
| [`POST /api/v3/images/generations`](https://docs.dreamto.ai/en/api-reference/seedream-5-5/create-image) | Create image |

## Parameters

| Field | Values |
| - | - |
| `prompt` | Required for image generation, optional for layer decomposition; keep it under about 300 Chinese characters or 600 English words. Besides Chinese and English: Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic, Thai, Vietnamese, Indonesian, Malay, Turkish and Filipino |
| `image` | A string for one image or an array for several; up to 10 for image generation, exactly 1 for layer decomposition. Image links or `data:image/png;base64,<data>`, each up to 30 MB |
| `size` | Image generation: `1K` / `1.5K` / `2K` (default) or `WIDTHxHEIGHT`; layer decomposition: `1K` / `1.5K` / `2K` / `auto` (default). See size below |
| `layer_decomposition` | `false` (default, image generation) / `true` (layer decomposition) |
| `layer_decomposition_options.max_images` | Maximum output images of a layer decomposition (base image included), 2–100, default 30 |
| `layer_decomposition_options.text_recognition` | `false` (default) / `true` (return rich-text OCR for regular text layers) |
| `output_format` | `png` (default) / `jpeg`; in layer decomposition it only sets the base image, layers are always `png` |
| `background` | `auto` (default) / `transparent` / `opaque`; image generation only, `transparent` needs `png` |
| `response_format` | `url` (default, valid for 24 hours) / `b64_json` |
| `optimize_prompt_options.mode` | `standard` (default and the only value) |
| `watermark` | `true` (default, adds an "AI generated" watermark in the lower-right corner) / `false` |
| `safety_identifier` | A stable end-user identifier (hash the username or email), up to 64 characters; returned unchanged in the response |

## Pricing

Billed per image, at the unit prices shown in the console:

| Item | How it is counted |
| - | - |
| Input image | One per reference image (for layer decomposition, the image to decompose) |
| Output image, 1.5K or lower | Total pixels (width × height) of the image up to 2,601,123 (1536² × 1.05²) |
| Output image, above 1.5K | Total pixels above 2,601,123, up to 4,624,220 (2048² × 1.05²) |

Cost of a request = input images × input image price + the sum over the output images of the price of the tier each image falls in. In layer decomposition the base image and every layer are billed by their own actual size (`data[].size`), so one request can contain both tiers.

Before the call, the balance is checked for the largest number of images the request can return: 1 for image generation and `max_images` (default 30) for layer decomposition; with an insufficient balance the request returns 402 and the model is not called. Only images that are actually returned are charged; invalid requests and failed generations are not charged.

## Quick start

`$DREAMTO_API_KEY` is your API Key.

```bash cURL theme={null}
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"
  }'
```

```python Python theme={null}
import os

import requests

URL = "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"])
```

## Guides

| Guide | Content |
| - | - |
| [Multi-turn editing consistency](https://docs.dreamto.ai/en/image/models/seedream-5-5/multi-turn-editing.md) | How to edit the same image over several turns, with an example and a request sample |
| [Native RGBA images](https://docs.dreamto.ai/en/image/models/seedream-5-5/native-rgba.md) | Transparent-background images from text or images |
| [Fine-grained layer decomposition](https://docs.dreamto.ai/en/image/models/seedream-5-5/layer-decomposition.md) | Rules, response fields, restoring layers and billing |
| [Rich-text OCR](https://docs.dreamto.ai/en/image/models/seedream-5-5/rich-text-ocr.md) | Text, position and styles of text layers, with the OCR response fields |
| [Image output options and limits](https://docs.dreamto.ai/en/image/models/seedream-5-5/image-output.md) | `size`, response format, output format, background, watermark and the input image limits |
| [OCR supported fonts](https://docs.dreamto.ai/en/image/models/seedream-5-5/ocr-supported-fonts.md) | The 101 Chinese and 127 non-Chinese fonts that can be recognized |

## Timeouts

Image generation usually takes 10–60 seconds; a layer decomposition with many layers can take several minutes, so set the client read timeout to at least 300 seconds. If generation times out or fails, an error is returned and the request is not charged.

## Notes

* `model` is the DreamTo model name `seedream-5.5`, not the Ark model ID `dola-seedream-5-5-261028`; `model` in the response echoes `seedream-5.5` too.
* As with the official API, streaming and image sets are not supported: `stream: true` and `sequential_image_generation: auto` return 400. The official API rejects any value of these two parameters; here the no-op values `stream: false` and `sequential_image_generation: disabled` are accepted and ignored, which eases switching from other Seedream models.
* Requests with invalid values (size out of range, `jpeg` with a transparent background, several images for layer decomposition, and so on) return 400 before the model is called, with an English message in the DreamTo error envelope (see the error examples), and are not charged.
* Errors returned by the model (a reference image that cannot be downloaded, content moderation, and so on) keep the official HTTP status and `error.code`, `error.message`, `error.param` and `error.type`, and are not charged; the request ID is in the `X-Request-Id` response header.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.