Use this in the request body model field.
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.
The currently implemented BFF route.
Input types: text, image
Keys are managed by the shared dashboard.
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.
POST/api/v1/images/generations12 creditsSeedream 4.5 — ByteDance's cutting-edge image generation model. Supports text-to-image and image editing with basic/high quality modes.
Parameters
promptstringText description of the image
RequiredmodelstringSub-model: "seedream/4.5-text-to-image" or "seedream/4.5-edit"
Optional · Default seedream/4.5-text-to-imageaspect_ratiostringAspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9
Optional · Default 1:1qualitystringQuality level: "basic" or "high"
Optional · Default basicimage_urlsarrayArray of image URLs for edit mode (required for seedream/4.5-edit)
OptionalExample 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.
/api/v1/images/generations/api/v1/images/generations
grok-imagineimage · 5 credits/api/v1/images/generations
kling-image-o1image · 6 credits/api/v1/images/generations✦ideogram-v3image · 8 credits/api/v1/images/generations🌐imagen-4image · 8 credits/api/v1/images/generationsIntegration flow
These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.
Create a shared API key
Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.
Call the real endpoint
Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/images/generations
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)
Use cases
These workflows are supported by the current model and backend node.
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
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).