About Seedream 5.0 Flash
Seedream 5.0 Flash layer decomposition takes one image_url and returns a base plate plus up to sixteen transparent layers.
Call it with the model name bytedance/seedream-5.0-flash/layer-decomposition on POST /jobs/createTask, from $0.026.
Introduction
Seedream 5.0 Flash Layer Decomposition splits one finished image into a base plate and up to sixteen transparent PNG layers, one per element, each with a name and its position in the original. Use it when you want reusable pieces: a headline you can rewrite, a person you can move into another design, a product you can put on a new background.
Developed by ByteDance (model ID dola-seedream-5-0-flash-260915).
Choose a Seedream 5.0 Flash mode by starting material
| Starting material | Mode |
|---|---|
| A written brief for a new picture | Seedream 5.0 Flash Text to Image |
| One to ten images to revise or combine | Seedream 5.0 Flash Image Editing |
| A finished image whose parts you need separately | Seedream 5.0 Flash Layer Decomposition |
Key features
Automatic or directed splitting
With no prompt the model picks the main elements itself. On our retro film poster that meant eight images: the base plate plus the diner, a distant car, the neon sign, the woman, the tagline, the LATE SHIFT title and the ADMIT ONE stub.
Layers that know where they belong
Every layer carries a short name and a bounding box in the base plate's pixels. Scale each PNG into its box over the base plate and the original comes back, so the pieces can go straight onto a canvas in their original arrangement.
A repaired base plate
The elements that were lifted out are removed and the background is filled in, so the base plate stands on its own. On the poster it was a clean rainy street; on the ballroom scene it was an empty hall.
Transparent layers, always PNG
Every layer is a transparent PNG. output_format only changes the base plate.
Request parameters
| Parameter | Required | Description |
|---|---|---|
image_url | Yes | The picture to start from. |
output_format | No | File type of the result. jpeg · png · Default: jpeg |
prompt | No | Describe what you want to make. |
resolution | No | Choose an available output size. auto · 1k · 1.5k · 2k · Default: auto |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per image |
|---|---|
| Standard | $0.026 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Rewrite a poster headline
Take the title layer out, redraw it in your design tool, and place it back at its box over the base plate.
Reuse a subject in new templates
Lift the person or product as a transparent PNG and drop it into another layout.
Clean scenes for compositing
Keep the base plate as an empty set and add your own elements.
Prompt guide & pro tips
Start with no prompt
Leave prompt out and see what the model separates.
Name what you want
When you write a prompt it must be at least 3 characters. Point at the elements you care about: "the dancing couple and the chandelier" returned exactly those two layers plus the base plate on the ballroom scene.
Circle an element with a bounding box
Add <bbox>x1 y1 x2 y2</bbox> after the element's name, using 0-1000 coordinates from the top-left corner.
Separate the title text <bbox>179 58 809 197</bbox> and the parrot <bbox>330 274 641 991</bbox> into independent layersPut layers back with their boxes
Each boundingBox is [x1, y1, x2, y2] in the base plate's pixels. The PNG is often delivered larger than its box, so scale it to the box's width and height rather than pasting it at its own size.
API quick start
Call the Seedream 5.0 Flash API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model bytedance/seedream-5.0-flash/layer-decomposition and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "bytedance/seedream-5.0-flash/layer-decomposition",
"input": {
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"resolution": "auto",
"output_format": "jpeg"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
About the Seedream 5.0 Flash Layer Splitter endpoint
Each layer comes with a short English name, its stacking order and a bounding box in the base plate's pixel space, which makes it straightforward to rebuild the composition in a canvas editor.
It is priced lower than Seedream 5.0 Pro's layer endpoint and suits drafts and high volume.
The request needs only image_url, plus output_format and resolution, so it slots into an upload flow without extra UI.
Examples
Seedream 5.0 Flash API questions
How much does the Seedream 5.0 Flash API cost?
Seedream 5.0 Flash starts at $0.026 per image with Layer Splitter, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Seedream 5.0 Flash · Layer Splitter API?
Resolutions: auto · 1K · 1.5K · 2K; Prompt length (characters): 5,000; Largest upload: 30 MB. Requests outside these limits are rejected before anything is charged.

