kling-official — Claude Code skill: Kling direct API guide
kling-official teaches the agent to drive Kling's own API inside OpenMontage: video, images, speech, avatars and lip sync.
AGPL-3.0 ★ 78,316 updated 2026-10-24
npx skills add calesthio/OpenMontage --skill kling-official -a claude-codeWhat kling-official does
A skill for OpenMontage tools that run with provider="kling_official". Requests carry KLING_API_KEY in a Bearer header and hit https://api-singapore.klingai.com unless KLING_API_BASE_URL points elsewhere. No key, no calls: the skill declares KLING_API_KEY as a hard requirement.
Three protocol families sit inside: classic, turbo and omni. Task ids, status words and result paths differ between them, so the skill keeps separate parsers and rejects anything that guesses. Turbo image-to-video takes a first-frame URL; local clips are not quietly uploaded through fal.ai. Speech needs a voice_id you supply, and the voice language is zh or en.
Lip sync runs as two calls: find the faces in the video, then build the result for one face_id. When several faces come back and nothing was chosen, it stops and returns the list. kling_official also refuses to swap itself for the fal.ai kling_video path after a failure; it reports the blocker instead.
What it helps with
- Generate video straight from a Kling account
- Voice a script and keep the returned audio on disk
- Run lip sync on an existing clip with a chosen face
- Turn a portrait and a track into an avatar video
- Bind reference images to
<<<image_1>>>placeholders in a prompt
Example prompts for the agent
- Make a clip with
provider="kling_official"andapi_family="classic", first frame fromframe.png - Voice
script.txtthroughkling_tts, usevoice_language="en"and thevoice_idI give you - Run lip sync on
clip.mp4; list the faces first and let me pick
How to install kling-official
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill kling-official -a claude-code2Manually: put the files in place
~/.claude/skills/kling-official/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/kling-official/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill kling-official -a codex2Manually: put the files in place
.agents/skills/kling-official/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill kling-official -a cursor2Manually: put the files in place
.cursor/skills/kling-official/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install calesthio/OpenMontage .agents/skills/kling-official2Manually: put the files in place
.github/skills/kling-official/SKILL.md1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill kling-official -a gemini-cli2Platform CLI
gemini skills install https://github.com/calesthio/OpenMontage --path .agents/skills/kling-officialManually: put the files in place
.devin/skills/kling-official/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about kling-official
How do I install kling-official in Claude Code?
Run npx skills add calesthio/OpenMontage --skill kling-official -a claude-code. The skill lands at ~/.claude/skills/kling-official/SKILL.md.
What does kling-official do?
It tells the agent how to call Kling's own API: auth, the classic, turbo and omni protocols, and the parameters for video, images, speech, avatar and lip sync.
How is kling_official_video different from kling_video?
kling_video goes through fal.ai with FAL_KEY; the official tool talks to Kling with KLING_API_KEY. The skill forbids silent switching between the two.