VCursor CLI
The command-line interface is the fastest way to interact with VCursor. Generate videos, manage configuration, and troubleshoot issues directly from your terminal.
Installation
curl -fsSL https://cli.vcursor.com/install.sh | bash
The installer automatically detects your operating system (macOS, Linux, Windows w/ WSL) and installs necessary dependencies.
Authentication
Log in with your API key to access paid features and higher rate limits.
vcursor login
Note: You can also set the VCURSOR_API_KEY environment variable for CI/CD environments.
Common Usage
The CLI uses smart detection to handle inputs. Simply pass text, files, or URLs in any order.
Text to Video
Generate videos from detailed text descriptions.
vcursor "cinematic drone shot"
Image to Video
Bring static images to life with motion.
vcursor ./image.jpg "animate water"
Agent Mode
Use "Agent Mode" for complex, multi-step tasks. The agent will plan, generate assets (images, audio), and edit them together into a final video.
vcursor --agent "create a 30s coffee commercial"
Command Reference
Comprehensive guide to all available flags and options.
Core & Workflow
--agentUse autonomous agent mode for complex tasks like video editing.
--agent "make a modal"--planPreview the execution plan without running it.
--plan "my prompt"--askChat with VCursor about technical questions or help.
--ask "how do I animate?"--mode <name>Force a specific generation mode (e.g., text2video, image2video).
--mode image2video-o, --outputSpecify the output file path.
-o ./result.mp4--openAutomatically open the file after generation.
--open--jsonOutput results in JSON format for scripting.
--jsonVideo Settings
--durationTarget duration for the video.
--duration "5s"--aspectRatioVideo aspect ratio.
--aspectRatio "16:9"--resolutionOutput resolution.
--resolution "1080p"--modelSpecific AI model to use.
--model "stable-video"Audio & Style
--voiceoverAdd AI voiceover text.
--voiceover "Hello world"--subtitlesGenerate subtitles for the video.
--subtitles--bgmAdd background music description.
--bgm "upbeat lofi"--soundEffectsAdd sound effects description.
--soundEffects "explosions"--visualStyleDefine a specific visual style.
--visualStyle "cyberpunk"