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/text-to-image on POST /jobs/createTask, from $0.04.
Introduction
Seedream 4.5 Text to image draws one image from a written prompt on Seedream 4.5, ByteDance's image model, at 2K or 4K in eight aspect ratios. For changing or combining pictures, use Seedream 4.5 Image Editing.
Choose a model by what you need
| What you need | Model |
|---|---|
| a new image from words alone | Seedream 4.5 Text to image (you are here) |
| edit, restyle or combine up to 14 pictures | Seedream 4.5 Image Editing |
Key features
Text that comes out as quoted
A film poster with its title and bottom line and a perfume bottle with its engraved name were spelled correctly in our tests. ByteDance says text rendering is better in 4.5. We only tried English.
Eight ratios
From 21:9 to 9:16. At 2k, 16:9 is 2848 x 1600, 3:2 is 2496 x 1664 and 1:1 is 2048 x 2048.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Describe the image to generate: subject, composition, style, lighting and any exact text in quotes. |
resolution | No | Output size. Bigger sizes look sharper and cost more. 2k · 4k · Default: 2k |
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 |
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
Posters and ads
A title, a tagline and a product name in one picture. Quote each string and place it.
Cinematic frames
Wide 21:9 and 16:9 stills with a lens, a palette and a light source named.
Group scenes and portraits
Four friends at a pool, a couple dancing close, a boxer in an old gym: several people with their own outfits in one frame.
Prompt guide & pro tips
Quote the text, then place it
Write "NOIR VELOURS" in quotes, then say where it goes and how it looks: engraved in gold on the bottle. Keep the strings short enough to read at the size you choose.
Name the light and the lens
A single beam of warm gold light from the left, 50mm, shallow depth of field, film grain. These details shape the result more than adjectives do.
Give each person their own sentence
For group scenes, describe each person by outfit and action in turn, as in the four-friends pool prompt.
Plan for different results
There is no seed, so the same prompt returns a different image each time. Save the ones you like and keep the prompt with them.
Describe what you want
There is no negative prompt. Say what is in the frame, not what to leave out.
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/text-to-image 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/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"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 Create 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 is the model name for Seedream 4.5 in the API?
Put bytedance/seedream-4.5/text-to-image for Create Image; bytedance/seedream-4.5/edit for Edit Image in the model field of POST /jobs/createTask.
How good is the text in the picture?
In our tests a film poster's title THE VELVET HOUR and its line IN CINEMAS THIS WINTER came out letter for letter, and so did a perfume bottle's NOIR VELOURS and EAU DE PARFUM. We only tried English. ByteDance says text rendering improved in 4.5.
Can I keep a result by using a seed?
There is no seed field. Identical requests return different images, so save the images you like and keep the prompt next to them.
How do I keep my picture's shape when editing?
Editing has no auto ratio. Choose the ratio closest to your source, from 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3 and 21:9.
How large are the images?
About 4 megapixels at 2k and about 16 at 4k. In text to image a 3:4 image at 2k is 1728 x 2304 and a 21:9 image at 4k is 6240 x 2656. Editing follows your source picture a little, so sizes can differ slightly.
What does ByteDance say is new in 4.5?
According to ByteDance, 4.5 improves fine detail, the overall visual consistency of a picture, the understanding of spatial relationships and prompt control, recognises the main subject more accurately when you edit with several images, and renders text better.
What are the limits of the Seedream 4.5 API?
Resolutions: 2K · 4K; Aspect ratios: 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 +2; Prompt length (characters): 3,000. Requests outside these limits are rejected before anything is charged.
Can I try Seedream 4.5 without writing code?
Run Seedream 4.5 in the Playground with your API USD balance, without an API key. Each run appears in your developer history with its matching code.
All Seedream models
- Seedream 5.0 Pro APIHigh-detail images and edits from up to ten referencesFrom $0.036 per image
- Seedream 5.0 Flash APIQuick Seedream images, edits and layer splits up to 2KFrom $0.026 per image
- Seedream 5.0 Lite APIFixed-size 2K frames that keep a series consistentFrom $0.0345 per image
- Seedream 4.5 APIExact text in 2K and 4K images, with edits from up to 14 referencesFrom $0.04 per image
- Seedream 4.0 APIExact sizes up to 4096×2304 and ten-reference editsFrom $0.03 per image
More about Seedream 4.5
- Endpoints
- Seedream 4.5 · Edit Image