# kling-official

kling-official teaches the agent to drive Kling's own API inside OpenMontage: video, images, speech, avatars and lip sync.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/kling-official/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/kling-official

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add calesthio/OpenMontage --skill kling-official -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/kling-official/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/kling-official/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add calesthio/OpenMontage --skill kling-official -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/kling-official/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add calesthio/OpenMontage --skill kling-official -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/kling-official/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install calesthio/OpenMontage .agents/skills/kling-official
```

2. **Manually: put the files in place**
- File: `.github/skills/kling-official/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add calesthio/OpenMontage --skill kling-official -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/calesthio/OpenMontage --path .agents/skills/kling-official
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/kling-official/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/kling-official/SKILL.md

## When to use it
- 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
- Make a clip with `provider="kling_official"` and `api_family="classic"`, first frame from `frame.png`
- Voice `script.txt` through `kling_tts`, use `voice_language="en"` and the `voice_id` I give you
- Run lip sync on `clip.mp4`; list the faces first and let me pick

## Similar
- [fal-kling-o3](https://affpapa.org/en/nevibecode/skills/fal-kling-o3.md) — skill · 2900 installs
- [kling-3-0](https://affpapa.org/en/nevibecode/skills/kling-3-0.md) — skill · 424000 installs
- [kling-3-prompting](https://affpapa.org/en/nevibecode/skills/kling-3-prompting.md) — skill · 635 installs
- [kling-video](https://affpapa.org/en/nevibecode/skills/kling-video.md) — skill · 240 installs
- [Kling](https://affpapa.org/en/nevibecode/mcp/kling.md) — MCP server · ★ 14 repo stars
- [kling-advanced-lip-sync](https://affpapa.org/en/nevibecode/skills/kling-advanced-lip-sync.md) — skill · 131 installs

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
