ai-vid
v0.1.0
Published
AI Video Generation CLI with bunli + AI SDK
Downloads
95
Readme
ai-vid
AI Video Generation CLI with bunli + AI SDK. Supports Google Veo and FAL AI.
Install CLI
# Install globally with Bun (recommended)
bun add -g ai-vid
# Or clone and build
git clone https://github.com/aryasaatvik/ai-vid
cd ai-vid
bun install
bun run buildUsage
# Generate a video
ai-vid generate -p "A cat walking in a park" -o cat.mp4
# Image-to-video (animate an image)
ai-vid generate -i photo.jpg -p "Make the water move" -o output.mp4
# Generate with specific provider
ai-vid generate -p "A sunset" -P google -m "veo-3.1-generate-preview" -o sunset.mp4Providers
Set your API key via environment variable:
- Google:
GOOGLE_API_KEY,GEMINI_API_KEY, orGOOGLE_GENERATIVE_AI_API_KEY - FAL:
FAL_API_KEY
Options
generate
-p, --prompt- Text prompt (required)-i, --input- Input image for image-to-video-P, --provider- AI provider (google, fal)-m, --model- Model ID-d, --duration- Video duration in seconds-o, --output- Output file path
batch
-i, --input- JSONL file with one job per line-o, --outDir- Output directory-c, --concurrency- Concurrent API calls
Install as Skill
# For Claude Code
npx skills add aryasaatvik/ai-vid -a claude-code
# For all agents
npx skills add aryasaatvik/ai-vidSee skills/ai-video-gen for full skill documentation.
