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 person dancing in a studio",
    "character_id": "char_xxx"
  }'
{
  "id": "video_xxx",
  "status": "queued"
}
Create a video with a specific character using the OpenAI-compatible video endpoint.

Request Parameters

model
string
required
Model name: sora-2 or sora-2-pro.
prompt
string
required
Video description prompt.
character_id
string
required
Character ID obtained from the create character API.
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 person dancing in a studio",
    "character_id": "char_xxx"
  }'
{
  "id": "video_xxx",
  "status": "queued"
}