Skip to main content
Seedream 5.0 Pro is ByteDance’s high-precision image generation and editing model, available through the AnyFast API. Use it for text-to-image, single-image editing, multi-reference image generation, and local edits that need explicit position or element control. Use model ID doubao-seedream-5-0-pro.

Key capabilities

  • Text-to-image — Generate one image from a text prompt.
  • Image-to-image — Pass one reference image with a prompt to edit or regenerate an image.
  • Multi-reference image generation — Pass up to 10 reference images with a prompt.
  • Interactive editing — Use natural language, marked regions, points, bounding boxes, arrows, or annotations to control where edits happen.
  • Native multilingual text — Generate text in languages such as Russian, Arabic, Filipino, Thai, Turkish, Korean, Malay, Spanish, Portuguese, Indonesian, French, German, Vietnamese, and Japanese.
  • Output control — Use size, response_format, output_format, and watermark to control the generated image.
Seedream 5.0 Pro does not support grouped image generation, web search, or streaming output. Do not rely on sequential_image_generation, sequential_image_generation_options, tools, or stream with this model.

Quick examples

Image editing

Pass image as a URL, a Base64 data URI, or an array of image URLs/data URIs. Seedream 5.0 Pro supports up to 10 reference images.
cURL
For coordinate-based edits, include <point> or <bbox> tags in the prompt. Coordinates should refer to the target image region.

Input image limits

Seedream 5.0 Pro follows the official Seedream input image limits:
  • Supported formats: jpeg, png, webp, bmp, tiff, gif, heic, and heif.
  • Each image must be no larger than 30 MB.
  • Aspect ratio must be between 1/16 and 16.
  • Width and height must each be at least 14px.
  • Total pixels must be no more than 6000x6000 = 36,000,000 px.
  • You can pass up to 10 reference images.

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be doubao-seedream-5-0-pro
promptstringYesText prompt for image generation or editing. Official guidance recommends keeping prompts concise enough that details do not get diluted.
imagestring or arrayNoReference image URL/Base64 data URI, or an array of references. Required for image editing. Maximum 10 reference images.
sizestringNoOutput size. Use 1K, 2K, or a pixel size such as 2048x1024. Pixel sizes must satisfy the official total-pixel and aspect-ratio limits.
response_formatstringNourl or b64_json. Defaults to url. URLs are temporary and should be saved promptly.
output_formatstringNopng or jpeg. Defaults to jpeg.
watermarkbooleanNoWhether to add the AI-generated watermark. Official default is true; set false to disable it.
optimize_prompt_optionsobjectNoPrompt optimization options. Use mode: "standard". Official documentation says fast mode is not supported for Seedream 5.0 Pro.

Size notes

Seedream 5.0 Pro supports two size styles:
  • Resolution tiers: 1K and 2K. Describe the aspect ratio in the prompt when using a tier.
  • Explicit pixels: widthxheight, such as 2048x1024. The official total pixel range is from 1280x720 to 2048x2048x1.1025, and the aspect ratio range is [1/16, 16].

API Reference

View the interactive API playground for Seedream 5.0 Pro.