# ByteDance Seedream 5.0 Pro Edit API

> Seedream 5.0 Pro is Bytedance's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

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

## Facts

- Provider: ByteDance
- Type: Image model
- Model ID: `bytedance/seedream/5.0/pro/edit`
- Price: From $0.09 per run
- Capabilities: image to image
- 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/5.0/pro/edit",
  "images": [
    "https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_0.png",
    "https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_1.png",
    "https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_2.png"
  ],
  "prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
  "num_images": 1,
  "output_format": "jpeg"
}'
```

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 5.0 Pro Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seedream/5.0/pro/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 5.0 Pro Edit and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seedream 5.0 Pro Edit

Seedream 5.0 Pro edit: change or fuse up to 10 images with an instruction while keeping identity, products, and text consistent.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Text instruction. |
| `images` | image URL[] (≤10), required | — | Images to edit or combine, Image 1, Image 2, … |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | — | Omit to follow the first input image. |
| `num_images` | integer 1–1 | 1 | Fixed at 1. |
| `output_format` | `jpeg` / `png` | `jpeg` | Output file format. |

#### Billing

$0.09 per output image plus $0.003 for each input image after the first.

| Inputs | Price |
|---|---|
| 1 input image | $0.09 |
| 3 input images | $0.096 |
| 10 input images | $0.117 |

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/lite`, `bytedance/seedream/5.0/lite/edit`, `bytedance/seedream/5.0/flash`, `bytedance/seedream/5.0/flash/edit`, `bytedance/seedream/4.5`, `bytedance/seedream/4.5/edit`.
