Get API key

by ByteDance

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

bytedance/seedream-5.0-flash/editFrom 5 creditsper image · $0.05
  • Up to 2K
  • Up to 10 reference images
  • 15 aspect ratios
  • Create Image
  • Edit Image
  • Layer Splitter

About Seedream 5.0 Flash

Seedream 5.0 Flash edit takes a prompt and one to ten image_urls and returns one image, typically in about 42 seconds.

Call it with the model name bytedance/seedream-5.0-flash/edit 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 Image Editing changes or combines the images you supply according to a written instruction. It reads one to ten references, so it works both as a revision tool and as a way to assemble a scene from separate photos.

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

Ten references, each with a job

Assign roles by position. The result was one woman on that balcony in that gown.

Scene changes that keep the subject

A rooftop portrait moved into a rainy neon alley: same man, same open shirt and pose, now soaked, with pink and teal signs reflected on wet ground and skin.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. auto · 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: auto
backgroundNoKeep, remove or replace the background. opaque · transparent · Default: opaque
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
output_formatNoFile type of the result. jpeg · png · Default: jpeg
promptYesDescribe the image to produce from the references, and what each reference contributes.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 1.5k · 2k · Default: 2k

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

Restyle a photo without reshooting

Change wardrobe, weather, time of day or location and name what must stay.

Combine face, outfit and place

Use one reference per ingredient and say which is which.

Build a character set

Reuse a face across scenes while changing wardrobe and setting.

Relight a finished frame

Ask for a new source, direction or color of light and keep the subject fixed.

Prompt guide & pro tips

Name every reference

Put the images in image_urls in the order your prompt uses them. Say what each contributes and what to leave alone.

  1. First image: the person to keep.
  2. Add other references only for a specific role.
  3. State what must not change.
  4. Describe the new setting and light.

Edit from the original

Long chains of edits drift. Go back to the source frame and change one thing at a time.

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/edit 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/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "auto",
    "resolution": "2k",
    "output_format": "jpeg",
    "background": "opaque"
  }
}'

# 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 Edit Image endpoint

It is a cheap way to put the same person into many settings: send their photo with every request and give it a role in the prompt.

Avoid long edit chains, which drift; always edit from the original source frame.

All sizes cost the same, so request 2k.

background transparent is available for cut-out outputs.

A practical pattern is a character pipeline: store one clean portrait per character and send it with every scene request, naming it as the person in the prompt.

Text added in edits follows the same rules as generation: quote the copy and say where it sits, then check spelling before publishing.

Seedream 5.0 Flash API questions

How much does the Seedream 5.0 Flash API cost?

Seedream 5.0 Flash starts at 5 credits ($0.05) per image with Edit Image, 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 are the limits of the Seedream 5.0 Flash · Edit Image API?

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

More about Seedream 5.0 Flash