Make your first Vinci API call and poll job status in 5 minutes (Python & JavaScript).
pip install requests
# No extra deps needed for fetch in Node 18+. For older versions, use node-fetch.
curl -X POST "https://tryvinci.com/api/v1/generate/text-to-video" \ -H "Authorization: Bearer sk-your-api-key-here" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A serene sunset over a calm lake", "duration_seconds": 5, "aspect_ratio": "16:9" }'
curl -X GET "https://tryvinci.com/api/v1/status/your-request-id" \ -H "Authorization: Bearer sk-your-api-key-here"
Was this page helpful?