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: pngwithbackground: transparent. A JPEG always stays opaque. - Size choices:
resolutiontakes1k,1.5k,2kor4k, andaspect_ratiotakes eight values.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The 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 |
background | No | Keep, remove or replace the background. auto · transparent · opaque · Default: auto |
image_urls | Yes | Photos to edit or combine. Say in the prompt what each one adds. |
output_format | No | File type of the result. png · jpeg · Default: png |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose 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.
| Option | USD 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_ratioyourself: 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
- 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.
- 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.
- 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.