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",
    "prompt": "A cat sitting by a window watching rain",
    "image_url": "https://example.com/cat.png",
    "private": true
  }'
{
  "id": "video_xxx",
  "status": "queued"
}
Create a video in private mode. When private is set to true, the generated video will not be publicly visible.

Request Parameters

model
string
required
Model name: sora-2 or sora-2-pro.
prompt
string
required
Video description prompt.
image_url
string
URL of an input image to use as a starting frame.
private
boolean
Enable private mode. Defaults to true.
curl -X POST https://www.anyfast.ai/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "prompt": "A cat sitting by a window watching rain",
    "image_url": "https://example.com/cat.png",
    "private": true
  }'
{
  "id": "video_xxx",
  "status": "queued"
}