The fastest path: AI agent + skill
The recommended way to use varg is through 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