Skip to main content
This tutorial expands on the Quickstart by adding helpful context, checks, and best practices.

1) Create an API key and add credits

Authorization header
Warning Never store API keys in client-side code. Use environment variables or a secret manager.

2) Make your first generation request (Text-to-Video)

3) Poll the status endpoint

4) Common issues and tips

  • 401 Unauthorized → Check Authorization header
  • 402 Insufficient balance → Add credits
  • 429 Rate limit → Backoff and retry
  • Keep prompts clear and concise
  • Use shorter durations for tests
For comprehensive guidance on writing effective prompts, see the Prompting Guides. These guides cover fundamental principles, text-to-image techniques, and image-to-image workflows that will help you get better results from all Vinci services.

Next Steps