Skip to main content
POST
/
v1
/
images
/
generations
/
async
Generate image
curl --request POST \
  --url https://api.siray.ai/v1/images/generations/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "image": "example_value",
  "model": "black-forest-labs/flux-kontext-i2i-max",
  "prompt": "example_value"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for image generation models

image
string
required
model
string
required
prompt
string
required

Response

Successful response

Response object