/video-studio:keyframe-generatorfrom video-studio
Generate start (and optional end) keyframes for each camera shot of a Video Studio film from the continuity bible, through Higgsfield or the Gemini API CLI under the project's image cap, and register them as anchors for AI video takes; preview many shots first on one low-cost Gemini contact-sheet board. Use whenever a cinematic project has an approved bible and shot list and needs first frames, start/end frames, style frames or a visual preview of shots before paid video generation, or a storyboard-style board of a whole sequence, or when a shot's keyframe drifted and needs a new version.
Ships in video-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A good first frame is the cheapest place to fix composition, identity and light before paying for video. Keyframes become start_image (and sometimes end) anchors for takes, and the user's approval of them is approval of the film's look.
Read keyframe-craft.md. For the Gemini provider, also read gemini-api.md.
Before paying for one keyframe per shot, keyframes.py board <project> --canvas 16x9 puts up to 12 camera shots on one Gemini contact sheet. board-preview shows the command and estimate, board-generate runs one capped call and crops the sheet into tiles-v1/<shot>-start.png, and board-split --inset re-crops it. Read boards.md. Review the whole sheet with the user in shot order. Tiles are previews only: never register them as keyframes, then plan finals with --tiles <tiles folder> so each chosen tile is attached as a composition reference.
python3 <this-skill>/scripts/keyframes.py plan <project-dir> --canvas 16x9 [--ends] [--shot S03]
Writes keyframes/requests-<canvas>.json: one request per camera shot (and end frames with --ends), compiled from the shot's framing, action, refs, light source, the characters' acting baselines, the bible's look and negatives. Element-aware models (default nano_banana_pro) get <<<element>>> placeholders; others get reference images as media whose role names you must map to the model's declared roles. Read and fix the prompts before spending — they are drafts, not sacred text.
Plan each canvas separately; a 9:16 keyframe is composed for vertical, not cropped from 16:9.
Choose the provider per project, or per canvas, with the user. --provider gemini (default model gemini-nano-banana-2.1, --image-size 2K) plans gemini-api image requests. Gemini has no elements, so bible images are attached as inputs and the prompt names each subject with its preserve list.
For each request:
generate_image with get_cost: true for the estimate.keyframes.py reserve <project> --canvas 16x9 --shot S01 --frame start --estimate <credits> — refuses when the image cap is missing or would be exceeded (stop and ask the producer to propose or raise it).generate_image with the exact request, download the result.keyframes.py record <project> --canvas 16x9 --shot S01 --frame start --entry <ledger id> --file <path> --job-id <id> — stores keyframes/<canvas>/S01-start-v<N>.png with provenance and links it from the shot.keyframes.py fail --entry <id>. Timeout or lost response: --uncertain, check the job by id, never resubmit automatically.keyframes.py preview <project> --canvas 16x9 --shot S01 prints the exact command, the USD estimate and the CLI's offline --dry-run. Fix any reported problems or missing inputs first.keyframes.py generate <project> --canvas 16x9 --shot S01 [--frame start] checks the gemini-image cap (USD), records the entry, runs the CLI once and stores the keyframe as above. When no published price covers the model and size, it refuses until you pass --estimate with the figure you showed the user.failed. A timeout or unclear failure stays unknown and counted. Tell the user, and do not run generate for that frame again until they decide.Prefer a couple of variants (count) for the opening and hero shots only; one per ordinary shot keeps the cap healthy.
Show the keyframes as a storyboard in shot order with each shot's motivation. Check the four pillars against the bible (face, outfit, location and light direction, implied movement). Regenerate only the shots that fail — new versions never overwrite old ones. Approved keyframes hand off to ai-video-generator.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/ai-video-generatorCompile, get approval for, submit and ingest AI video takes (Higgsfield MCP or the Gemini API CLI) for a Video Studio film — one take covering one or several consecutive shots, built from the shot list and continuity bible, approved per exact request, then split into shot clips and selected; also plans single-shot retakes anchored on neighbouring clips. Use whenever a cinematic project has timed camera shots (and ideally approved keyframes) and needs generated footage, a retake of one shot, or a different video model. Paid and opt-in; nothing is sent without the user's approval of that exact request./continuity-bibleBuild and maintain the continuity bible for a Video Studio film — character, environment, prop and vehicle references with features that must never change, motivated light sources, position and screen-direction locks, the declared camera look, reference images and Higgsfield elements — so every generated shot keeps the same face, outfit, location and movement. Use whenever a cinematic or footage project needs consistent characters or locations, before keyframes or AI video generation, or when generated shots drift in identity, wardrobe, geography or lighting./directorDraft two or three genuinely different creative directions for a video — hook, beat structure, per-character acting baselines, visual plan and audio policy — then lock the one the user picks and edits. Use whenever a Video Studio project needs its creative direction, when the user has only an idea or a brief and asks how the video should go, wants hook or concept options, or wants to change the direction of an existing video. Do not use for writing final narration lines (scriptwriter) or shot-by-shot timing (shot-designer)./editorRender a Video Studio project's compositions, or assemble a film's selected footage clips with its dialogue and sound mix, into versioned video files; write SRT/VTT captions from speech timings; and finish deliveries to a loudness target (optionally with burned-in captions) for each canvas. Use whenever compositions are built and the user wants the actual video files, captions or subtitles, a platform-ready export, a re-render after changes, or louder/quieter or broadcast-level audio. Not for changing visuals (motion-designer) or judging the result (qc-reviewer)./motion-designerBuild the motion-graphics picture for a Video Studio project as HyperFrames compositions — kinetic keywords that land on the spoken word, step lists, UI cards, counters, images and end cards, composed separately for each canvas (9:16, 16:9, 4:5, 1:1) and synced to the narration. Use whenever a project has timed shots and needs its visuals built, restyled or adapted to another aspect ratio, or the user wants to tweak animation, colours or typography. Not for rendering, captions or loudness (editor)./qc-reviewerRun quality control for Video Studio — dailies review of each generated take against the continuity bible (face, outfit, location, movement) before clips are selected, and final checks on render versions (dimensions, frame rate, duration, audio, loudness, black frames, silence, captions) with the human watch-and-listen checks still required. Use whenever a take comes back from generation, a shot looks off, a video has been rendered or finished, or the user asks whether it is ready to publish. Not for creative critique of direction or script (director, scriptwriter).npx claudepluginhub imrenagicom/marketing-creative --plugin video-studio