- How do I prevent a Python video batch script from burning hundreds of dollars in an accidental retry loop?
- Enforce three safeguards taught across Skill 14 and Skill 39: require an explicit
--dry-run flag that calculates worst-case unit cost before sending any live request, abort if projected spend exceeds MAX_BATCH_USD, and persist every submitted provider job_id and completed file hash to a local manifest.jsonl so restarts poll or skip existing work instead of re-submitting.
- When should a headless batch pipeline call cloud APIs versus a local ComfyUI HTTP queue?
- Route to cloud APIs (Gemini Omni 1.2 Flash, Kling 4.0, Runway Gen-4 / Gen-4.5, Seedance 1.0 Pro, Deepgram Aura-2, ElevenLabs) when you need native audio-video lip-sync, sub-minute parallel burst throughput, or zero local GPU maintenance. Route to local ComfyUI HTTP queues (FLUX.1 Schnell, Wan 2.2, LTX-2.5, 4x-UltraSharp) when running high-volume overnight SKU batches, strict NDA client assets that cannot leave your network, or $0-per-render commercial Apache 2.0 loops.
- Why do FramesField batch skills split keyframe generation and video animation into two separate stages?
- Still keyframes cost
$0.03–$0.04 (or $0 locally on FLUX.1 Schnell), whereas 5–8 second video takes cost $0.25–$1.18+ and frequently require 2–3 retries when prompted blind. Generating and approving keyframes first cuts total campaign API spend by 40%–65% while guaranteeing product labels and character faces stay locked.
- Can the Node.js Sharp, Satori, and FFmpeg skills run inside headless CI runners like GitHub Actions?
- Yes. Sharp WebP/AVIF compression (Skill 31), Satori SVG/PNG OG card rendering (Skill 33), print bleed sizing (Skill 40), and FFmpeg finishing run deterministically on standard Linux CI runners with zero GPU requirements—making them ideal for automated e-commerce catalog builds and programmatic marketing pipelines.
- How do I keep programmatically generated Deepgram or ElevenLabs narration synced with Whisper captions?
- Generate dry 48 kHz WAV narration stems per beat (using Deepgram Aura-2, Cartesia Sonic-3.6, or ElevenLabs via Skill 24
openai-elevenlabs-narration-batch-skill—avoiding OpenAI /v1/audio/speech TTS, which shuts down January 6, 2027), probe exact stem durations with ffprobe, transcribe the finalized audio through Skill 21 (whisper-srt-and-ass-caption-pipeline-skill) with timestamp_granularities=["word"], and burn or mux captions only after final edit timing is locked.