Skip to main content
skill CX Codex

ai-video-gen · calesthio — Claude Code and Codex skill: AI video from text

ai-video-gen turns a written prompt into a video clip through HeyGen, fal.ai, Kling or Gemini, choosing a gateway for the job.

AGPL-3.0 ★ 78,316 updated 2026-11-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add calesthio/OpenMontage --skill ai-video-gen -a claude-code
Open on GitHub

What ai-video-gen does

The skill takes a shot description and routes it to one of four gateways: HeyGen, fal.ai, the official Kling API or Gemini. What comes back is a link to the rendered clip. Each gateway has its own tools, among them heygen_video, seedance_video, kling_official_video and gemini_omni_video, plus calls for VEO, MiniMax and Runway models.

Provider tools are not called directly. video_selector runs first: it checks which gateways have credentials, weighs cost and falls back to another provider when the chosen one is unavailable. Refining an existing take is a separate path — only Gemini Omni Flash keeps state across turns, so adding an object or changing the lighting does not mean re-rendering the whole scene.

One key is the floor: HEYGEN_API_KEY, FAL_KEY, KLING_API_KEY, GEMINI_API_KEY or GOOGLE_API_KEY. They do not cross over. FAL_KEY will not drive kling_official_video, because that path wants KLING_API_KEY and handles image upload its own way. The repo ships under AGPL-3.0.

What it helps with

  • turn a written brief into a finished ad clip
  • animate a still reference image
  • fix one detail in an existing take without re-rendering it
  • compare provider cost for a single prompt
  • match a gateway to the API key you already have

Example prompts for the agent

  • Generate a 10-second clip: a drone over a coastal city at sunset, 16:9.
  • Use shot_03.png as the reference image and turn it into video.
  • In this clip, remove the car on the left and relight it for evening.

How to install ai-video-gen

1Skills CLI (Vercel)

npx skills add calesthio/OpenMontage --skill ai-video-gen -a claude-code

2Manually: put the files in place

~/.claude/skills/ai-video-gen/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ai-video-gen/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ai-video-gen

How do I install ai-video-gen in Claude Code?

Run npx skills add calesthio/OpenMontage --skill ai-video-gen -a claude-code. The skill file lands at ~/.claude/skills/ai-video-gen/SKILL.md.

What does ai-video-gen do?

It generates video clips from text prompts across several gateways and picks a provider based on the credentials you have and the cost.

Do I need a separate key for each provider?

You need at least one of the listed environment variables. Note that fal.ai Kling and Kling Official are distinct paths: kling_video uses FAL_KEY, while kling_official_video needs KLING_API_KEY.

Similar skills

All skills for AI and ML →

ai-video-gen by other authors comes first.

ai-video-gen calesthio The ai-video-gen skill turns a text prompt into a video through several provider gateways. Useful when you need a clip without juggling a handful of vendor sites. CX Codex +1 1,400installs ai-video-gen sundial-org ai-video-gen produces full AI videos from text prompts by orchestrating image generators, video synthesis engines, and FFmpeg. CX Codex +1 155installs capy-video-gen-skill happycapy-ai capy-video-gen-skill — a Claude Code skill that transforms scripts and ideas into full-length videos where character faces remain consistent throughout. Use it when you need to create multi-shot video from text, a story, or a brief concept. CX Codex +1 ★ 138repo stars video coreyhaines31 Plans and builds marketing videos using AI models or code. It handles stack selection, timeline scripting, and camera-directed prompting. CX Codex +1 98,700installs video-generation bytedance The video-generation skill for Claude Code creates videos from structured JSON prompts and optional reference images. It runs the generation script with a chosen provider. CX Codex +1 3,000installs kling-video acedatacloud kling-video generates AI video via the AceDataCloud Kuaishou Kling API. Use it to render text prompts, animate still frames, extend existing clips, and run lip sync. CX Codex +1 240installs ai-video-generation pexoai ai-video-generation generates finished AI videos with music and subtitles through Pexo from text prompts, scripts, or images. CX Codex +1 130installs fal-video-edit nexu-io Use fal-video-edit to remix a video’s style, upscale it, remove its background, or add audio with fal.ai-hosted video models. CX Codex +1 2,900installs

From the same set101

The whole set →
split-tilt-cards The split-tilt-cards rule builds a two-card 3D split layout with opposing tilt. Use it for comparisons, paired features, or before/after scenes. CX Codex +1 ★ 78,316repo stars reactive-displacement reactive-displacement — a transition rule where the incoming card's spring also drives the outgoing card, so the swap reads as a hit. CX Codex +1 ★ 78,316repo stars hyperframes-media hyperframes-media generates voiceovers, background tracks, sound effects, and subtitles for HyperFrames projects using scripts/audio.mjs. CX Codex +1 ★ 78,316repo stars 3d-text-depth-layers The 3d-text-depth-layers rule builds dimensional typography from offset DOM layers. Use it for large hero headings with stacked depth or animated extrusion. CX Codex +1 ★ 78,316repo stars dynamic-content-sequencing dynamic-content-sequencing computes scene display timing from text length and pacing parameters. It gives longer paragraphs more screen presence without hardcoding frame counts. CX Codex +1 ★ 78,316repo stars website-to-video website-to-video captures a website with headless Chrome and turns its visuals into a HyperFrames video. Use it for a site tour, showcase, or social clip. CX Codex +1 ★ 78,316repo stars asr-keyword-glow asr-keyword-glow — a rule that makes words light up and scale up as they get "spoken", driven by per-word timestamps. For promo clips and narrated videos where you need to pace the emphasis. CX Codex +1 ★ 78,316repo stars press-release-spring press-release-spring calculates tactile button animation with linear scaling on tap, GSAP spring bounce on release, and glowing visual cues. Useful when polishing UI interactions. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open