AI Media Generation
Generates AI images, videos, and talking-head animations using fal.ai with built-in cost estimation and fail-safe async queue management.
The AI Media Generation skill equips Claude Code to safely and reliably execute media generation pipelines using fal.ai and similar generative APIs. It enforces upfront cost estimation before executing paid API calls, implements bulletproof asynchronous job polling with request ID persistence to prevent credit loss from connection drops, and manages file compression and delivery for output artifacts like sync-3 lipsync videos and animated avatars.
Key Features
01Pre-execution cost estimation calculations for per-second and per-generation API models
02Automated FFmpeg video compression and file delivery workflows
03REST-based queue polling patterns to bypass client disconnect vulnerabilities
047 GitHub stars
05Bulletproof async job submission with instant request ID disk persistence and recovery
06Integration with sync-3 lipsync (image-to-video and video-to-video) on fal.ai
Use Cases
01Generating talking-head avatar videos from a source portrait and audio track
02Compressing and formatting large generated video outputs for messaging platforms like Telegram
03Executing long-running fal.ai generative video and image models safely without lost credits