Skip to main content
POST
seedream-5.0-pro

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

Seedream 5.0 Pro.

Available options:
seedream-5.0-pro
prompt
string

For ordinary student images, this field is mandatory; it can be omitted for layered images. The mandatory conditions are verified by the server-side code.

quality
enum<string>

The default setting is 2K for regular images and 1K for layered images; quality=auto is not supported; 1.5K is not yet available.

Available options:
1K,
2K
size
string

The proportion or size of ordinary live images is transmitted; layer splitting is omitted or set to auto. Ordinary auto is rejected by the adapter.

max_images
integer

Normal single image; this field does not limit the number of layers returned upon splitting.

Required range: 0 <= x <= 1
images
string[]

Maximum 10 images for regular submissions; 1 image for submissions with split layers or transparent backgrounds. Submit via URL or Base64.

Maximum array length: 10
output_format
enum<string>

Transparent backgrounds are only supported for PNG files.

Available options:
jpeg,
png
background
enum<string>

Optional; transparent requires an input image and PNG; auto is not accepted.

Available options:
opaque,
transparent
watermark
boolean

Watermark switch; if omitted, the current interface is set to false.

extends.layer_decomposition
boolean

Layer separation switch; to activate, a single input image is required, with a fee charged per resolution.

extends.optimize_prompt_options.mode
enum<string>

Prompt word optimization mode.

Available options:
fast,
standard
metadata
string

Business transparent transmission information, supports emojis.

Response

Business response. code=0 means the task was accepted; validation failures can return HTTP 200 with code=400.

code
enum<integer>
required
Available options:
0
Example:

0

data
object
required
msg
string
required
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"