How to use the Picsart CLI for AI image, video, and audio generation
Master the complete gen-ai CLI workflow from installation to batch generation across 130+ frontier AI models. Cover artwork is an AI-generated illustration for the fictional MEDIAPINE campaign.
- Category: SKILLS
- Reading time: 8 min
- Difficulty: Intermediate
What you'll learn
- Install and authenticate the Picsart CLI on any platform
- Generate images, video, and audio with a single command
- Pick the right AI model for your creative task
- Run batch generations and pipe outputs to other tools

Use the Picsart CLI step by step
STEP 1: Install the CLI
- On web: Go to picsart.com/cli → Copy the macOS/Linux/Windows install command
- On mobile: Not applicable — CLI runs in terminal environments only
STEP 2: Authenticate your account
Run gen-ai login to connect your Picsart account:
- A browser tab opens automatically
- Click "Allow" to authorize the CLI
- Credentials are stored locally on your machine
- No API keys to copy or paste — authentication happens once

STEP 3: Generate your first file
Run gen-ai generate with a prompt and optional model flag. The CLI picks a smart default model if you don't specify one. Your file saves to the current directory automatically.
STEP 4: Review and iterate
Check that the output matches your intent: Not perfect? Run the command again for a new variation, switch models with -m, or tweak your prompt for better results.
- Look for visual quality and composition accuracy
- Verify aspect ratio and resolution match your needs
- Check that the style aligns with your brand or project
Tips for best results
Start with the default model
The CLI auto-selects a good model for your prompt type. Once you see the result, switch models if you need a different style or speed. Recraft for vector-style graphics, Flux for photorealism, Sora for cinematic video.
Use --json for scripting
Add --json to any command to get structured output you can pipe to jq, curl, or CI tools. Perfect for build scripts, batch jobs, or chaining multiple generations together.
Check credit cost before running
Run gen-ai estimate with your prompt to see the credit cost upfront. Video and long audio clips cost more than single images. Batch jobs show total cost before you commit.
Wire skills into your AI agent
If you use Claude Code, Cursor, Windsurf, or ChatGPT, load the gen-ai-use skill so your agent can generate media without you typing commands. Just say what you need in plain English.
Command quick reference
- gen-ai generateCreate an image, video, or audio file from a text prompt
- gen-ai loginAuthenticate your Picsart account via browser
- gen-ai modelsList all available AI models and their capabilities
- gen-ai estimateCalculate credit cost before running a generation
- gen-ai batchProcess multiple prompts from a JSON manifest or directory
- gen-ai extendChain video extensions to create longer sequences
- gen-ai drive syncUpload outputs to Google Drive or Dropbox automatically
- gen-ai --helpShow full command documentation and examples
Frequently asked questions
- The CLI auto-selects a model based on your prompt, but you can override with -m. Use Flux or Recraft for images (Flux for photorealism, Recraft for vector-style graphics), Sora or Kling for video (Sora for cinematic quality, Kling for faster turnaround), and ElevenLabs for voiceovers. Run gen-ai models to see the full list with descriptions and credit costs.
