kling-ai-generate-video
Installation
SKILL.md
Kling AI video generation
Turn the request into one coherent motion plan and one user-confirmed remote video generation. Follow the Claude Code OAuth, billing confirmation, single-submission, status, and result rules in the core Kling Skill.
Read motion and shots for camera direction, continuity, multi-beat timing, or reference media. Read scene patterns for product, advertising, social, or cinematic work. For Elements, the motion library, or local media, also read the core asset workflows.
Workflow
- Use
text_to_videowhen text defines the opening frame. Useimage_to_videowhen an image controls the first frame, tail frame, identity, product, or visual reference. Usemotion_controlfor motion transfer. - Ask only for missing information that materially changes the result: destination and aspect ratio, duration, required references, protected facts, narration or copy, or shot structure.
- Create or reuse the UUIDv7
taskTraceIdfor this objective, callwho_am_i, and select a compatible model, duration, resolution, and live arguments. - Upload local media first. Distinguish first frame, tail frame, identity or product reference, style reference, and motion source. Never silently degrade modes after an upload failure.
- Build a motion-first prompt covering opening composition, subject action, camera movement, environmental motion, timing, continuity, protected facts, light, materials, and necessary exclusions.
- Show the final mode, model, prompt summary, duration, resolution, aspect ratio, output count, shot structure, and reference roles. Obtain explicit approval under the core Skill's billing rule; honor an existing explicit authorization for the final settings.
- Call the selected video or motion tool exactly once and preserve the task number. If its MCP App mounts, let that one App self-refresh and do not call
query_tasksfrom the model. If no App mounts, follow the core Skill's headless polling fallback; never resubmit. - When Claude Code renders the MCP App, do not add Markdown media or duplicate links. When no App is rendered, provide one primary video link.