> ## 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-4.5

Seedream 4.5 is ByteDance’s latest and most capable image generation model in this release. It improves consistency when editing subject details, lighting, and color; portrait retouching; and small text generation. Stronger multi-image composition, reasoning, and visual aesthetics translate creative instructions into more precise and expressive images.

* Model ID: `doubao-seedream-4.5`
* Pricing: Check the [Model Hub](https://geekai.co/models?platform=bytedance\&type=image) 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://docs.geekai.co/en/docs/quick_start.md).

> [!NOTE]
>
> The following Image API parameters are not supported:
>
> * `negative_prompt`
> * `seed`
> * `strength`
> * `aspect_ratio`
> * `quality`
> * `style_preset`
> * `output_format`
> * `mask`
> * `background`
>
> See also: [Official Seedream 4.5 API documentation](https://www.volcengine.com/docs/82379/1824121).

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

* Specify a resolution (`2K` or `4K`) and describe the aspect ratio, shape, or intended use in the prompt. The model determines the final 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 |
| - | - | - |
| 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 |
| 4K | 1:1 | 4096x4096 |
| | 4:3 | 3520x4704 |
| | 3:4 | 4704x3520 |
| | 16:9 | 5504x3040 |
| | 9:16 | 3040x5504 |
| | 3:2 | 3328x4992 |
| | 2:3 | 4992x3328 |
| | 21:9 | 6240x2656 |

### 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-4.5",
    "prompt":"Draw a cute kitten playing in the grass",
    "size": "2K"
}'
```

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

```json theme={null}
{
    "model": "doubao-seedream-4.5",
    "created": 1766997450,
    "task_id": "2535fa4a-b5ea-4664-8e33-478e22606d4f",
    "task_status": "succeed",
    "data": [
        {
             "url": "https://static.geekai.co/image/2025/12/29/398b72b457492fbe36c9ac6efc69121b.jpeg"
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_tokens": 16384,
        "total_tokens": 16384
    }
}
```

### Image-to-image generation

**Single image**

Edit an existing image using a text instruction to generate a new 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-4.5",
    "prompt": "Using this kitten photo as a reference, generate an image of the kitten playing with a ball of yarn",
    "image": "https://static.geekai.co/image/2025/12/29/398b72b457492fbe36c9ac6efc69121b.jpeg",
    "size": "2K"
}'
```

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

```json theme={null}
{
    "model": "doubao-seedream-4.5",
    "created": 1766999002,
    "task_id": "20d598c9-703b-4ac1-8d8b-3a17917f7c71",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2025/12/29/c0c888a2acc9a0cdb27c49878571dd2f.jpeg"
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_tokens": 16384,
        "total_tokens": 16384
    }
}
```

**Multiple images**

Combine styles, elements, and other features from several reference images according to your text description:

```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-4.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"
    ],
    "size": "4k",
    "watermark": false,
}'
```

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

```json theme={null}
{
    "model": "doubao-seedream-4.5",
    "created": 1767663594,
    "task_id": "0785df56-af20-49bb-9b5d-3b082e244482",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/01/06/884c492ff60dafa1bed2b2113a360582.jpeg"
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_tokens": 65536,
        "total_tokens": 65536
    }
}
```

### Generate image sets

Use text and one or more images to generate related images, such as comic panels or a brand identity set:

**Generate a set from text**

```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-4.5",
    "prompt": "Create four connected illustrations of the same corner of a courtyard through the four seasons. Use a consistent style to show the distinctive colors, elements, and atmosphere of each season.",
    "size": "2K",
    "response_format": "url",
    "watermark": true,
    "extra_body": {
        "sequential_image_generation": "auto",
        "sequential_image_generation_options": {
            "max_images": 4
        }
    }
}'
```

The response is a JSON object containing the list of generated images:

```json theme={null}
{
    "model": "doubao-seedream-4.5",
    "created": 1767009952,
    "task_id": "0ebe205a-ecd3-446a-8751-6923c2e9f70b",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2025/12/29/c5ea6a6601a75d5cd377b287d9a5f0c9.jpeg"
        },
        {
            "url": "https://static.geekai.co/image/2025/12/29/ec90634ffadd295d6cdefebcd739a581.jpeg"
        },
        {
            "url": "https://static.geekai.co/image/2025/12/29/fe354ed6415711fa316edd9e58ec3453.jpeg"
        },
        {
            "url": "https://static.geekai.co/image/2025/12/29/7d4d557691a06bf41dcaeddadd0bbe99.jpeg"
        }
    ],
    "usage": {
        "billed_units": 4,
        "output_tokens": 62208,
        "total_tokens": 62208
    }
}
```

**Generate a set from one 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-4.5",
    "prompt": "Use this logo as a reference to design a visual identity for an outdoor sports brand named GREEN, including packaging bags, hats, cards, and lanyards. Use green as the main color and a playful, minimalist modern style.",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imageToimages.png",
    "size": "2K",
    "response_format": "url",
    "watermark": false,
    "extra_body":{
        "sequential_image_generation": "auto",
        "sequential_image_generation_options": {
            "max_images": 4
        }
    }
}'
```

As with text-to-image sets, the response is a JSON object containing the list of generated images.

**Generate a set from 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-4.5",
    "prompt": "Generate images of a girl and a stuffed cow happily riding a roller coaster at an amusement park in the morning, at noon, and at night.",
    "image": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_1.png", 
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimages_2.png"
    ],
    "size": "2K",
    "response_format": "url",
    "watermark": false,
    "extra_body":{
        "sequential_image_generation": "auto",
        "sequential_image_generation_options": {
            "max_images": 3
        }
    }
}'
```

As with text-to-image sets, the response is a JSON object containing the list of generated images.


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