The missing manual + an evergreen knowledge base for Kling AI's video/image APIs and their official coding-agent skill. Built from real production use (and real mistakes), current as of Kling's 2026-07-15 API documentation upgrade.
| Piece | What it gives you |
|---|---|
| KLING-OPERATOR-GUIDE.md (v3.0.0) | The black-belt manual: the mandatory §0 pre-flight (prompt the AUDIO or you get room-tone · camera in film language · multi-shot = 6 shots, 1 charge · quote the cost out loud · recover with query_tasks, never resubmit), pricing math, CLI landmines, and §9 — the July 2026 API upgrade decoded. |
| references/API-CHEATSHEET.md | One page: the new api-singapore domain, Bearer-key auth vs legacy JWT, the per-model endpoint shape, all current models + per-second pricing anchors, and the billing-reconciliation APIs with their cursor semantics. |
| scripts/mirror-docs.sh | Fetches all 74+ pages of Kling's official API docs as markdown (they publish every page as .md, indexed by llms.txt) into references/api-docs/ — your agent answers any Kling API question offline, and a re-run is never stale. |
| scripts/install.sh | One shot: installs Kling's official agent skill from their registry, places the guide + cheatsheet where it expects them, mirrors the docs. |
Kling's skill and docs are their content (no redistribution license). This repo ships the operator knowledge (original) and tooling that pulls their material fresh from the source — which is also simply better: the knowledge base updates itself.
git clone https://github.com/stuinfla/kling-skill && cd kling-skill
./scripts/install.shThen bind your own Kling account per the official skill's auth section (AK/SK today; keys live in your env, never in files) — and read §0 of the guide before spending a single credit.
Never submit a paid generation without the pre-flight. This guide exists because six clips were once generated with the knowledge sitting unused — thin room-tone audio, weak camera language, money spent learning what a checklist would have caught. Latent knowledge is not knowledge.
Maintained by Stuart Kerr · guide + cheatsheet + scripts MIT-licensed; Kling's own skill/docs remain theirs, fetched from the source.