Skip to main content
POST
/
v1
/
video
/
generations
Generate video
curl --request POST \
  --url https://api.siray.ai/v1/video/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": 8,
  "model": "google/veo-3.1-t2v",
  "prompt": "example_value"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for video generation models

duration
enum<string>
required

Fixed duration

model
string
required
prompt
string
required

Response

Successful response

Response object