Developer API

Build with the ViralOps API

Programmatic access to AI video generation, text-to-speech, and intelligent agents. Generate videos, chat with AI, and convert text to speech — all via simple REST endpoints.

100 free credits/monthBearer token auth5 API endpoints

Everything You Need

Full-featured REST API for AI video creation, intelligent chat, and audio generation.

Video Generation

Generate AI videos from text prompts. 5 providers with automatic fallback. Budget, fast, and 4K standard quality tiers.

POST /api/v1/generate-video

AI Chat Agents

Chat with specialized AI agents — creative director, campaign builder, onboarding, support, and voice assistant.

POST /api/v1/chat

Text-to-Speech

40+ voice personas powered by OpenAI TTS. Generate natural speech in multiple languages with speed control.

POST /api/v1/tts

Video Status

Poll video generation status with real-time progress updates. Get download URLs when generation completes.

GET /api/v1/video/:id

Usage Tracking

Monitor API usage, credit consumption, and rate limits. Track requests by endpoint with daily breakdowns.

GET /api/v1/usage

Webhooks

Get notified when videos complete, credits run low, or subscriptions change. Coming soon.

Coming Soon

Simple Integration

Generate your first video in under 5 minutes.

curl -X POST https://viralops.ca/api/v1/generate-video \
  -H "Authorization: Bearer vg_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cinematic drone shot of a mountain lake at sunrise",
    "duration": 8,
    "aspect_ratio": "16:9",
    "quality": "fast"
  }'

# Response:
# {
#   "video_id": "abc-123",
#   "status": "processing",
#   "estimated_time": "30-45 seconds",
#   "poll_url": "/api/v1/video/abc-123"
# }

API Pricing

Start free, scale as you grow. All tiers include full API access.

Free

$0forever
Credits100/mo
Rate Limit10/min
  • Budget video quality
  • Creative Director agent
  • Basic TTS voices
  • Community support
Most Popular

Startup

$99/month

$79/mo billed yearly

Credits5,000/mo
Rate Limit60/min
  • All video quality tiers
  • All AI agents
  • All TTS voices
  • Email support

Business

$499/month

$399/mo billed yearly

Credits25,000/mo
Rate Limit300/min
  • All video quality tiers
  • All AI agents
  • All TTS voices
  • Priority support

Enterprise

Custom
Credits100,000+/mo
Rate Limit1,000/min
  • All tiers + priority queue
  • All agents + custom agents
  • Custom TTS voices
  • Dedicated support
FeatureFreeStartupBusinessEnterprise
Monthly Credits1005,00025,000100,000
Rate Limit10/min60/min300/min1,000/min
Video QualityBudgetAll tiersAll tiersAll + priority
AI Agents1 agentAll agentsAll agentsAll + custom
TTS VoicesBasicAll voicesAll voicesCustom voices
SupportCommunityEmailPriorityDedicated

Get Started in Minutes

Create an account, grab your API key, and start generating AI videos programmatically. 100 free credits every month — no credit card required.