doubao-seedream-5.0, doubao-seedream-5.0-lite, and doubao-seedream-5.0-pro, with text-to-image and image-to-image support.
All requests are forwarded to Volcengine Ark through GregAPI. You do not need to sign requests yourself; just carry the GregAPI API Key in the header.
Model overview
Per-model notes
doubao-seedream-5.0: the base Seedream 5.0 with online search for broader knowledge, reference consistency, and professional scene quality; supports text-to-image, image-to-image, text-to-group, multi-image-to-group, and streaming.doubao-seedream-5.0-lite: the lightweight Seedream 5.0 with better speed and cost; capabilities match the base (group generation, streaming, online search).doubao-seedream-5.0-pro: built for high-precision creation; supports interactive editing (coordinate / bounding box / arrow localization) and layer decomposition (1 base image + up to 16 layers); does not support text-to-group, streaming, or online search.
Endpoint
Endpoint
Request headers
doubao-seedream-* model name to a Doubao / VolcArk channel (ChannelTypeVolcArk) to access it through the unified OpenAI-style interface.
Request parameters
Base parameters (OpenAI-compatible)
Group-generation and streaming parameters such as
stream=true, tools, sequential_image_generation, and sequential_image_generation_options only apply to models that support them (5.0 and 5.0-lite); 5.0-pro does not support these.
Volcengine Ark-specific parameters
Base64 reference image format
Each reference image inimage must be a publicly accessible image URL, or one of these complete Data URIs:
- JPEG:
data:image/jpeg;base64,<full Base64> - PNG:
data:image/png;base64,<full Base64>
/9j/... or iVBOR... is parsed as a URL and may return HTTP 400 or InvalidParameter. response_format="b64_json" only controls the output format and will not automatically add a prefix for the input image.
Response format
Non-streaming response
Base64 response (response_format=b64_json)
b64_json is raw Base64 without a Data URI prefix. To reuse the generated result as an image input, prepend data:image/jpeg;base64, or data:image/png;base64,.
Examples
Text-to-image
doubao-seedream-5.0 / doubao-seedream-5.0-lite, simply replace model (and optionally the size tier).
Image-to-image (Base64 Data URI)
Replace<full JPEG image Base64> with the full Base64 of a JPEG image, keeping the leading data:image/jpeg;base64,. For PNG images, use data:image/png;base64, instead.
data[0].b64_json. For a single image, image can also be written as a single complete Data URI string.
FAQ
How to choose a model?
- For high-precision editing, precise localization, and layer decomposition: use
doubao-seedream-5.0-pro. - For group generation, streaming, online search, or broader knowledge and consistency: use
doubao-seedream-5.0ordoubao-seedream-5.0-lite(lite is more cost-effective).
How long is the image URL valid?
Generated image URLs are usually valid for 24 hours. Download and save them to your own storage within the validity period.How to remove the watermark?
Set"watermark": false in the request body to disable the model watermark (provided the current model and account configuration allow it).
What to do when images won’t upload for image-to-image?
- Confirm the
imagefield uses a publicly accessible HTTPS URL or a complete Data URI (e.g.data:image/jpeg;base64,<full Base64>); - On
InvalidParameter/invalid url specified, check whether bare Base64 was passed by mistake, and add a prefix matching the actual format; response_format="b64_json"is an output setting and cannot replace the Data URI prefix required for input images;- For large images, compress them in advance to avoid exceeding the upstream size limit.
Billing
- Billed by the number of successfully generated images;
- Failed generations are usually not billed (subject to the upstream bill);
- See the Doubao Seedream entries under “Model Pricing” in the console for specific prices.