Seedream 5.0 Pro Image-to-Image
Supported models include dola-seedream-5-0-pro-260628. This document covers Image-to-Image and Multi-Image Reference Generation scenarios. Public fields include model, prompt, image, size, response_format, and watermark.
Model Capabilities
- Generate single image (does not support sequential_image_generation)
- Multi-Image Generation: Input multiple reference images (2-10) + text prompt to generate a single image.
- Single Image Generation: Input single reference image + text prompt to generate a single image.
- Sequential image generation, web search, and streaming output are not supported.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
Image generation model name. Supported models include dola-seedream-5-0-pro-260628 (Seedream 5.0 pro, supports interactive editing, does not support sequential image generation).
dola-seedream-5-0-pro-260628 Prompt for image generation, supports Chinese and English. It is recommended not to exceed 300 Chinese characters or 600 English words. Too many words may disperse information, causing the model to ignore details and focus only on key points, resulting in missing elements in the image.
"Dynamic close-up editorial portrait with sharp gaze, sculptural hat, rich color blocking."
Input image information, supports URL or Base64 encoding. Supports single or multiple image inputs.
- Image URL: Ensure the image URL is accessible.
- Base64 encoding: Follow the format
data:image/<image_format>;base64,<Base64_encoded>. Note that<image_format>should be lowercase, e.g.,data:image/png;base64,<base64_image>.
Notes:
- Single image requirements:
- Format: jpeg, png, webp, bmp, tiff, gif, heic, heif
- Aspect ratio (width/height) range: [1/16, 16]
- Width/height (px) > 14
- Size: no more than 30MB
- Total pixels: no more than 6000×6000 = 36000000 px (limit on the product of width and height, not individual values)
- Seedream 5.0 pro supports up to 10 reference images.
Specifies the size of the generated image, supports specifying resolution level (e.g., 2K) or width and height pixel values (e.g., 2048x2048), which cannot be mixed.
dola-seedream-5-0-pro-260628 (Seedream 5.0 pro) Supports the following two methods, which cannot be mixed:
-
Method 1 (Recommended): Specify resolution level and describe aspect ratio, shape, or purpose in the prompt. The model determines the final image size.
- Default: 2K
- Options: 1K, 2K
-
Method 2: Specify width and height pixel values (widthxheight).
- Total pixel range: [
1280x720(921600),2048x2048×1.1025(4624220)] - Aspect ratio range: [1/16, 16]
- Total pixel range: [
Note: When using Method 2, both total pixel range and aspect ratio range must be satisfied. Total pixels refers to the product of width and height, not individual values.
- Valid example:
2048x1024Total pixels 2048x1024=2097152, within [921600, 4624220]; aspect ratio 2048/1024=2, within [1/16, 16], so valid.- Invalid example:
512x512Total pixels 512x512=262144, below 921600 minimum, so invalid.
Resolution to pixel reference values when using Method 1 (not limited to these standard values, common ones listed):
"2K"
Specifies the return format of the generated image. Supported options:
url: Returns image download URL; valid for 24 hours after generation.b64_json: Returns image data as Base64 encoded JSON.
url, b64_json Whether to add watermark to generated images.
false: No watermark.true: Add "AI Generated" watermark at bottom right corner.