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

image
string
required

Input image for generation, it can be data URL or image URL

model
enum<string>
required

Model name to use for the request

Available options:
bytedance/seedream-4.5-i2i-spicy
prompt
string
required

Text prompt for generation

size
enum<string>
required

Fixed size

Available options:
2048x2048,
2304x1728,
1728x2304,
2560x1440,
1440x2560,
2496x1664,
1664x2496,
3024x1296

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