Doubao Seedream Official Image API

Generate or edit Seedream images

Seedream 5.0 Pro creates one precision image and supports multiple references. Seedream 5.0 and 4.5 support image sequences; 5.0 can also use native web-search tools. Unsupported fields vary by model, so only send fields supported by the selected model.

post/api/v3/images/generations

Request

  • Base URL: https://api.ccapi.ai
  • URL: https://api.ccapi.ai/api/v3/images/generations
  • Auth: none declared

Request body

model'doubao-seedream-5-0-pro-260628' | 'doubao-seedream-5-0-260128' | 'doubao-seedream-4-5-251128' required
optimize_prompt_optionsobject
promptstring required

Generation or editing instruction.

response_format'url' | 'b64_json'
sequential_image_generationstring

Image-sequence control for models that support it.

sizestring

Native resolution tier such as 1K, 2K, or 4K, or a supported explicit pixel size.

streamboolean

Stream supported sequence outputs. Not supported by Seedream 5.0 Pro.

toolsobject[]

Native tools supported by the selected model, including web search on Seedream 5.0.

watermarkboolean

Example request

{
  "sequential_image_generation": "auto",
  "size": "2K"
}

Response

Successful image generation

createdinteger
modelstring

Changes

No recorded changes to this operation across all 1 revision of this API.