Back to Blog
EngineeringDec 15, 2025

Getting Started with the Vyzor AI API

A comprehensive guide to integrating our API into your marketing stack.

D

David Park

Author

Getting Started with the Vyzor AI API

Getting Started with the Vyzor AI API


The Vyzor AI API allows you to programmatically generate videos, manage projects, and integrate AI video generation into your existing workflows.


Authentication


All API requests require an API key:


curl -H "Authorization: Bearer YOUR_API_KEY" \

https://api.vyzor.ai/v1/videos


Creating Your First Video


const response = await fetch('https://api.vyzor.ai/v1/videos', {

method: 'POST',

headers: {

'Authorization': 'Bearer YOUR_API_KEY',

'Content-Type': 'application/json'

},

body: JSON.stringify({

prompt: 'A sleek smartphone rotating on a minimalist background',

duration: 10,

model: 'sora-2'

})

});


Webhooks


Set up webhooks to receive notifications when videos are ready:


{

"url": "https://your-domain.com/webhook",

"events": ["video.completed", "video.failed"]

}


Rate Limits


  • Free tier: 10 requests/minute
  • Pro tier: 100 requests/minute
  • Enterprise: Custom limits

Best Practices


1. Implement retry logic for failed requests

2. Cache video URLs to reduce API calls

3. Use webhooks instead of polling

4. Batch requests when possible


SDKs


We provide official SDKs for:

  • JavaScript/TypeScript
  • Python
  • Ruby
  • PHP

Check our documentation for SDK examples and installation instructions.

Ready to Create Your Own AI Videos?

Start creating professional video ads in minutes with Vyzor AI.

Get Started