# ByteDance Seedream 5.0 Flash Edit API

> Seedream 5.0 Flash Editing edits and fuses up to 10 reference images from a text instruction at one flat price per image, with fast 15–20 second turnaround.

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

## Facts

- Provider: ByteDance
- Type: Image model
- Model ID: `bytedance/seedream/5.0/flash/edit`
- Price: $0.02 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/5.0/flash/edit",
  "images": [
    "https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/77024d8e03f24862b066bfc385301120~tplv-goo7wpa0wc-image.image",
    "https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/2cbc5cf5a68d44899fc52f177fb9cf51~tplv-goo7wpa0wc-image.image"
  ],
  "prompt": "Generate 3 images of a girl and a cow plushie happily riding a roller coaster in an amusement park, depicting morning, noon, and night.",
  "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 5.0 Flash Edit through SandBase?

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

## README

### Seedream 5.0 Flash Edit

Seedream 5.0 Flash edit: edit or fuse up to 10 reference images at a flat per-image price with fast turnaround.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `images` | image URL[] (≤10), 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. |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |

#### Billing

$0.018 per output image.

| Request | Price |
|---|---|
| One image | $0.018 |

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