POST
/
v1
/
videos
curl -X POST https://www.anyfast.ai/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "storyboard": [
      {"prompt": "Scene 1: A sunrise over mountains", "duration": 5},
      {"prompt": "Scene 2: A river flowing through a valley", "duration": 5}
    ]
  }'
{
  "id": "video_xxx",
  "status": "queued"
}
Create a video by providing a storyboard — an array of scene objects, each with its own prompt and duration.

Request Parameters

model
string
required
Model name: sora-2 or sora-2-pro.
storyboard
array
required
Array of scene objects. Each scene has a prompt (string) and duration (number, seconds).
curl -X POST https://www.anyfast.ai/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "storyboard": [
      {"prompt": "Scene 1: A sunrise over mountains", "duration": 5},
      {"prompt": "Scene 2: A river flowing through a valley", "duration": 5}
    ]
  }'
{
  "id": "video_xxx",
  "status": "queued"
}