POST
/
v1
/
video
/
create
curl -X POST https://www.anyfast.ai/v1/video/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "prompt": "A person walking through a park in autumn",
    "character_id": "char_xxx"
  }'
{
  "task_id": "xxx",
  "status": "processing"
}
Generate a video with a specific character using a character ID from the create character API.

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/video/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "prompt": "A person walking through a park in autumn",
    "character_id": "char_xxx"
  }'
{
  "task_id": "xxx",
  "status": "processing"
}