video-analyze
Video analysis and inspection using FFprobe and FFmpeg. Reads metadata, codec info, resolution, bitrate, duration, HDR status,…
AI image generation for video production using Gemini 3 Pro Image / Nano Banana Pro (API, up to 4K, $0.13-0.24/image), FLUX.2 klein 4B (local, sub-second, 13GB VRAM), SD 3.5 Medium (local fallback, 6GB), or OpenAI GPT Image 1 Mini API ($0.005/image, transparent PNGs). Generates
$ npx -y skills add AgriciDaniel/claude-video --skill video-image --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/video-imageContext preview
The summary Claude sees to decide when to auto-load this skill.
AI image generation for video production using Gemini 3 Pro Image / Nano Banana Pro (API, up to 4K, $0.13-0.24/image), FLUX.2 klein 4B (local, sub-second, 13GB VRAM), SD 3.5 Medium (local fallback, 6GB), or OpenAI GPT Image 1 Mini API ($0.005/image, transparent PNGs). Generates
name: claude-video-image description: > AI image generation for video production using Gemini 3 Pro Image / Nano Banana Pro (API, up to 4K, $0.13-0.24/image), FLUX.2 klein 4B (local, sub-second, 13GB VRAM), SD 3.5 Medium (local fallback, 6GB), or OpenAI GPT Image 1 Mini API ($0.005/image, transparent PNGs). Generates thumbnails, backgrounds, overlays, lower thirds, title cards, and B-roll stills at video-native resolutions. Background removal via rembg. Use when user says "generate image", "create image", "AI image", "thumbnail", "background image", "overlay image", "transparent png", "gemini image", "nano banana", "flux", "stable diffusion", "remove background", or "image for video". allowed-tools: - Bash - Read - Write
1. Activate venv: `source ~/.video-skill/bin/activate` 2. Check free VRAM: `nvidia-smi --query-gpu=memory.free --format=csv,noheader,nounits` 3. Route to local or API based on VRAM availability and user preference
Gemini 3 Pro Image (Nano Banana Pro) — best quality API generation, up to 4K resolution. Uses Google Search for factual accuracy. Best for photorealistic content and complex prompts.
source ~/.video-skill/bin/activate python3 scripts/image_generate.py \ --api gemini \ --prompt "Professional marketing dashboard showing SEO metrics, clean modern UI" \ --resolution 2K \ --output thumbnail.png
**Options:**
Requires `GOOGLE_API_KEY` environment variable.
Best local option, free, sub-second generation. Requires 13GB VRAM (or 6GB with quantization).
source ~/.video-skill/bin/activate python3 scripts/image_generate.py \ --prompt "Cinematic wide shot of a futuristic city at sunset, 16:9 aspect ratio" \ --width 1024 --height 576 \ --output thumbnail.png
**Options:**
**When to use each:**
Only option that natively generates transparent PNG backgrounds.
source ~/.video-skill/bin/activate python3 scripts/image_generate.py \ --api openai \ --prompt "Professional podcast microphone icon on transparent background" \ --transparent \ --size 1024x1024 \ --output overlay.png
**Options:**
Requires `OPENAI_API_KEY` environment variable.
**Cost confirmation:** Always show estimated cost and confirm before API generation.
Strip background from any image to create transparent overlays:
source ~/.video-skill/bin/activate python3 scripts/image_generate.py \ --remove-bg input.png \ --output transparent.png
Uses rembg with u2net_human_seg model (~2GB VRAM with GPU, or CPU fallback). Works with photos, AI-generated images, or any PNG/JPEG.
**Batch mode:**
python3 scripts/image_generate.py --remove-bg-dir ./images/ --output-dir ./transparent/
Always generate at dimensions matching the target video format:
| Use Case | Width | Height | Aspect | |----------|-------|--------|--------| | YouTube thumbnail | 1280 | 720 | 16:9 | | Landscape video frame | 1920 | 1080 | 16:9 | | Portrait/Shorts | 1080 | 1920 | 9:16 | | Instagram square | 1080 | 1080 | 1:1 | | Instagram portrait | 1080 | 1350 | 4:5 | | Lower third graphic | 1920 | 200 | ~10:1 | | Title card | 1920 | 1080 | 16:9 |
For FLUX.2 klein, generate at 1024x576 (16:9) or 576x1024 (9:16) then upscale with FFmpeg:
ffmpeg -n -i generated_1024.png -vf "scale=1920:1080:flags=lanczos" output_1080p.png
Generated images can be used as:
1. Always confirm cost before API image generation 2. Run `bash scripts/preflight.sh` for output path validation 3. Never overwrite existing images without confirmation 4. Report generation time and VRAM usage in output
Load `references/image-generation.md` for model details, API parameters, and advanced options.
AI-powered video production suite for Claude Code. Edit, transcode, caption, analyze, generate, and create promo videos: all from your terminal.
Video analysis and inspection using FFprobe and FFmpeg. Reads metadata, codec info, resolution, bitrate, duration, HDR status,…
Audio processing for video files using FFmpeg. Loudness normalization to streaming standards (LUFS), noise reduction, audio…
Speech-to-text transcription and animated subtitle generation using Whisper and FFmpeg. Creates word-by-word animated captions…
Programmatic video creation using Remotion (React-based). Generates title cards, data visualizations, motion graphics, branded…
Video downloading via yt-dlp with format selection, quality control, subtitle download, audio-only extraction, and playlist…
Video editing operations using FFmpeg: trimming, cutting, splitting, concatenation, speed changes, cropping, scaling, rotation,…