Seedream Image Generation API
ByteDance Seedream AI image generation & editing service.
API home page: Ace Data Cloud - Seedream Image Generation
Keywords: seedream-api, ai-image, image-generation, image-editing, bytedance, doubao, seededit, text-to-image, rest-api, Ace Data Cloud
Get your Ace Data Cloud API key
- Open Ace Data Cloud → Applications. Sign in, or register an account first.
- Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
- Copy the API Key from the application card, or open Keys / Manage Keys → Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
- When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
- Copy only the token value, without quotation marks, spaces, or
Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.


Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
Trial account concurrency
Accounts with neither a successful paid top-up nor an administrator's manual credit addition may run one billable request at a time across the entire account, shared by all API keys and services. Rewards, redemption cards and transferred credits do not count as paid top-ups. A successful paid top-up or manual credit addition removes this trial restriction; balance and key usage-limit checks still apply.
A new billable request returns 429 too_many_requests while another is running. Wait for the active request's final result before submitting the next one. Free task polling remains available.
For async APIs, acceptance or a task ID is not completion: keep querying the same task until its final result. A disconnect or proxy timeout does not mean execution stopped. If a task has no terminal result for a long time, contact support with trace_id.
This restriction changes neither trial API availability nor pricing; fees are settled after execution based on actual usage.
Overview
The Seedream Images API generates, edits, streams, and decomposes images with doubao-seedream-4-0-250828, doubao-seedream-4-5-251128, doubao-seedream-5-0-lite-260128, and doubao-seedream-5-0-pro-260628. The Seedream Tasks API queries async task status.
Quick Start
curl --request POST "https://api.acedata.cloud/seedream/images" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"model": "doubao-seedream-5-0-lite-260128", "prompt": "a serene mountain lake at sunrise, photorealistic", "size": "2K"}'
Models
| Model |
Notes |
doubao-seedream-5-0-pro-260628 |
Single image, precise editing, transparent background, layer decomposition; 1K/1.5K/2K |
doubao-seedream-5-0-lite-260128 |
Sequential images, streaming, web search; 2K/3K/4K |
doubao-seedream-4-5-251128 |
4.5 |
doubao-seedream-4-0-250828 |
4.0 |
Key 5.0 operations
- Generate/edit:
prompt, optional image, model-specific size, output_format, and prompt optimization.
- Lite image sets:
sequential_image_generation: "auto" plus max_images; input + output ≤ 15.
- Pro transparent edit: one transparent PNG,
background: "transparent", output_format: "png".
- Pro layers: one PNG/JPEG,
layer_decomposition: true; returns a base plus up to 16 positioned PNG layers.
- Lite streaming:
stream: true with Accept: application/x-ndjson; do not combine with async/callback.
APIs and Guides
Related Resources