by ByteDance

Create & Edit up to 2K

bytedance/seedream-5.5/layer-decomposition
  • Up to 2K
  • Up to 100 per run
  • Create Image
  • Edit Image
  • Layer Splitter

About Seedream 5.5

Seedream 5.5 is ByteDance's newest Seedream image model. It makes images from a prompt, edits with up to ten pictures, and splits a finished image into a base and transparent layers. Sizes run from 1K to 4K in eight aspect ratios, and PNG output can have a transparent background.

Call it with the model name bytedance/seedream-5.5/layer-decomposition on POST /jobs/createTask, from $0.0195.

Introduction

Seedream 5.5 Layer Decomposition splits a finished PNG or JPEG into an opaque base image and separate transparent layers.

Key features

  • Named layers: each layer comes back with a name, a stacking order and a bounding box. The base image has no bounding box.
  • A count you set: num_outputs takes 2 to 100 and counts the base image. The default is 10.
  • A ceiling, not a promise: a limit of six returned six images from a menu, and a limit of five returned four from a three-line poster.
  • PNG layers: layers are always transparent PNG, and output_format only sets the base image.

Request parameters

ParameterRequiredDescription
image_urlYesThe picture to start from.
num_outputsNoHow many results to make in one go. ≥ 2 · ≤ 100 · Default: 10
output_formatNoFile type of the result. png · jpeg · Default: png
promptNoDescribe what you want to make.
resolutionNoChoose an available output size. auto · 1k · 1.5k · 2k · Default: auto

Pricing

Prices are in USD. The API uses a separate USD balance. Website credits cannot be used or transferred to it, and API funds cannot be transferred to website credits. When a task is accepted, we reserve the maximum quoted amount from your API 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.

OptionUSD per image
resolution 1.5K$0.0195
resolution 1K$0.0195
resolution 2K$0.027
resolution auto$0.027

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

  • Menus: separate each element so one line can change without redrawing the page.
  • Posters: split lettering into independent text layers.
  • Design files: turn a flat image into pieces you can move and restyle.

Prompt guide & pro tips

  • Start from a source of at least 512 x 512 pixels, in PNG or JPEG.
  • Name the pieces in prompt if you want specific ones. Leave it out and the model picks the main elements.
  • Mark a region with <bbox>x1 y1 x2 y2</bbox>, using coordinates from 0 to 1000.
  • Raise num_outputs for finer layers. A higher limit usually splits the image into smaller pieces.
  • Keep resolution on auto to follow the source, or pick 1k, 1.5k or 2k.

API quick start

Call the Seedream 5.5 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-. API calls use your separate USD balance.
  2. Send the request. POST /jobs/createTask with model bytedance/seedream-5.5/layer-decomposition 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.5/layer-decomposition",
  "input": {
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "num_outputs": 10,
    "resolution": "auto",
    "output_format": "png"
  }
}'

# 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.

Seedream 5.5 API questions

How much does the Seedream 5.5 API cost?

Seedream 5.5 starts at $0.0195 per image with Layer Splitter, its cheapest task. Prices by option: 1.5K $0.0195 per image, 1K $0.0195 per image, 2K $0.027 per image, auto $0.027 per image. The API uses a separate USD balance. When a task is accepted, we reserve the maximum quoted amount from your API 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.5 · Layer Splitter API?

Resolutions: auto · 1K · 1.5K · 2K; Outputs per call: 2–100; Prompt length (characters): 5,000; Largest upload: 30 MB. Requests outside these limits are rejected before anything is charged.

More about Seedream 5.5