Seedream 4.5 iconImage APIActive

seedream-4-5 API

Generate images with ByteDance's Seedream 4.5 via API in One. Text-to-image and image editing. 12 credits per image (~$0.12). Webhook support.

Model IDseedream-4-5

Use this in the request body model field.

Endpoint/api/v1/images/generations

The currently implemented BFF route.

Outputimage

Input types: text, image

AuthBearer API key

Keys are managed by the shared dashboard.

WebhookSupported

Use callback_url on supported async tasks.

Live capabilities

These capabilities come from the current model config and backend route. Unreleased APIs are not listed.

ByteDance's latest image generation technology

ByteDance's latest image generation technology

Both text

Both text-to-image and image editing

Webhook support for async workflows

Webhook support for async workflows

Basic and high quality modes

Basic and high quality modes

Request format

Clients call same-origin API routes; the server BFF forwards to the matching Worker.

Parameters

promptstring

Text description of the image

Required
modelstring

Sub-model: "seedream/4.5-text-to-image" or "seedream/4.5-edit"

Optional · Default seedream/4.5-text-to-image
aspect_ratiostring

Aspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9

Optional · Default 1:1
qualitystring

Quality level: "basic" or "high"

Optional · Default basic
image_urlsarray

Array of image URLs for edit mode (required for seedream/4.5-edit)

Optional

Example request

curl -X POST https://apiin.one/api/v1/images/generations \
  -H "Authorization: Bearer aio_your_api_key" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "model": "seedream/4.5-text-to-image",
  "prompt": "A serene mountain lake at sunrise with reflections, photorealistic",
  "aspect_ratio": "16:9",
  "quality": "high"
}'

Models on the same endpoint

These live models use the same implemented BFF endpoint and can be switched by changing the model field.

Integration flow

These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.

01

Create a shared API key

Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.

02

Call the real endpoint

Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/images/generations

03

Poll task status

Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.

Task status route

After creating image, video, audio, or tool tasks, poll the real task endpoint for results.

GET/api/v1/tasks/{task_id}Check generation task status and result.

Pricing

~$0.12 per image (12 credits)

Base cost$0.12
Credits12
BillingSuccessful requests

Use cases

These workflows are supported by the current model and backend node.

01

Generate high-quality images from text descriptions

02

Edit existing images with text instructions

03

Create product visuals and marketing assets

04

Build AI image tools powered by ByteDance technology

FAQ

How much does Seedream 4.5 cost?

Each image costs 12 credits (~$0.12), for both text-to-image and image editing modes.

Does Seedream 4.5 support image editing?

Yes. Use the model "seedream/4.5-edit" with image_urls to edit existing images based on text instructions.

What quality levels are available?

Two quality levels: "basic" (standard quality) and "high" (enhanced quality).

Related live models