---
title: Seedream 5.0 Flash | Runware Docs
url: https://runware.ai/docs/models/bytedance-seedream-5-0-flash
description: Fast, cost-efficient image generation and multi-reference editing with layer decomposition
---
# Seedream 5.0 Flash

![Seedream 5.0 Flash](https://assets.runware.ai/covers/bytedance-seedream-5-0-flash.jpg)

Seedream 5.0 Flash is the fast, cost-efficient model in ByteDance's Seedream 5.0 family for image generation and editing. It supports text-to-image and reference-guided editing with up to 10 input images, precise local edits targeted with point and bounding-box coordinates in the prompt, transparent-background output, and decomposition of an image into separate transparent layers. It outputs from 1K to 2K and suits high-volume workflows such as ad concepts, thumbnails, social visuals, and rapid design iteration.

- **Status**: live
- **ID**: `bytedance:seedream@5.0-flash`
- Try in Playground
- **Creator**: ByteDance
- **Capabilities**: Text to Image, Image to Image, Edit, Checkpoint

## Pricing

$0.0193 per run · ~20s per request

**4 example generations**

- [transparent-background](https://runware.ai/docs/models/bytedance-seedream-5-0-flash/examples#example-fresnel-lens-museum-wall-art) · 1024×1024: `$0.0193` (~20s)
- [text-to-image](https://runware.ai/docs/models/bytedance-seedream-5-0-flash/examples#example-subsea-cable-repair-blog-hero) · 1536×1024: `$0.0193` (~19s)
- [layer-decomposition](https://runware.ai/docs/models/bytedance-seedream-5-0-flash/examples#example-heritage-seed-journal-cover) · 2K: `$0.0193` (~1m 46s)
- [reference-to-image](https://runware.ai/docs/models/bytedance-seedream-5-0-flash/examples#example-forensic-entomologist-profile-avatar) · 1024×1536: `$0.0193` (~19s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/platform/pricing)

## Compatibility & Validation

Either provide `inputs.referenceImages`, or specify `width/height`.

---

When `resolution` is provided, `settings.layerDecomposition` must be `true`.

---

Inside `settings`, `background` cannot be used with `layerDecomposition`.

---

When `settings.background` is `transparent`, `outputFormat` is limited to `PNG`, `WEBP` and `inputs.referenceImages` is limited to 1 item.

---

When `settings.layerDecomposition` is `true`, `width/height` and `positivePrompt` cannot be used.

---

When `settings.layerDecomposition` is not `true`, `positivePrompt` is required.

---

When `settings.layerDecomposition` is `true`, `inputs.referenceImages` is limited to 1 item.

---

`width` and `height` must be used together.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-uploadendpoint)

- **Type**: `string`
- **Format**: `uri`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (1 property)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`

Enable or disable content safety checking. Increases total generation time.

### [ttl](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Min items**: `1`
- **Max items**: `10`
- **File size (each)**: `up to 30 MB`
- **Size (each)**: `15 px or more`
- **Aspect ratio (each)**: `1:16 to 16:1`
- **Area (each) (without layerDecomposition)**: `196 px² to 36 MP`
- **Area (each) (with layerDecomposition)**: `0.26 MP to 36 MP`

List of reference images (UUID, URL, Data URI, or Base64).

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `bytedance:seedream@5.0-flash`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [positivePrompt](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-positiveprompt)

- **Type**: `string`
- **Required**: conditional — Required when settings.layerDecomposition is not provided

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [width](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-width)

- **Type**: `integer`
- **Required**: conditional — Required when inputs.referenceImages is not provided

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [height](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-height)

- **Type**: `integer`
- **Required**: conditional — Required when inputs.referenceImages is not provided

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [resolution](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-resolution)

- **Type**: `string`

Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.

**Allowed values**: `1K` `1.5K` `2K`

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

### [background](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-settings-background)

- **Path**: `settings.background`
- **Type**: `string`
- **Default**: `opaque`

Background handling in generated images.

**Allowed values**:

- `opaque` Solid background, no transparency.
- `transparent` Transparent background. The reference image must contain transparent pixels.

### [layerDecomposition](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-settings-layerdecomposition)

- **Path**: `settings.layerDecomposition`
- **Type**: `boolean`

Enables layer decomposition of the reference image. The layers are returned in `outputs.layers` next to the base image. `outputFormat` applies to the base image only, layers are always PNG.

**Features**

Standalone addons and post-processing features.

### [watermark](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark)

- **Path**: `advancedFeatures.watermark`
- **Type**: `object (6 properties)`

Configuration object for adding watermarks to generated videos. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either `text` or `image` content for the watermark, but not both.

**Text watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "© 2025 Company",
    "displayPosition": "bottom-right",
    "opacity": 0.6,
    "fontColor": "#ffffff",
    "bgColor": "#000000"
  }
}
```

**Image watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "image": "c64351d5-4c59-42f7-95e1-eace013eddab",
    "displayPosition": "top-left",
    "opacity": 0.6
  }
}
```

**Tiled watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "PREVIEW",
    "tiled": true,
    "opacity": 0.4,
    "fontColor": "#cccccc"
  }
}
```

#### [text](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-text)

- **Path**: `advancedFeatures.watermark.text`
- **Type**: `string`
- **Min**: `2`
- **Max**: `32`

Watermark text.

#### [image](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-image)

- **Path**: `advancedFeatures.watermark.image`
- **Type**: `string`

Watermark image (UUID, URL, Data URI, or Base64).

#### [displayPosition](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-displayposition)

- **Path**: `advancedFeatures.watermark.displayPosition`
- **Type**: `string`

Watermark position.

**Allowed values**: `top-left` `top-center` `top-right` `center-left` `center-center` `center-right` `bottom-left` `bottom-center` `bottom-right` `tiled`

#### [opacity](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-opacity)

- **Path**: `advancedFeatures.watermark.opacity`
- **Type**: `float`
- **Min**: `0.1`
- **Max**: `1`
- **Step**: `0.01`

Watermark opacity.

#### [fontColor](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-fontcolor)

- **Path**: `advancedFeatures.watermark.fontColor`
- **Type**: `string`

Text color in hex format.

#### [bgColor](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#request-advancedfeatures-watermark-bgcolor)

- **Path**: `advancedFeatures.watermark.bgColor`
- **Type**: `string`

Background color in hex format.

## Response Parameters

### [taskType](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [imageUUID](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-imageurl)

- **Type**: `string`
- **Format**: `uri`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-imagedatauri)

- **Type**: `string`
- **Format**: `uri`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

### [outputs](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs)

- **Path**: `outputs.layers`
- **Type**: `object (9 properties)`

Generated output artifacts.

#### [layers](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers)

- **Path**: `outputs.layers`
- **Type**: `array of objects (8 properties)`
- **Max items**: `16`

Layers decomposed from the reference image, returned when `settings.layerDecomposition` is enabled. Each layer is a PNG with transparency.

##### [description](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-description)

- **Path**: `outputs.layers.description`
- **Type**: `string`

Description of the layer content.

##### [boundingBox](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-boundingbox)

- **Path**: `outputs.layers.boundingBox`
- **Type**: `object (2 properties)`

Position of the layer on the base image, as \[left, top, right, bottom\].

##### [absolute](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-boundingbox-absolute)

- **Path**: `outputs.layers.boundingBox.absolute`
- **Type**: `array of integers`
- **Min items**: `items: 4`

Coordinates in pixels of the base image.

##### [normalized](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-boundingbox-normalized)

- **Path**: `outputs.layers.boundingBox.normalized`
- **Type**: `array of integers`
- **Min**: `0`
- **Max**: `1000`
- **Min items**: `items: 4`

Coordinates on a 0 to 1000 scale.

##### [name](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-name)

- **Path**: `outputs.layers.name`
- **Type**: `string`

Short name of the layer.

##### [url](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-url)

- **Path**: `outputs.layers.url`
- **Type**: `string`
- **Required**: true
- **Format**: `uri`

URL of the output image.

##### [uuid](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-uuid)

- **Path**: `outputs.layers.uuid`
- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

##### [zIndex](https://runware.ai/docs/models/bytedance-seedream-5-0-flash#response-outputs-layers-zindex)

- **Path**: `outputs.layers.zIndex`
- **Type**: `integer`
- **Required**: true
- **Min**: `1`

Stacking order of the layer.

## Examples

### text-to-image (text-to-image)

![Subsea Cable Repair Blog Hero](https://assets.runware.ai/examples/bytedance-seedream-5-0-flash/796eb6c1-1f80-454a-a754-d70090b83a84.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "ab9135d0-8685-43b8-9879-fb0f727fb996",
  "model": "bytedance:seedream@5.0-flash",
  "positivePrompt": "Landscape editorial photograph for a long-form technology and infrastructure article about subsea internet cable repair. On the open stern deck of a working cable-repair ship, a marine technician in weathered orange waterproof coveralls and a white safety helmet carefully inspects the freshly raised end of a thick black fiber-optic cable held in a steel cable engine; the exposed cross-section reveals fine concentric layers and tiny colored optical fibers, technically plausible and sharply detailed. Wet winches, rollers, chains, hydraulic machinery, and coiled cable establish the real industrial setting without clutter. Frame the technician and cable mechanism in the right half of the image, viewed from a slightly elevated three-quarter angle, with generous clean negative space across the ocean and pale sky on the left for a blog headline added later. Cold North Atlantic dawn, low slate-blue waves, sea mist, rain-slick metal, soft overcast light broken by a narrow warm amber band at the horizon. Restrained palette of steel blue, charcoal, safety orange, and muted amber. Premium documentary photojournalism, tactile realism, subtle film grain, crisp subject detail, natural atmospheric depth, serious and quietly heroic mood, no logos, no lettering, no interface, no border, no staged advertising look.",
  "width": 1536,
  "height": 1024
}
```

---

### reference-to-image (reference-to-image)

![Forensic Entomologist Profile Avatar](https://assets.runware.ai/examples/bytedance-seedream-5-0-flash/26e00526-72ef-4a3e-9e35-15599a1fe7fa.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "50e70c1d-386f-4fa0-9d5c-d42ff5650c65",
  "model": "bytedance:seedream@5.0-flash",
  "positivePrompt": "Create a sophisticated stylized profile portrait for the forensic entomologist shown in reference image 1. Preserve their recognizable facial structure, skin tone, hairstyle, age, and defining features. Render the portrait as a contemporary hand-cut linocut and screen-print illustration with crisp carved contours, tactile ink grain, and selective flat color. Meaningfully incorporate the exact emerald, violet, and copper iridescent colors and distinctive wing-case markings of the carrion beetle in reference image 2 into a structured high collar and a symmetrical specimen-inspired halo behind the head; keep the person fully human, professional, and approachable rather than costumed or fantastical. Head-and-shoulders composition, direct gaze, calm analytical expression, centered with generous breathing room, strong silhouette, and all important facial details inside a circle-safe central area for use across professional social profiles and podcast platforms. Warm bone-paper background, dark charcoal linework, controlled jewel-tone accents, polished editorial finish. One standalone portrait only, no insects on the face, no gore, no laboratory scene, no text, no letters, no logo, no border, no interface or mockup.",
  "width": 1024,
  "height": 1536,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/1dc8e9cc-9480-4e4c-af60-193528837eaa.jpg",
      "https://assets.runware.ai/assets/inputs/d7d48fb8-3c17-4a34-b168-48d734b3c746.jpg"
    ]
  }
}
```

---

### transparent-background (transparent-background)

![Fresnel Lens Museum Wall Art](https://assets.runware.ai/examples/bytedance-seedream-5-0-flash/487a02af-59f3-48e6-adf2-70abeb4ed714.png)

```json
{
  "taskType": "imageInference",
  "taskUUID": "e9a12b0d-51f3-4dbc-bc19-d6f1267763cd",
  "outputFormat": "PNG",
  "model": "bytedance:seedream@5.0-flash",
  "positivePrompt": "Edit the reference cutout into premium square wall art for a maritime museum gift shop. Preserve the exact recognizable silhouette, concentric glass optics, brass framework, proportions, and straight-on orientation of the antique lighthouse Fresnel lens. Render it as an intricate Japanese katazome-inspired stencil illustration with crisp hand-cut contours, layered indigo and pale-cyan glass facets, warm persimmon highlights, muted brass-gold structural details, and subtle carved-paper texture within the subject. Center the complete lens with generous, balanced clearance on all sides. Keep the subject entirely isolated on a genuinely transparent background with clean alpha edges; no floor, scenery, backdrop, cast shadow, frame, border, lettering, labels, signature, or watermark. Finished print-ready decorative artwork, refined detail, restrained museum-quality palette.",
  "width": 1024,
  "height": 1024,
  "settings": {
    "background": "transparent"
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/8378e073-3c60-4ed1-aba1-e30e191b919d.png"
    ]
  }
}
```

---

### layer-decomposition (layer-decomposition)

![Heritage Seed Journal Cover](https://assets.runware.ai/examples/bytedance-seedream-5-0-flash/e548a8c4-309e-41d7-b37d-a71209e38a37.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "6bd40104-a937-4833-aae8-97bec359a874",
  "model": "bytedance:seedream@5.0-flash",
  "resolution": "2K",
  "settings": {
    "layerDecomposition": true
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/81d19d0b-7637-4908-9c26-6880eda8a41e.jpg"
    ]
  }
}
```