Seedream 5.0 Pro Text-to-Image
Supported models include dola-seedream-5-0-pro-260628. This document covers Text-to-Image scenarios. Public fields include model, prompt, size, response_format, and watermark.
Model Capabilities
- Generate single image (does not support sequential_image_generation)
- Text-to-Image: Input 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."
Specifies the dimensions of the generated image. Supports the following two methods, which cannot be used at the same time:
-
Method 1 (Recommended): Specify the resolution level of the generated image, and describe its aspect ratio, shape, or purpose in the prompt using natural language. The model determines the final image size.
- Default:
2K - Available values:
1K,1.5K,2K - Pricing note:
1.5Khas the same price as1Kwhile providing better image generation quality.
- Default:
-
Method 2: Specify the width and height of the generated image in pixels (
widthxheight):- Total pixels range: [
1280x720(921,600),2048x2048x1.1025(4,624,220)] - Aspect ratio range: [1/16, 16]
- Note: When using Method 2, both the total pixel range and aspect ratio range must be satisfied. The total pixel limit applies to the product of width and height, rather than to either dimension individually.
- Valid example:
2048x1024(Total pixel count: 2048x1024=2,097,152; aspect ratio: 2048/1024=2) - Invalid example:
512x512(Total pixel count: 512x512=262,144, below 921,600 minimum)
- Valid example:
- Total pixels range: [
Resolution to Pixel Reference Values (Method 1):
"2K"
Specifies how generated images are returned. Supported options:
url: Returns a download URL for the image; valid for 24 hours after generation.b64_json: Returns image data as a Base64-encoded string in JSON.
url, b64_json Controls whether to add a watermark to the generated image.
false: Does not add a watermark.true: Adds an "AI-generated" watermark in the lower-right corner of the image.