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" }'
Copy
{ "task_id": "xxx", "status": "processing"}
Unified Video Format (sora*-all)
Create Video with Character
Generate video with a character reference
POST
/
v1
/
video
/
create
Copy
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" }'
Copy
{ "task_id": "xxx", "status": "processing"}
Generate a video with a specific character using a character ID from the create character API.
Character ID obtained from the create character API.
Copy
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" }'