Skip to main content
POST

Authorizations

Authorization
string
header
required

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

application/json
model
enum<string>
required

Public image model name.

Available options:
nano-banana,
doubao-seedream-3-0-t2i-250415,
kling-image,
kling-omni-image,
kolors-virtual-try-on-v1,
kolors-virtual-try-on-v1-5
Example:

"dall-e-3"

prompt
string
required

Image generation description. This can be omitted for the virtual try-on model.

n
integer
default:1

Number of images to generate.

size
enum<string>

Size or resolution representation.

Available options:
1024x1024,
1024x1792,
1792x1024
quality
enum<string>

Quality level.

Available options:
standard,
hd
style
enum<string>

Style

Available options:
vivid,
natural
response_format
enum<string>

Response format.

Available options:
url,
b64_json
user
string

User ID

Response

200 - application/json

Image generated successfully

created
integer
data
object[]