Skip to main content
POST
Edit images (OpenAI Dall-E compatible)

Authorizations

Authorization
string
header
required

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

Body

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-2"

image
file
required

Single-image input, commonly used for image-to-image and outpainting.

prompt
string
required

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

mask
file

Optional mask image

n
integer
default:1

Number of images to generate.

size
enum<string>

Size or resolution representation.

Available options:
256x256,
512x512,
1024x1024
response_format
enum<string>

Response format.

Available options:
url,
b64_json
user
string

Response

200 - application/json

Image generated successfully

created
integer
data
object[]