Seedream Image Generation
Generate images using Volcano Engine’s Seedream model, supporting single-image and batch modes, with optional versions 4.0, 4.5, or 5.0-lite (synchronous).
- max_images = 1: Generate a single image.
- max_images > 1: Generate a batch of images, up to N images.
- max_images not set: Automatic batch mode, up to 15 images.
Generate images using ByteDance’s Seedream model, supporting both single image and multi-image modes. Key Features:Documentation Index
Fetch the complete documentation index at: https://docs.sinancode.com/llms.txt
Use this file to discover all available pages before exploring further.
- Multi-Version Support - Supports 5.0-lite (default), 4.5, and 4.0
- Flexible Output Modes - Single image (
max_images=1) or multi-image (max_images=2-15) - Text-to-Image & Image-to-Image - Generate from text or reference images (up to 14)
- HD Output - 5.0-lite supports 2K/3K, 4.5/4.0 supports 2K/4K, or specify exact resolution
Authorizations
Please use your API Token for authentication
Body
Task parameters
Prompt (required, recommended not to exceed 300 Chinese characters or 600 English words)
1 - 2000"把这张照片变成黏土风格。放在一张拍立得照片中..."
Input images (optional, supports multiple reference images, up to 14) Example: ["https://example.com/1.jpg", "https://example.com/2.jpg"]
[
"https://media.sinancode.com/uploads/1765851887405-rfpmtj1u.png"
]Maximum number of images (optional, default 1)
- Set to 1: Generate a single image (disables group image function)
- Set to 2-15: Generate a group of images, up to N images (input image count + generated count ≤ 15)
1 <= x <= 154
Image size (optional, default 2K) Two formats are supported:
- Tier: 2K, 3K (for 5.0-lite) or 2K, 4K (for 4.5/4.0), where the model automatically determines the aspect ratio based on the prompt
- Exact resolution: width x height, e.g., "2048x2048", "2560x1440"
"2K"
Model version (optional, default 5.0-lite) Available values: 4.0, 4.5, 5.0-lite
4.0, 4.5, 5.0-lite "5.0-lite"
Response
OK
Task ID
"01234567-89ab-cdef-0123-456789abcdef"