curl -X POST https://www.anyfast.ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "sora-2", "messages": [ { "role": "user", "content": [ {"type": "text", "text": "Animate this image with gentle camera movement"}, { "type": "image_url", "image_url": { "url": "https://example.com/image.png" } } ] } ] }'
{ "id": "chatcmpl-xxx", "object": "chat.completion", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Video generation started." } } ] }
Create video from an image using chat completions format
image_url
sora-2