by ByteDance

Create & Edit up to 4K

bytedance/seedream-5.5/edit
  • Up to 4K
  • Up to 10 reference images
  • 8 aspect ratios
  • 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/edit on POST /jobs/createTask, from $0.0195.

Introduction

Seedream 5.5 Image Editing changes existing pictures from a written instruction. It takes 1 to 10 images in image_urls.

Key features

  • Several sources: call the pictures Image 1, Image 2 and so on, and say what each one adds.
  • Stable areas: ByteDance describes unedited areas staying stable across more than 100 rounds of editing. Testing covered shorter changes: an outfit and location change, and a two-picture cafe scene that kept a mug logo.
  • Transparent PNGs: combine output_format: png with background: transparent. A JPEG always stays opaque.
  • Size choices: resolution takes 1k, 1.5k, 2k or 4k, and aspect_ratio takes eight values.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 21:9 · Default: 1:1
backgroundNoKeep, remove or replace the background. auto · transparent · opaque · Default: auto
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
output_formatNoFile type of the result. png · jpeg · Default: png
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 1k · 1.5k · 2k · 4k · Default: 2k

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 4K$0.0525

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

  • Outfit and location changes: put the person from a portrait in a new coat on a rainy street.
  • Products in a scene: bring a mug from Image 2 into the hands of the person in Image 1.
  • Targeted fixes: change one marked part of a picture and keep the rest.

Prompt guide & pro tips

  • Set aspect_ratio yourself: an edit doesn't follow the shape of the input, and leaving it out gives 1:1.
  • Say what stays: list the details to keep as well as the change you want.
  • Point at a spot: boxes, arrows or coordinates marked on an input can locate the edit.
  • Allow a few minutes: an edit can take several minutes, so keep polling the task rather than using a short timeout.

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/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.5/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": "1:1",
    "resolution": "2k",
    "output_format": "png",
    "background": "auto"
  }
}'

# 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 Edit Image, its cheapest task. Prices by option: 1.5K $0.0195 per image, 1K $0.0195 per image, 2K $0.027 per image, 4K $0.0525 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 · Edit Image API?

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

More about Seedream 5.5