Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 3.38 KB

File metadata and controls

93 lines (70 loc) · 3.38 KB

Kling AI API Skill for RunAPI

Install this agent skill, inspect Kling fields, then run jobs through the RunAPI CLI.

Model Reference · CLI · SDK

skills.sh ClawHub License


Generate video, AI avatars, and motion-controlled clips with the Kling SDK. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate Kling through RunAPI.

The canonical agent file is skills/kling/SKILL.md.

Install

npx skills add runapi-ai/kling -g

Or paste this prompt to your AI agent:

Install the kling skill for me:

1. Clone https://github.com/runapi-ai/kling
2. Copy the skills/kling/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.

Quick example

import { KlingClient } from '@runapi.ai/kling';

const client = new KlingClient();
const result = await client.textToVideo.run({
  model: 'kling-3.0',
  prompt: 'A cat walking through a sunlit garden',
  output_resolution: '4k',
});
const url = result.videos[0].url;

Routing

Variants

Agent rules

  • Keep API keys in RUNAPI_API_KEY or RunAPI CLI config; never commit secrets.
  • Prefer create, get, and run JSON passthrough patterns instead of inventing flags for every model parameter.
  • For kling ai api pricing, rate-limit, and commercial-usage answers, link to the variant page rather than the repository README.

License

Licensed under the Apache License, Version 2.0.