Prerequisites
- Cursor installed
- A
VARG_API_KEY— get one at app.varg.ai
Setup
1
Install the varg skill
In your project directory:This installs the varg skill with full context into Cursor’s skills directory.
2
Set your API key
Create a
.env file:3
Add docs reference (optional)
In Cursor settings, add the varg docs as a reference:This gives Cursor access to the full documentation when generating code.
4
Create a .cursorrules file
Add a
.cursorrules file to your project root with the following content:5
Start creating
Open Cursor and try:
- “Create a 10-second vertical video of a cat dancing”
- “Make a product showcase video for sneakers”
- “Generate a talking head video with TikTok captions”
Example prompts for Cursor
Quick video
Multi-scene
With voiceover
Troubleshooting
Type errors in TSX files
Make sure you have the vargai package installed:Cursor suggests wrong imports
The.cursorrules file should fix this. Make sure it specifies the varg API pattern:
Slow completions
Cursor may take longer on first use while indexing the project. Subsequent suggestions are faster.Next steps
- Browse Templates for copy-paste examples
- Check Components for all JSX components
- See AI Models for the full model catalog