seedream-5.0-pro
Generate or edit one image using the doubao-seedream-5-0-pro model. This model supports text-to-image, single-image editing, and up to 10 reference images. Grouped image generation, web search, and streaming output are not supported.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Model ID.
doubao-seedream-5-0-pro "doubao-seedream-5-0-pro"
Text prompt for image generation or editing. For coordinate edits, include tags such as or in the prompt.
"Add a ceramic coffee cup to the marked area and keep the original composition."
Reference image URL/Base64 data URI, or an array of reference images. Required for image-to-image editing. Seedream 5.0 Pro supports up to 10 reference images. Official input limits: formats jpeg/png/webp/bmp/tiff/gif/heic/heif; each image up to 30 MB; aspect ratio between 1/16 and 16; width and height at least 14px; total pixels up to 36,000,000.
Output image size. Use 1K, 2K, or explicit pixels such as 2048x1024. Explicit pixel sizes must satisfy the official total-pixel and aspect-ratio limits.
Generated image return format. URL links are temporary and should be saved promptly.
url, b64_json Generated image file format.
png, jpeg Whether to add the AI-generated watermark.
Prompt optimization options. Use standard mode. Official documentation says fast mode is not supported for Seedream 5.0 Pro.