SeeDream Image Generation API: High-Resolution Images in One Call, with a Real Example and Cost
SeeDream is a text-to-image / image-to-image model in ByteDance's Doubao family, with strengths in high resolution and visual quality—it can produce images at 2K/4K, making it well suited to product images, posters, and commercial still lifes that need to "look polished."
This article covers how to use the SeeDream API on Ace Data Cloud. The endpoint is POST https://api.acedata.cloud/seedream/images, and the documentation is at platform.acedata.cloud/documents/seedream-images. Go to the console to configure an application and Key with permission for the service you want to call. Before running, check the application's balance, permissions, and current pricing.
¶ First, a real image and its real cost
The image below is a minimalist studio shot generated with doubao-seedream-5-0-lite-260128. The actual cost recorded by the platform for this call was 0.3404 credits (list_amount 0.37)—not an estimate, but the amount actually deducted.

¶ Basic usage: text-to-image
The simplest usage is action: generate + an English prompt:
curl -X POST 'https://api.acedata.cloud/seedream/images' \
-H 'accept: application/json' \
-H 'authorization: Bearer {token}' \
-H 'content-type: application/json' \
-d '{
"action": "generate",
"model": "doubao-seedream-5-0-lite-260128",
"prompt": "A single matte blue cube centered on a clean white studio background, neutral lighting"
}'
In the response, data[].image_url is the generated image, and size is the actual pixel dimensions:
{
"success": true,
"task_id": "80ceeed1-17d4-4eb7-82e0-18b34290f36e",
"trace_id": "96b7fdc8-0fc8-4e2e-82a9-83c0a82f0a08",
"data": [
{
"prompt": "A single matte blue cube centered on a clean white studio background, neutral lighting",
"size": "2048x2048",
"image_url": "https://cdn.acedata.cloud/assets/examples/seedream/db93b46e-c302-4676-8a11-63f0ba638a27-1c6f66f6b7e8.jpg"
}
]
}
Image generation takes a little time. If you don't want to leave the request waiting, add "async": true to immediately return a task_id, then poll /seedream/tasks:
curl -X POST 'https://api.acedata.cloud/seedream/tasks' \
-H 'authorization: Bearer {token}' \
-H 'content-type: application/json' \
-d '{"id": "81246f86-05ff-4d7d-9553-1013e0c1cd32", "action": "retrieve"}'
¶ Image-to-image: change materials, switch styles, unify multiple images
To make changes based on an existing image, pass image (URL or Base64; multiple images are supported). For example, keep the model's pose unchanged and change only the clothing material from metal to transparent water:
{
"model": "doubao-seedream-4-0-250828",
"prompt": "Keep the model pose and the garment shape unchanged. Change the clothing material from silver metal to completely transparent water, showing skin details through the flow, refraction instead of reflection.",
"image": ["https://.../source.png"]
}
¶ How to choose a model and size
The service currently also offers 5.5, 5.0 Pro, and 5.0 Flash. See the API documentation for specific models and capabilities.
For model, pass the full model string (abbreviations like doubao-seedream-5.0-lite will return a 400). Some commonly used models:
doubao-seedream-5-0-lite-260128(5.0 Lite, used in this article's example)—supports 2K/3K/4K, image sets, streaming, and web search;doubao-seedream-5-0-pro-260628(5.0 Pro, flagship single-image model)—generates only one image, offers the highest image quality, and supports combining 1–10 input images;doubao-seedream-4-5-251128/doubao-seedream-4-0-250828—support single-image/multiple-image input, image editing, and image sets.
There are two ways to specify size, and they cannot be mixed:
- Preset resolution (
size: "2K"/"4K", etc.; supported options vary by model), with the aspect ratio described in natural language in the prompt; - Pixel dimensions (such as
size: "2048x2048"), with total pixel and aspect ratio ranges varying by model.
Other commonly used options: response_format (url by default / b64_json), watermark (true by default; can be turned off for commercial use), and output_format (jpeg / png, supported only by the 5.0 series).
¶ What to do with it
- E-commerce product images: Generate commercial-quality still lifes / scene images with a single prompt, replacing some studio photography;
- Posters and covers: Use high-resolution images directly for printing or large screens;
- Image sets / series: Use
sequential_image_generationto generate a set of related images with a consistent style in one go, making it easy to create galleries for content accounts.
Of these uses, "generating high-quality product images in batches" is something that can be monetized directly—it's exactly what many small merchants need. Put a link to the tool you use on your homepage and earn commissions through the Ace Data Cloud Revenue Alliance when users who sign up through you spend; or package the workflow above into a small "enter a description, generate product images in one click" tool and sell it to merchants. Your cost is the platform's usage-based charge (for example, 0.34 credits for the image above).
¶ Reference links
- Documentation: https://platform.acedata.cloud/documents/seedream-images
- Endpoint:
POST https://api.acedata.cloud/seedream/images - Get a Token: https://platform.acedata.cloud/console/applications
After confirming pricing and balance, first generate an image using the model in this article, then choose the appropriate size and API method.
