# ByteDance Seedream 4.5 Edit API

> A new-generation image creation model from ByteDance, Seedream 4.5 integrates text-to-image generation and image editing into a single unified architecture, delivering high-fidelity visuals, precise prompt control, and seamless creative workflows for professional AIGC applications.

Source: https://www.sandbase.ai/models/bytedance/seedream/4.5/edit
API reference: https://www.sandbase.ai/models/bytedance/seedream/4.5/edit/docs

## Facts

- Provider: ByteDance
- Type: Image model
- Model ID: `bytedance/seedream/4.5/edit`
- Price: $0.04 per run
- Capabilities: image to image, commercial
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream/4.5/edit",
  "images": [
    "https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/4b4464161cf3463db6f9463b10939178~tplv-goo7wpa0wc-image.image",
    "https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/c23d1b0528a14cb08b684307eabdcc9b~tplv-goo7wpa0wc-image.image"
  ],
  "prompt": "Replace the clothing in image 1 with the outfit from image 2.",
  "output_format": "png"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ByteDance Seedream 4.5 Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seedream/4.5/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate ByteDance account?

No. One SandBase API key and balance gives you access to ByteDance Seedream 4.5 Edit and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seedream 4.5 Edit

Seedream 4.5 edit: instruction-based edits and multi-image composition with consistent identity and typography.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `images` | image URL[], required | — | Images to edit or combine, Image 1, Image 2, … |
| `prompt` | string, required | — | Up to 50,000 characters. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `1:1` / `3:4` / `2:3` / `9:16` | — | Omit to follow the first input image. |
| `image_size` | object | — | Optional explicit output size; overrides `aspect_ratio`. |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |

#### Billing

$0.04 per output image.

| Request | Price |
|---|---|
| One image | $0.04 |

Failed runs are not charged.

#### Prompting

- Say which image is the base and what each other image contributes.
- List what must not change.

#### Limits

- One output image per request.

#### Also on SandBase

Other Seedream endpoints: `bytedance/seedream/5.0/pro`, `bytedance/seedream/5.0/pro/edit`, `bytedance/seedream/5.0/lite`, `bytedance/seedream/5.0/lite/edit`, `bytedance/seedream/5.0/flash`, `bytedance/seedream/5.0/flash/edit`, `bytedance/seedream/4.5`.
