> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.empiriolabs.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.empiriolabs.ai/_mcp/server.

# Seedream 5.0 Flash

> Fast Seedream image model that splits one image into editable layers, edits by coordinate or sketch marker, and fuses up to 10 references.

![Seedream 5.0 Flash](https://media.empiriolabs.ai/model-logos/seedream-5-0-lite.png)

[ByteDance](/providers/bytedance) · Image Generation

`POST /v1/images/generations`

Fast Seedream image model that splits one image into editable layers, edits by coordinate or sketch marker, and fuses up to 10 references.

## At a glance

| Field               | Value                                                                                                                                                                                                                                                         |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Model id            | `seedream-5-0-flash`                                                                                                                                                                                                                                          |
| Model release date  | 2026-09-28                                                                                                                                                                                                                                                    |
| Input modalities    | Text, Image                                                                                                                                                                                                                                                   |
| Output modalities   | Image                                                                                                                                                                                                                                                         |
| Context window      | -                                                                                                                                                                                                                                                             |
| Weight precision    | -                                                                                                                                                                                                                                                             |
| Region              | Malaysia                                                                                                                                                                                                                                                      |
| Features            | image_generation, image_editing, layer_decomposition, interactive_editing, multi_reference, text_rendering, multilingual_text, transparent_background                                                                                                         |
| Native inference    | No                                                                                                                                                                                                                                                            |
| New                 | Yes                                                                                                                                                                                                                                                           |
| Supported endpoints | `POST /v1/images/generations`                                                                                                                                                                                                                                 |
| Alternate model ids | `bytedance/dola-seedream-5-0-flash-260915`, `bytedance/seedream-5-0-flash`, `byteplus/dola-seedream-5-0-flash-260915`, `byteplus/seedream-5-0-flash`, `dola-seedream-5-0-flash-260915`, `seedream-5-0-flash-260915`, `seedream-5-flash`, `seedream-5.0-flash` |

## Pricing

| Charge              | Spec      | Rate    |
| ------------------- | --------- | ------- |
| Image generation    | per image | \$0.030 |
| Layer decomposition | per image | \$0.030 |

## Example request

```bash
curl https://api.empiriolabs.ai/v1/images/generations \
  -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model": "seedream-5-0-flash", "prompt": "a misty forest at dawn", "size": "1024x1024"}'
```

## Parameters

| Parameter             | Type    | Required | Default    | Description                                                                                                                                                                                                                                                                                           |
| --------------------- | ------- | -------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `prompt`              | string  | yes      | -          | Text prompt. With image attached, becomes an editing or fusion instruction.                                                                                                                                                                                                                           |
| `image`               | array   | no       | -          | Reference image URL, data URI, or uploaded image object. Seedream 5.0 Flash supports up to 10 reference images, and exactly one for layer decomposition or a transparent background.                                                                                                                  |
| `images`              | array   | no       | -          | Alias for image. Use this for multiple uploaded image references.                                                                                                                                                                                                                                     |
| `aspect_ratio`        | enum    | no       | `"auto"`   | Auto lets the model choose dimensions within the selected resolution tier. Explicit ratios use the preset size for that tier. · Allowed: `auto`, `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `21:9`                                                                                            |
| `layer_decomposition` | boolean | no       | false      | Split one input image into a base image plus up to 16 transparent PNG layers, each returned with its stacking order, its position in the base image, a name, and a description. Requires exactly one input image. The prompt is optional and can name the elements or coordinate regions to separate. |
| `quality`             | enum    | no       | `"2K"`     | Output resolution tier. All tiers are billed at the same flat per-image rate. Defaults to 2K. In layer decomposition, leaving this unset matches the input image instead. · Allowed: `1K`, `1.5K`, `2K`                                                                                               |
| `size`                | string  | no       | -          | Resolution tier or explicit pixel size such as 1K, 1.5K, 2K, or 2048x1152. Explicit pixels override aspect_ratio and quality. Layer decomposition accepts tiers or auto only.                                                                                                                         |
| `use_custom_size`     | boolean | no       | false      | Use custom_width and custom_height instead of preset aspect_ratio and quality.                                                                                                                                                                                                                        |
| `custom_width`        | number  | no       | -          | Custom output width in pixels. Total area must be in \[0.92MP, 4.62MP] and aspect must be in \[1:16, 16:1]. · Range: 15 – 8600                                                                                                                                                                        |
| `custom_height`       | number  | no       | -          | Custom output height in pixels. Total area must be in \[0.92MP, 4.62MP] and aspect must be in \[1:16, 16:1]. · Range: 15 – 8600                                                                                                                                                                       |
| `watermark`           | boolean | no       | false      | When enabled, the generated image includes an AI-generated provenance watermark. EmpirioLabs does not add a separate watermark.                                                                                                                                                                       |
| `output_format`       | enum    | no       | `"png"`    | Output image file format. In layer decomposition this sets the base image format, and layers are always returned as PNG. · Allowed: `jpeg`, `png`                                                                                                                                                     |
| `background`          | enum    | no       | `"opaque"` | Transparent keeps the alpha channel so the output has no background. Supported when editing exactly one input image that already has an alpha channel, and requires png output. · Allowed: `opaque`, `transparent`                                                                                    |
| `response_format`     | enum    | no       | `"url"`    | Return signed image URLs by default, or include base64 image data when b64_json is requested. · Allowed: `url`, `b64_json`                                                                                                                                                                            |

## Notes

**Modes**

* Text to image
* Single or multi-image to image
* Interactive editing with coordinate or sketch markers
* Layer decomposition into a base image plus up to 16 layers

**Interactive editing**

Mark the region to change directly on the input image with a sketch, circle, or arrow, then describe it in the prompt. For exact placement, use coordinate tags on a 0 to 1000 normalized grid:

```text
Place the subject from image 1 <bbox>179 283 796 986</bbox> at the position in image 2 <bbox>118 331 933 871</bbox>.
```

**Layer decomposition**

Set layer_decomposition to true with exactly one input image to split it into a base image plus up to 16 transparent PNG layers. Every returned image carries its stacking order as z_index, and each layer also carries its position in the base image as bounding_box.absolute and bounding_box.normalized, plus a name and a description. Leave the prompt empty to let the model choose the elements, or name the elements or coordinate regions to separate. Resolution accepts 1K, 1.5K, or 2K, and matches the input image when unset.

**Limits**

* One output image per request, except layer decomposition, which returns the base image plus its layers
* Up to 10 reference images, and exactly one for layer decomposition or a transparent background
* 1K, 1.5K, and 2K resolution tiers
* PNG or JPEG output, and layers are always PNG
* A transparent background needs one input image that already has an alpha channel, and PNG output
* No grouped output, streaming, or web search

**Billing**

Every resolution tier bills at the same per-image rate, and reference images are free. Layer decomposition bills every returned image, the base image and each layer, at that same rate.

**Content safety**

Generated images pass an automated content-safety check. An image flagged as explicit is not returned. Because the image is generated before the check runs, a flagged generation is still billed.

---

*Machine-readable schema:* `GET https://api.empiriolabs.ai/v1/models/seedream-5-0-flash`.