Seedream 4.5 - image generation API

Seedream 4.5 API

active

Seedream 4.5 — ByteDance's cutting-edge image generation model. Supports text-to-image and image editing with basic/high quality modes.

ByteDance / KIEimage12 credits/call
Provider
ByteDance / KIE
Pricing
~$0.024 per image (12 credits)
Speed
3–10 seconds
Output
image

Quick Start

Send a request to the Seedream 4.5 API:

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

API Endpoint

POST/api/v1/images/generations
Send a POST request with your API key to generate content using Seedream 4.5.

Headers

HeaderTipoRequeridoDescripción
AuthorizationstringRequeridoBearer YOUR_API_KEY
Content-TypestringRequeridoapplication/json

Body Parameters

ParámetroTipoRequeridoDescripción
modelstringRequeridoModel identifier: "seedream-4-5"
promptstringRequeridoText description of the image
modelstringOpcionalSub-model: "seedream/4.5-text-to-image" or "seedream/4.5-edit" (Predeterminado: seedream/4.5-text-to-image)
aspect_ratiostringOpcionalAspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 (Predeterminado: 1:1)
qualitystringOpcionalQuality level: "basic" or "high" (Predeterminado: basic)
image_urlsarrayOpcionalArray of image URLs for edit mode (required for seedream/4.5-edit)

Example Request

json
{
  "model": "seedream/4.5-text-to-image",
  "prompt": "A serene mountain lake at sunrise with reflections, photorealistic",
  "aspect_ratio": "16:9",
  "quality": "high"
}

Example Response

Successful task creation response.

{
  "code": 200,
  "message": "success",
  "data": {
    "task_id": "n30xxxx_seed",
    "status": "IN_PROGRESS"
  }
}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}
Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
bash
curl https://apiin.one/api/v1/tasks/task_abc123 \
  -H "Authorization: Bearer aio_your_key"

Use Cases

  • Generate high-quality images from text descriptions
  • Edit existing images with text instructions
  • Create product visuals and marketing assets
  • Build AI image tools powered by ByteDance technology

API Tester

Test the Seedream 4.5 API directly from your browser:

Consola de APIPOST

Error Codes

{
  "error": {
    "code": 400,
    "message": "Invalid parameters",
    "type": "invalid_request"
  }
}

Frequently Asked Questions

How much does Seedream 4.5 cost?

Each image costs 12 credits (~$0.024), 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).

Why Use Seedream 4.5 Through API in One?

1ByteDance's latest image generation technology
2Both text-to-image and image editing
3Webhook support for async workflows
4Basic and high quality modes

Ready to use Seedream 4.5?

Get Your API Key →