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

# Doubao-Seedream-5.5

Doubao-Seedream-5.5 is designed for professional content production, with precise editing and consistency across turns. It improves realistic scenes, multi-image blending, small text, and multilingual text rendering. Native transparent backgrounds and separate element and text layers make it easier to composite images, change text, and reuse templates.

### Model parameters

* Model ID: `doubao-seedream-5.5`
* Pricing: Check the [Seedream 5.5 model page](https://geekai.co/models/doubao-seedream-5.5) for current prices.
* Endpoint: `https://geekai.co/api/v1/images/generations`
* Parameters: See the [Image API reference](https://docs.geekai.co/en/api/image/generations.md).
* Authentication: [Get an API key](https://geekai.co/user/api_keys).

> [!NOTE]
>
> The following Image API parameters are not supported:
>
> * `negative_prompt`
> * `strength`
> * `aspect_ratio`
> * `quality`
> * `style_preset`
> * `mask`
>
> See also: [Official Seedream 5.5 API documentation](https://docs.volcengine.com/docs/ark/image-generation-api).

For image-to-image generation, pass reference images in `image` as URLs or Base64-encoded data. Supply up to 10 images, using an array for multiple images. Requirements:

* Supported formats: PNG, JPG, JPEG, WEBP, BMP, TIFF, and GIF.
* Each image must be no larger than 30 MB. The long-to-short side ratio must not exceed 16:1, and the short side must be greater than 14 px.
* Total pixels: 196–36,000,000, or 262,144–36,000,000 for layer separation.

Seedream 5.5 adds layer separation settings. Pass `layer_decomposition_options` in `extra_body` to configure them. See [Layer separation](https://docs.geekai.co/en/docs/image/bytedance/doubao-seedream-5.5.md#layer-separation).

Seedream 5.5 does not have separate aspect ratio and resolution settings. Use `size` in one of two ways:

* Specify a resolution: `1K`, `1.5K`, `2K` (default for regular generation), or `auto` (default for layer separation and only available in that mode). Describe the aspect ratio, shape, or intended use in `prompt` and let the model determine the dimensions.
* Specify width and height in pixels. The default is `2048x2048` (1:1). Use the following dimensions for other aspect ratios:

| Resolution | Aspect ratio | Pixel dimensions |
| - | - | - |
| 1K | 1:1 | 1024x1024 |
| | 4:3 | 1152x864 |
| | 3:4 | 864x1152 |
| | 16:9 | 1424x800 |
| | 9:16 | 800x1424 |
| | 3:2 | 1248x832 |
| | 2:3 | 832x1248 |
| | 21:9 | 1568x672 |
| 1.5K | 1:1 | 1536x1536 |
| | 4:3 | 1792x1344 |
| | 3:4 | 1344x1792 |
| | 16:9 | 2048x1152 |
| | 9:16 | 1152x2048 |
| | 3:2 | 1872x1248 |
| | 2:3 | 1248x1872 |
| | 21:9 | 2352x1008 |
| 2K | 1:1 | 2048x2048 |
| | 4:3 | 2304x1728 |
| | 3:4 | 1728x2304 |
| | 16:9 | 2848x1600 |
| | 9:16 | 1600x2848 |
| | 3:2 | 2496x1664 |
| | 2:3 | 1664x2496 |
| | 21:9 | 3136x1344 |

Set `output_format` to `png` or `jpeg` to control the Seedream 5.5 output format. The default is `png`.

Use `background` to control whether Seedream 5.5 generates an image with an alpha channel:

* `auto`: The model decides based on the prompt and `output_format`. If the output format is `jpeg`, the image will not have an alpha channel.
* `transparent`: Transparent background. Outputs an RGBA image.
* `opaque`: Opaque background. Outputs an RGB image without an alpha channel.

Limitations:

* Only supported for image-to-image generation, with a single input image containing an alpha channel.
* Transparent background mode outputs PNG by default. Setting `output_format` to `jpeg` in this mode returns an error.
* Supplying an input format that does not support an alpha channel, such as JPEG, returns an error.

Set `response_format` to `url` or `b64_json` to control the Seedream 5.5 response format. The default is `url`.

Seedream 5.5 no longer supports image sets. Parameters for image sets have no effect.

To select the prompt optimization mode in GeekAI, use `extra_body.prompt_extend_mode` instead of the official `optimize_prompt_options.mode`. Alternatively, pass the official `optimize_prompt_options` object in `extra_body`. GeekAI accepts both; `extra_body.optimize_prompt_options` takes precedence.

### Pricing

Seedream 5.5 pricing depends on the total output pixel count. Images below 2.61 million pixels cost 0.13 CNY each; those above 2.61 million cost 0.23 CNY each.

Both 1K and 1.5K images have fewer than 2.61 million pixels, so they fall in the same price tier:

| Model ID | Use case | Image size | Price (CNY/image) |
| - | - | - | - |
| `doubao-seedream-5.5` | Regular generation | 1K | 0.13 |
| `doubao-seedream-5.5` | Regular generation | 1.5K | 0.13 |
| `doubao-seedream-5.5` | Regular generation | 2K | 0.23 |
| `doubao-seedream-5.5` | Layer separation | 1K | 0.13 |
| `doubao-seedream-5.5` | Layer separation | 1.5K | 0.13 |
| `doubao-seedream-5.5` | Layer separation | 2K | 0.23 |

Input images also cost 0.05 CNY each. Total price = output price per image × number of outputs + input price per image × number of inputs.

When using a GeekAI [discounted proxy channel](https://docs.geekai.co/en/docs/model_price.md), multiply the listed price by the applicable discount factor. For example, the high-availability Pro channel has a factor of `0.8`. An image with `size` set to `1K` costs `0.13 x 0.8 = 0.104` CNY. For layer separation, five output images and one input cost `0.13 x 0.8 x 5 + 0.05 x 1 = 0.57 CNY`. Apply the same calculation to other settings.

### Text-to-image generation

Give the model a clear, precise description to quickly generate a single high-quality image:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "doubao-seedream-5.5",
    "prompt": "A vibrant close-up editorial portrait of a model with a piercing gaze wearing a sculptural hat. Rich color blocking, sharp focus on the eyes, shallow depth of field, Vogue cover aesthetics, medium-format photography, dramatic studio lighting.",
    "output_format":"png"
}'
```

The response is a JSON object containing the URL of the generated image:

```json theme={null}
{
    "model": "doubao-seedream-5.5",
    "created": 1787563947,
    "task_id": "eae17a81-d0b9-49a5-9c31-749d56f48a66",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/08/24/3875c0d7366011f7de9f32ec2f010f29.png",
            "size": "1776x2368"
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_tokens": 16428,
        "total_tokens": 16428
    }
}
```

The image-to-image examples below return the same response format.

### Image-to-image generation

Doubao-Seedream-5.0-Pro can modify existing images to generate new ones. Pass one or more images in `image` and describe the changes in `prompt`.

**Single image**

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "doubao-seedream-5.5",
    "prompt": "Generate a close-up of the dog lying on the grass",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imageToimage.png",
    "output_format":"jpeg"
}'
```

**Multiple images**

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "doubao-seedream-5.5",
    "prompt": "Replace the clothing in image 1 with the clothing from image 2",
    "image": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png", 
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imagesToimage_2.png"
    ],
    "output_format":"png",
    "watermark": false
}'
```

Doubao-Seedream-5.5 accepts up to 10 input images.

### Layer separation

Doubao-Seedream-5.5 can split one image into a base image and up to 99 layers (30 by default). Pass `"layer_decomposition": true` in `extra_body` to enable layer separation:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "doubao-seedream-5.5",
    "prompt": "Separate the image precisely into layers. The text boxes are <bbox>180 64 812 198</bbox>, <bbox>757 210 939 280</bbox>, <bbox>63 212 320 282</bbox>, <bbox>178 714 826 810</bbox>, <bbox>814 819 949 894</bbox>, and <bbox>326 824 669 930</bbox>. The parrot is at <bbox>347 305 642 997</bbox>.",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_50_pro_layer_input.png",
    "extra_body": {
        "layer_decomposition": true
    }
}'
```

Use `layer_decomposition_options` to set the maximum number of output layers and choose whether to enable OCR:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "doubao-seedream-5.5",
    "prompt": "Separate the image precisely into layers",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_50_pro_layer_input.png",
    "extra_body": {
        "layer_decomposition": true,
        "layer_decomposition_options": {
            "max_images": 5,
            "text_recognition": true
        }
    }
}'
```

The response uses the same structure as the official API:

```json theme={null}
{
    "model": "doubao-seedream-5.5",
    "created": 1794885011,
    "task_id": "2ac17ca8-ecb1-4d66-9be7-f749c4470c8e",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/11/17/255312307324c69007070e1ce9d2b512.png",
            "size": "1080x1080",
            "output_format": "png",
            "background": "opaque",
            "z_index": 0
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/8db3d12c347778375aee3028017610bf.png",
            "size": "1700x617",
            "output_format": "png",
            "background": "transparent",
            "z_index": 1,
            "name": "Large yellow Seedream heading",
            "description": "Large yellow Seedream heading",
            "bounding_box": {
                "absolute": [
                    71,
                    0,
                    1000,
                    337
                ],
                "normalized": [
                    66,
                    0,
                    926,
                    312
                ]
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/dc6cdd5bd893cec9282a7e35bead480d.png",
            "size": "1044x1005",
            "output_format": "png",
            "background": "transparent",
            "z_index": 2,
            "name": "White text in the upper right: VOL. 01 and SUMMER 2026",
            "description": "White text in the upper right: VOL. 01 and SUMMER 2026",
            "bounding_box": {
                "absolute": [
                    783,
                    136,
                    1049,
                    392
                ],
                "normalized": [
                    725,
                    126,
                    971,
                    363
                ]
            },
            "text_recognition": {
                "lines": [
                    {
                        "bounding_box": {
                            "absolute": [
                                911,
                                226,
                                1011,
                                265
                            ],
                            "normalized": [
                                844,
                                209,
                                936,
                                245
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": true,
                                    "shadow": false,
                                    "similar_font_family": "Palatino Linotype",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "VOL. 01"
                            }
                        ]
                    },
                    {
                        "bounding_box": {
                            "absolute": [
                                822,
                                258,
                                1011,
                                298
                            ],
                            "normalized": [
                                761,
                                239,
                                936,
                                276
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": true,
                                    "shadow": false,
                                    "similar_font_family": "Palatino Linotype",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "SUMMER 2026"
                            }
                        ]
                    }
                ],
                "text": "VOL. 01\nSUMMER 2026"
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/446989374652acca6bcc9294e3902737.png",
            "size": "1244x843",
            "output_format": "png",
            "background": "transparent",
            "z_index": 3,
            "name": "White text in the upper left: EXPLORE THE WILD, INSPIRE THE SOUL.",
            "description": "White text in the upper left: EXPLORE THE WILD, INSPIRE THE SOUL.",
            "bounding_box": {
                "absolute": [
                    18,
                    139,
                    396,
                    395
                ],
                "normalized": [
                    17,
                    129,
                    367,
                    366
                ]
            },
            "text_recognition": {
                "lines": [
                    {
                        "bounding_box": {
                            "absolute": [
                                73,
                                232,
                                334,
                                267
                            ],
                            "normalized": [
                                68,
                                215,
                                309,
                                247
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FDFEF8",
                                    "italic": false,
                                    "shadow": false,
                                    "similar_font_family": "HTF Didot",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "EXPLORE THE WILD, "
                            }
                        ]
                    },
                    {
                        "bounding_box": {
                            "absolute": [
                                73,
                                263,
                                317,
                                297
                            ],
                            "normalized": [
                                68,
                                244,
                                294,
                                275
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FDFEF8",
                                    "italic": false,
                                    "shadow": false,
                                    "similar_font_family": "HTF Didot",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "INSPIRE THE SOUL."
                            }
                        ]
                    }
                ],
                "text": "EXPLORE THE WILD, \nINSPIRE THE SOUL."
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/7f8b430576d186627da7a5c18a604c54.png",
            "size": "1675x626",
            "output_format": "png",
            "background": "transparent",
            "z_index": 4,
            "name": "Large yellow WILD BEAUTY heading",
            "description": "Large yellow WILD BEAUTY heading",
            "bounding_box": {
                "absolute": [
                    66,
                    645,
                    1018,
                    1001
                ],
                "normalized": [
                    61,
                    597,
                    943,
                    927
                ]
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/864cc917af5959b246a101999bb9d1a5.png",
            "size": "1024x1024",
            "output_format": "png",
            "background": "transparent",
            "z_index": 5,
            "name": "White NATURE INSIDE text in an oval frame in the lower right",
            "description": "White NATURE INSIDE text in an oval frame in the lower right",
            "bounding_box": {
                "absolute": [
                    824,
                    798,
                    1080,
                    1054
                ],
                "normalized": [
                    763,
                    739,
                    1000,
                    976
                ]
            },
            "text_recognition": {
                "lines": [
                    {
                        "bounding_box": {
                            "absolute": [
                                911,
                                900,
                                1002,
                                934
                            ],
                            "normalized": [
                                844,
                                833,
                                928,
                                865
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": false,
                                    "shadow": false,
                                    "similar_font_family": "Arial Narrow",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "NATURE"
                            }
                        ]
                    },
                    {
                        "bounding_box": {
                            "absolute": [
                                916,
                                925,
                                996,
                                958
                            ],
                            "normalized": [
                                848,
                                856,
                                922,
                                887
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": false,
                                    "shadow": false,
                                    "similar_font_family": "Arial Narrow",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "INSIDE"
                            }
                        ]
                    }
                ],
                "text": "NATURE\nINSIDE"
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/c05cf64c1af09af235529d37efe0cd65.png",
            "size": "1438x729",
            "output_format": "png",
            "background": "transparent",
            "z_index": 6,
            "name": "Bottom-center white text: FLY BEYOND LIMITS, TROPICAL SPLENDOR, RANFOREST ADVENTURES",
            "description": "Bottom-center white text: FLY BEYOND LIMITS, TROPICAL SPLENDOR, RANFOREST ADVENTURES",
            "bounding_box": {
                "absolute": [
                    285,
                    819,
                    790,
                    1075
                ],
                "normalized": [
                    264,
                    758,
                    731,
                    995
                ]
            },
            "text_recognition": {
                "lines": [
                    {
                        "bounding_box": {
                            "absolute": [
                                405,
                                899,
                                669,
                                934
                            ],
                            "normalized": [
                                375,
                                832,
                                619,
                                865
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": true,
                                    "shadow": false,
                                    "similar_font_family": "FangZheng CuHeiSong",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "FLY BEYOND LIMITS "
                            }
                        ]
                    },
                    {
                        "bounding_box": {
                            "absolute": [
                                399,
                                933,
                                684,
                                968
                            ],
                            "normalized": [
                                369,
                                864,
                                633,
                                896
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": true,
                                    "shadow": false,
                                    "similar_font_family": "FangZheng CuHeiSong",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "TROPICAL SPLENDOR "
                            }
                        ]
                    },
                    {
                        "bounding_box": {
                            "absolute": [
                                367,
                                968,
                                714,
                                1004
                            ],
                            "normalized": [
                                340,
                                896,
                                661,
                                930
                            ]
                        },
                        "runs": [
                            {
                                "style": {
                                    "bold": true,
                                    "foreground_color": "#FFFFFF",
                                    "italic": true,
                                    "shadow": false,
                                    "similar_font_family": "FangZheng CuHeiSong",
                                    "strikethrough": false,
                                    "translucent": false,
                                    "underline": false
                                },
                                "text": "RANFOREST ADVENTURES"
                            }
                        ]
                    }
                ],
                "text": "FLY BEYOND LIMITS \nTROPICAL SPLENDOR \nRANFOREST ADVENTURES"
            }
        },
        {
            "url": "https://static.geekai.co/image/2026/11/17/4b5f62d1438eed8f05480b3684a5ab8e.png",
            "size": "834x1257",
            "output_format": "png",
            "background": "transparent",
            "z_index": 7,
            "name": "Colorful macaw perched on a moss-covered branch",
            "description": "Colorful macaw perched on a moss-covered branch",
            "bounding_box": {
                "absolute": [
                    240,
                    194,
                    828,
                    1080
                ],
                "normalized": [
                    222,
                    180,
                    767,
                    1000
                ]
            }
        }
    ],
    "usage": {
        "billed_units": 8,
        "output_tokens": 33227,
        "total_tokens": 33227
    }
}
```


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