Skip to main content
POST
Generate image

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for image generation models

model
enum<string>
required

Model name to use for the request

Available options:
bytedance/seedream-5.0-pro-t2i-spicy
prompt
string
required

Text prompt for generation

size
enum<string>
required

Fixed size

Available options:
1024x1024,
1152x864,
864x1152,
1424x800,
800x1424,
1248x832,
832x1248,
1568x672,
2048x2048,
2368x1776,
1776x2368,
2816x1584,
1584x2816,
2496x1664,
1664x2496,
3136x1344
output_format
enum<string>

Output format for the 3D model

Available options:
jpg,
png

Response

200 - application/json

Successful response

Standard async task creation response

code
string
required

Status code returned by the service

Example:

"success"

data
object
required

Response payload containing task details

message
string
required

Additional information about the request result