klingai-video
Installation
SKILL.md
Language: Always respond to the user in their own language. Script CLI output is bilingual (English / Chinese). Present results in the user's language.
Kling AI Video Generation (Kling Official)
Official Kling AI skill for agents to call Kling video API. Single entry for text-to-video, image-to-video, Omni (image/video/subject), and multi-shot. The script picks the API by parameters; zero external dependencies, Node 18+.
Prerequisites
- Node.js 18+
- Auth (choose one):
KLING_TOKEN(recommended) orKLING_API_KEY(formataccessKey|secretKey) - If
KLING_API_BASEis not set, the script probes China (Beijing) / Global (Singapore) and caches to~/.config/kling/state.json - To force a region: set
KLING_API_BASE - After switching account or region:
rm ~/.config/kling/state.json