Get API key

by ByteDance

Quick Seedream images, edits and layer splits up to 2K

bytedance/seedream-5.0-flash/text-to-imageFrom 4 creditsper image · $0.04Layer Splitter
  • Up to 2K
  • Up to 10 reference images
  • 15 aspect ratios
  • Create Image
  • Edit Image
  • Layer Splitter
Retro film poster: a woman in a red trench coat holding a paper coffee cup stands by a rainy-night diner cart under a red neon sign, with a cream serif title reading LATE SHIFT, a tagline line beneath, and a yellow ADMIT ONE ticket stub at lower right.See examples

About Seedream 5.0 Flash

The Seedream 5.0 Flash API is the fast, flat-priced member of Seedream 5.0: text to image in about 30 seconds, edits in about 40, and a layer decomposition endpoint that returns up to sixteen named transparent layers with bounding boxes. One price covers 1K, 1.5K and 2K, so integrations can default to 2K.

Call it with the model name bytedance/seedream-5.0-flash/text-to-image on POST /jobs/createTask, from 5 credits per image ($0.05). New accounts get 30 free credits to try it in the Playground first.

Introduction

Seedream 5.0 Flash Text-to-Image creates a new image from a written brief. Use it for posters with real lettering, portraits, product and fragrance stills, and editorial or after-hours scenes when you want to start from words rather than a photo.

Developed by ByteDance (model ID dola-seedream-5-0-flash-260915).

Choose a Seedream 5.0 Flash mode by starting material

Starting materialMode
A written brief for a new pictureSeedream 5.0 Flash Text to Image
One to ten images to revise or combineSeedream 5.0 Flash Image Editing
A finished image whose parts you need separatelySeedream 5.0 Flash Layer Decomposition

Key features

Lettering that comes out as written

The perfume ad renders an accented headline correctly. Quote the exact copy and say where it sits.

5,000-character briefs

Enough for subject, wardrobe, light, lens and grade in a single prompt.

Request parameters

ParameterRequiredDescription
promptYesDescribe the image to generate: subject, composition, style, lighting and any exact text.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 1.5k · 2k · Default: 2k
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 4:5 · 5:4 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · Default: 1:1
output_formatNoFile type of the result. jpeg · png · Default: jpeg

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
Standard4.35$0.044

Each task is rounded up to whole credits, so one run at the lowest tier costs 5 credits per image ($0.05).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Film posters and ad stills

Put the title and tagline in quotation marks and describe the composition around them.

Portrait series for a character

Write one strong treatment, then carry the face into new scenes with the editing endpoint.

Prompt guide & pro tips

Write the shot

Say who or what is in frame, what they wear, where the light comes from and the lens or film feel.

  1. Choose the shape with aspect_ratio.
  2. Describe subject, wardrobe and setting.
  3. Name the light: direction, color and hardness.
  4. Quote any text exactly and say where it sits.
Retro film poster, portrait 3:4. A woman in a red trench coat holds a paper coffee cup in front of a rainy-night diner cart under a red neon sign.
Cream serif title across the top: "LATE SHIFT". Below it, a smaller line: "Some orders never get cancelled".
Yellow ticket stub in the lower right corner reading "ADMIT ONE".
Use only the supplied text, with no extra badges or logos.

API quick start

Call the Seedream 5.0 Flash API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model bytedance/seedream-5.0-flash/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
  3. 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/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1",
    "resolution": "2k",
    "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.

What to build with the Seedream 5.0 Flash API

  • Poster and ad generators with editable layer exports.
  • Character continuity across a series via reference edits.
  • Bulk creative drafts at a flat per-image cost.

Seedream 5.0 Flash parameter notes

  • resolution 1k, 1.5k and 2k cost the same; default to 2k.
  • image_urls on edit takes 1 to 10 references up to 30 MB each.
  • layer-decomposition returns each layer with a short English name, stacking order and bounding box.
  • aspect_ratio defaults to 1:1; set it explicitly.

How Seedream 5.0 Flash API pricing adds up

A flat per-image price for text to image and edit at any size, and a slightly lower flat price for layer decomposition.

  • Create Image: 5 credits ($0.05) per run, 500 credits ($5.00) for 100 runs

Async jobs, webhooks and rate limits

Every Seedream 5.0 Flash request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for bytedance/seedream-5.0-flash/text-to-image never runs or bills twice.

Common Seedream 5.0 Flash API errors

errorCodeWhat it usually means and how to fix it
invalid_assetA reference over 30 MB or in an unsupported format.
invalid_requestMore than ten references.
content_rejectedA refused prompt or reference image.

Seedream 5.0 Flash API questions

How much does the Seedream 5.0 Flash API cost?

Seedream 5.0 Flash starts at 4 credits ($0.04) per image with Layer Splitter, its cheapest task. Credits are the same as on the website (1 credit = $0.01), new accounts get 30 free credits, and failed tasks are refunded.

What is the model name for Seedream 5.0 Flash in the API?

Put bytedance/seedream-5.0-flash/text-to-image for Create Image; bytedance/seedream-5.0-flash/edit for Edit Image; bytedance/seedream-5.0-flash/layer-decomposition for Layer Splitter in the model field of POST /jobs/createTask.

What does Seedream 5.0 Flash layer decomposition return?

A base plate and up to sixteen transparent layers, each named, ordered and positioned with a bounding box.

How fast is Seedream 5.0 Flash?

About 30 seconds for text to image and 40 for edits.

Does resolution change the Seedream 5.0 Flash price?

No, all sizes cost the same.

What are the limits of the Seedream 5.0 Flash API?

Resolutions: 1K · 1.5K · 2K; Aspect ratios: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 +9; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

Can I try Seedream 5.0 Flash without writing code?

Yes. The Playground runs Seedream 5.0 Flash on your PopNow credits, needs no API key, and shows the matching code for every run.

All Seedream models

Seedream 5.0 Pro spends more on material detail for final frames and costs more at 2K. Flash is the faster, cheaper way to work through ideas.

More about Seedream 5.0 Flash