About Seedream 4.5
Exact text in 2K and 4K images, with edits from up to 14 references.
Call it with the model name bytedance/seedream-4.5/edit on POST /jobs/createTask, from $0.04.
Introduction
Seedream 4.5 Image Editing changes, restyles or combines pictures from a prompt on Seedream 4.5, ByteDance's image model. It takes one to fourteen references, which you name Image 1, Image 2 and so on, and returns one image at 2K or 4K. For a new picture from words alone, use Seedream 4.5 Text to image.
Choose a model by what you need
| What you need | Model |
|---|---|
| a new image from words alone | Seedream 4.5 Text to image |
| edit, restyle or combine up to 14 pictures | Seedream 4.5 Image Editing (you are here) |
Key features
Up to fourteen references
A woman from one picture and a gown from another came together in one image in our tests. ByteDance says 4.5 recognises the main subject more accurately in multi-image edits.
Keeps her recognisable
In our tests the face, freckles and red hair carried over to a new outfit and a new place. Under a heavy restyle such as black and white, features shifted slightly.
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 |
image_urls | Yes | Photos to edit or combine. Say in the prompt what each one adds. |
prompt | Yes | Describe the image to produce from the references, and what each reference contributes. |
resolution | No | Output size. Bigger sizes look sharper and cost more. 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 |
|---|---|
| Standard | $0.04 |
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 swaps
Take a garment from one picture and put it on the person in another.
New scenes for one character
Move the same portrait to a terrace, a staircase or a street at another time of day.
Restyling
Turn a portrait into an era, a film look or a lighting mood.
Prompt guide & pro tips
Give every picture a job
Write "the woman from Image 1" and "the gown from Image 2". References are numbered in the order you list them.
Say what to keep
Name what must stay: her face, freckles and long red hair. Then give the change: the place, the outfit and the light.
Pick the closest ratio
There is no auto ratio. For a portrait, 3:4 or 2:3 keeps its shape; for a landscape, 4:3 or 3:2.
Do not rely on exact pixels
At 2k the output is about 4 megapixels and follows the source a little: the same 3:4 request came back at 1776 x 2352.
Expect a new image every time
There is no seed. Save results you like.
API quick start
Call the Seedream 4.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-4.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-4.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"
}
}'
# 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 4.5 API questions
How much does the Seedream 4.5 API cost?
Seedream 4.5 starts at $0.04 per image with Edit Image, its cheapest task. 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.
What are the limits of the Seedream 4.5 · Edit Image API?
Resolutions: 2K · 4K; Aspect ratios: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 +2; Reference images: 14; Prompt length (characters): 3,000; Largest upload: 30 MB. Requests outside these limits are rejected before anything is charged.
More about Seedream 4.5
- Endpoints
- Seedream 4.5 · Create Image