Fastest: connect the MCP server
Nothing to install and no API key to copy. Add the hosted varg MCP server to your AI tool and sign in with your varg account when the browser opens. Your assistant gets native tools forgenerate_image, generate_video, generate_speech, generate_music, and render_video, plus the full model catalog.
- Claude Code
- Cursor
- VS Code
- Claude.ai / ChatGPT
/mcp inside Claude Code to sign in.ai.varg/mcp.
For full videos: AI agent + skill
For finished multi-scene videos with captions, lipsync, music, and transitions, use an AI coding agent (Claude Code, Cursor, Windsurf, etc.) with the varg skill installed. The skill gives your agent full context on components, models, prompting, and rendering.1
Get your API key
Sign up at app.varg.ai and copy your API key.
2
Install the varg skill
3
Set your API key
4
Create your first video
First render takes 1-2 minutes (AI generation). Subsequent runs with the same prompts are instant (cached at $0).
Pricing
1 credit = 1 cent. Typical costs:
A typical 3-clip video costs $2-5. Cache hits are always free. Live catalog: api.varg.ai/v2/pricing.
Alternative: Cloud Render (curl only)
No installation needed. Submit TSX code to the Render API via curl:Cloud render uses
fal.*Model() syntax — provider globals are auto-injected server-side. See the Render API reference for full details.Alternative: Local Render (bun + ffmpeg)
For full control, render videos locally. Requires Bun and ffmpeg.Installation
- Bun (recommended)
- npm
Set your API key
Create a.env file in your project root:
Your first video
Createhello.tsx:
Add music
Add voiceover with captions
Project structure
Recommended layout:Next steps
Components Reference
All JSX components and their props
AI Models
All supported models with pricing
Templates
Copy-paste examples for common video types
Cloud Render API
Submit TSX via API — zero local dependencies
API Reference
Every REST endpoint, async jobs, errors and billing
OpenAPI Spec
OpenAPI 3.1 spec for generating typed clients