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 '{
  "model": "bytedance/seedream-3.0-t2i",
  "prompt": "example_value",
  "size": "2048x2048"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for image generation models

model
string
required

Model name to use for the request

Allowed value: "bytedance/seedream-3.0-t2i"
prompt
string
required
size
enum<string>

Fixed size

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

Response

Successful response

Response object