ByteDance Seedream Image Generation
The strongest image generation model under ByteDance.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View Docs
Seedream API
ByteDance AI Image Generation
Generate and edit images using Seedream 5.5, 5.0 Flash, 5.0 Pro, 5.0 Lite, and 4.x models. 5.5 supports transparent image generation and layer separation with text recognition; for 4K output, choose a supported Lite or 4.x model.
Why Choose Seedream?
Seedream is an AI image generation model developed by ByteDance, known for exceptional image quality, precise text understanding, and rich aesthetic expression. The Seedream 5.0 series ranks among the industry leaders in multiple image generation benchmarks, performing particularly well in understanding Chinese prompts.
Ace Data Cloud offers a complete Seedream API proxy service—you don't need to apply for a ByteDance API account or deal with regional restrictions. Generate high-quality images through a simple REST API, with support for both text-to-image generation and image editing.
Seedream API Core Features
From text descriptions to stunning images—Seedream offers comprehensive image generation and editing capabilities
Text-to-Image (T2I)
Generate high-quality images from text descriptions. Supports Chinese and English prompts, with precise understanding of complex semantics and detailed, realistic results.
Image Editing (I2I)
Upload an original image and describe your intended edits. The SeedEdit model intelligently modifies image content while maintaining a consistent overall style.
Multiple Resolution Support
5.5 and 5.0 Flash support 1K, 1.5K, and 2K; 5.0 Lite and 4.x models offer a 4K option. See the API documentation for specific size constraints.
Sequential Image Generation
Enable the sequential_image_generation option to generate a series of images with a consistent style, ideal for comics and storyboards.
Streaming Output
Supports stream mode, returning generated results progressively. Significantly improves the waiting experience for high-resolution images.
Watermark Control
Use the watermark parameter to flexibly control whether an AI-generated watermark is added, meeting compliance requirements for different use cases.
import requests
response = requests.post(
"https://api.acedata.cloud/seedream/images",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "doubao-seedream-5-0-pro-260628",
"prompt": "a white siamese cat"
}
)
data = response.json()
print(data)JSON Response
The following response is excerpted from the existing API guide and shows the fields used to read the result. The sample model, task identifier, and media content come from that historical example; refer to the actual values returned for this request.
{
"success": true,
"task_id": "c0aae74d-4442-4563-b620-3da86bae5434",
"trace_id": "581c4721-83e2-41a3-b7d8-b64378604bed",
"data": [
{
"prompt": "a white siamese cat",
"size": "1024x1024",
"image_url": "https://platform.cdn.acedata.cloud/seedream/819386b9-fab6-4bf3-acc6-df29f53c7248.jpg"
}
]
}
Send a Request to Generate an Image
Send a POST request with a text prompt to instantly receive a high-quality generated image.
Prepare Request Parameters
Choose a model and provide a text prompt. You can also specify dimensions using size.
Send the Generation Request
POST to /seedream/images to directly receive the URL of the generated image
Or Use Callback Notifications
Set callback_url to notify your server via POST when generation is complete
What can Seedream be used for?
From creative design to business applications—Seedream is used in these scenarios
Social Media Content
Quickly generate eye-catching social media images, cover images, and post visuals
E-commerce Assets
Generate product images, scene images, and ad creatives in batches to reduce design costs
Game & Concept Design
Generate game characters and scene concept art—quickly validate creative ideas and visual directions
Content Illustrations
Automatically generate matching high-quality images for articles, blogs, news, and more
Get Started in 3 Steps
From signing up to generating your first image, it only takes a few minutes
Sign Up and Get an API Key
Log in to the application list, open General Application, and click the copy button to the right of API KEY. Store the Key on the server and use it to replace YOUR_API_KEY in the example.
Send an Image Generation Request
POST to /seedream/images, passing in a text prompt and model name.
Get the Generated Result
Get the generated image URL directly from the response, then download and use it.
Compared with Direct ByteDance API Access
Ace Data Cloud lets you avoid registration, authentication, and regional restrictions
| Feature | Ace Data Cloud | Direct ByteDance Access |
|---|---|---|
| Registration Requirements | Free registration, instant access | Requires a ByteDance account application |
| Regional Restrictions | Available worldwide | ✗ Restricted in some regions |
| API Style | Unified REST API | ByteDance native SDK |
| Billing | Pay as you go, top up and start using | Requires a signed agreement |
| Technical Support | 7×24 online support | Ticket-based |
Choose the Right Seedream Model
From text-to-image generation to image editing—multiple models cover different creative needs
Seedream 5.5
Supports multi-turn image editing, native transparent image generation, and splitting into up to 99 layers. Returns text and styles for recognized text layers.
Seedream 5.0 Flash
Suitable for high-frequency single-image generation and reference image editing, with support for 1K to 2K, transparent image editing, and layer splitting.
Seedream 5.0 Pro
Fine EditingSeedream 5.0 Pro supports high-precision single-image generation, interactive editing, transparent backgrounds, and layer splitting (image sets / streaming / web access not supported), making it suitable for professional design workflows.
- ✓ Top-tier single-image quality
- ✓ 1K / 1.5K / 2K resolution
- ✓ Text-to-image + multi-image-to-image + layer splitting
- ✓ Choice of output formats
- ✓ Billed per image based on actual output size
Seedream 5.0 Lite
5.0 Image SetsA balanced version in the 5.0 series. Supports image set generation, streaming output, and web search, balancing quality and cost for batch and continuous creation.
- ✓ High-quality images
- ✓ 2K / 3K / 4K
- ✓ Image sets + streaming + web access
- ✓ Choice of output formats
- ✓ Billed by number of successfully generated images
Seedream 4.5
Previous-generation flagshipThe previous-generation flagship model. Excels in image quality, text comprehension, and aesthetic expression. Supports continuous image generation and streaming output.
- ✓ Excellent image quality
- ✓ 2K / 4K
- ✓ Continuous image generation
- ✓ Streaming output
Seedream 4.0
StableA mature and stable flagship model. It strikes the best balance between image quality and cost-effectiveness, making it suitable for most production scenarios.
- ✓ High-quality images
- ✓ 1K / 2K / 4K
- ✓ Sequential image generation
- ✓ Streaming output
Seedream API Pricing
Billing is based on successful outputs. Prices depend on the model, use case, and actual output size. The task query API is completely free.
| Model | Type | Unit price (per image) |
|---|---|---|
| Seedream 5.5 | Output image / Reference image | Output 0.34 or 0.59 Credits, reference image 0.13 Credits |
| Seedream 5.0 Flash | Successfully generated image | 0.31 Credits |
| Seedream 5.0 Pro | Standard single image / Layer separation | Tiered by size |
| Seedream 5.0 Lite | Text-to-image / Image sets | Based on the number of successfully generated images |
| Seedream 4.5 | Text-to-image | 0.42 Credits |
| Seedream 4.0 | Text-to-image | 0.34 Credits |
The task query API /seedream/tasks is completely free
Frequently Asked Questions
Everything you need to know about using the Seedream API
What is Seedream? ▾
Seedream is a family of AI image generation models developed by ByteDance, offering text-to-image (T2I) generation and image editing (I2I). The models are known for excellent text comprehension, visual aesthetics, and detailed rendering, with output resolutions up to 4K.
Is image editing supported? ▾
Yes! Seedream 5.5, 5.0 Flash, 5.0 Pro, 5.0 Lite, 4.5, and 4.0 all support passing the original image as a URL or Base64 encoding in the image parameter, then describing the desired edits in prompt to make local changes or transform the overall style.
How long does image generation take? ▾
The time varies depending on the model, output size, and task type. You can set callback_url to receive results asynchronously.
Which resolutions are supported? ▾
Seedream 5.5, 5.0 Pro, and 5.0 Flash support 1K/1.5K/2K for standard generation, with auto also supported for layer separation; 5.0 Lite supports 2K/3K/4K; 4.5 supports 2K/4K; and 4.0 supports 1K/2K/4K. Standard generation also supports explicit dimensions within each model's pixel count and aspect ratio limits.
How do I choose a model? ▾
Use Seedream 5.5 for multi-turn editing, native transparent images, or layer separation with OCR, and 5.0 Flash for low-latency single-image generation or editing; choose Seedream 5.0 Lite when you need image sets, streaming, or web search. See the live pricing page for current Credits unit prices.
What is sequential image generation? ▾
Set sequential_image_generation: "auto", and the Seedream 5.0 Lite, 4.5, and 4.0 models will generate a series of images based on your input, with consistent styles and related content (Seedream 5.0 Pro does not support image sets). This is suitable for scenarios requiring visual consistency, such as comic panels, storyboards, and product series displays.
How can I split an image into editable layers? ▾
Use Seedream 5.5, 5.0 Pro, or 5.0 Flash, provide an image, and set layer_decomposition: true. The API returns a base image and transparent PNG layers. 5.5 returns up to 99 layers, while 5.0 Pro and Flash return up to 16 layers. Each layer has a z_index, name, description, and bounding box; you can reassemble them on a canvas using their layer order and coordinates.
Can the watermark be turned off? ▾
Yes. Set watermark: false in the request to turn off the AI-generated watermark. The watermark is enabled by default. Please use AI-generated content labels appropriately in accordance with local regulations.
Explore More AI Image and Video Services
We offer a variety of AI creative tools—from images to videos to music
Seedance API
ByteDance AI video generation—text-to-video and image-to-video, from the same product family
Nano Banana API
Gemini-powered image generation and editing
Flux API
Black Forest Labs image generation—fast, high-quality AI image creation
Suno API
AI music generation—create custom songs and instrumental music via API
Start Using the Seedream API Today
Generate high-quality AI images with a simple API call. Pay as you go—no subscription fees, no commitments.
ByteDance Seedream image generation API allows you to input text to generate images.
ByteDance Seedream Task Query API
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFF
