How to generate AI video from the terminal with the Picsart CLI

What you'll learn
What is CLI video generation?
Common use cases
Generate AI video step by step
STEP 1: Open the CLI
- On web: Go to picsart.com/cli → Install if you haven't already
- On mobile: Not applicable — video generation runs in terminal only
STEP 2: Choose video generation mode
Pick your input type and model:
- Text-to-video (T2V): Generate from a prompt — use Sora for cinematic quality, Kling for faster turnaround
- Image-to-video (I2V): Animate a static image — point to your file with --image hero.webp
- Video-to-video (V2V): Transform an existing clip — use --video input.mp4 to restyle or extend
- Extension mode: Add --extend to chain 7-second clips into longer sequences

STEP 3: Run the generation
Type gen-ai generate with your prompt, model, and optional image input. Video models take 30 seconds to a few minutes depending on length and resolution. The CLI shows progress updates. Your file saves to the current directory when done.
STEP 4: Review and refine
Check the video quality and motion: Not perfect? Generate again with a more specific prompt, switch models, or use --extend to chain multiple clips for longer sequences.
- Verify smooth motion and no glitchy frames
- Check that camera movement matches your prompt direction
- Look for character consistency if animating people or objects
Tips for best results
💡 Use Sora for cinematic quality
Sora produces the highest visual fidelity with natural motion and lighting. It's slower (2-3 minutes per clip) but worth it for hero videos or polished social content. Use Kling if you need faster turnaround and can accept slightly less polish.
💡 Describe camera movement in your prompt
Add phrases like "camera slowly pans left," "zoom into subject," or "drone shot rising upward" to control motion. Without camera direction, the AI picks a default movement that might not match your intent.
💡 Chain extensions for longer clips
Most models generate 5-7 seconds per run. Use gen-ai extend to stitch multiple generations into a 20-30 second sequence. The CLI maintains character and scene consistency across extensions. Add --soundtrack to attach an AI-generated music track afterward.
💡 Animate images for product demos
If you have a hero product photo, use --image to animate it instead of generating from scratch. The AI adds realistic motion while keeping your product centered. Perfect for turning static catalog shots into social reels.
Frequently asked questions

Ready to create video?
Install the CLI and start animating images or generating cinematic clips from text prompts.
Get started