Skip to main content
POST
Generate image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

The image generation model to use.

Available options:
doubao-seedream-5-0,
doubao-seedream-5-0-pro
Example:

"doubao-seedream-5-0"

prompt
string
required

Text prompt for image generation.

Example:

"A serene mountain landscape at sunrise with misty valleys"

image
string[]

Reference image URLs for image-to-image generation.

sequential_image_generation
enum<string>

Set to auto to enable batch generation.

Available options:
auto,
disabled
sequential_image_generation_options
object

Batch generation options.

size
string
default:1024x1024

Output image size, e.g. 1024x1024 or 2K.

Example:

"1024x1024"

watermark
boolean
default:false

Add a watermark to the output image.

seed
integer

Random seed for reproducibility.

logo_info
object

Logo overlay configuration.

Response

Images generated successfully

created
integer

Unix timestamp of the generation.

data
object[]