KL

klingai-camera-control

Tools and parameter guides to program pan, tilt, zoom, and dolly movements in Kling AI video outputs.

Install

mkdir -p .claude/skills/klingai-camera-control && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4243" && unzip -o skill.zip -d .claude/skills/klingai-camera-control && rm skill.zip

Installs to .claude/skills/klingai-camera-control

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Control camera movements in Kling AI video generation. Use when creating
72 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Control camera pan movements
  • Control camera tilt movements
  • Control camera zoom movements
  • Control camera roll movements
  • Control camera dolly movements

How it works

The skill uses the `camera_control` parameter in Kling AI's text-to-video and image-to-video endpoints. It specifies a 'simple' type with one non-zero value in the config for horizontal, vertical, zoom, roll, or dolly movements.

Inputs & outputs

You give it
JSON configuration for camera_control with type and config parameters
You get back
Video with specified camera movements applied

When to use klingai-camera-control

  • Configuring horizontal pans for cinematic landscape shots
  • Applying zoom effects to video generation prompts
  • Setting up tilt movements for dynamic camera angles

About this skill

Kling AI Camera Control

Overview

Add controlled camera movements to text-to-video and image-to-video generation using the camera_control parameter. Supports pan, tilt, zoom, roll, and dolly. Available on v1.6+ models.

Supports: POST /v1/videos/text2video and POST /v1/videos/image2video

Camera Control Parameters

"camera_control": {
    "type": "simple",     # "simple" = one movement axis
    "config": {
        "horizontal": 0,  # Pan: -10 (left) to 10 (right)
        "vertical": 0,    # Tilt: -10 (down) to 10 (up)
        "zoom": 0,         # Zoom: -10 (out) to 10 (in)
        "roll": 0,         # Roll: -10 (CCW) to 10 (CW)
        "pan": 0,          # Dolly: -10 (left) to 10 (right)
        "tilt": 0,         # Dolly: -10 (down) to 10 (up)
    }
}

Rule: For type: "simple", only ONE field in config can be non-zero.

Cinematic Shot Examples

Slow Pan Right

response = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
    "model_name": "kling-v2-6",
    "prompt": "A medieval castle on a cliff at sunrise, fog in the valley below",
    "duration": "5",
    "mode": "professional",
    "camera_control": {
        "type": "simple",
        "config": {"horizontal": 5, "vertical": 0, "zoom": 0, "roll": 0, "pan": 0, "tilt": 0}
    },
})

Dramatic Zoom In

response = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
    "model_name": "kling-v2-6",
    "prompt": "Close-up of a tiger's face, intense eyes, jungle background",
    "duration": "5",
    "mode": "professional",
    "camera_control": {
        "type": "simple",
        "config": {"horizontal": 0, "vertical": 0, "zoom": 7, "roll": 0, "pan": 0, "tilt": 0}
    },
})

Tilt Up Reveal

response = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
    "model_name": "kling-v2-6",
    "prompt": "A skyscraper, starting from the base looking up, glass and steel",
    "duration": "5",
    "mode": "standard",
    "camera_control": {
        "type": "simple",
        "config": {"horizontal": 0, "vertical": 8, "zoom": 0, "roll": 0, "pan": 0, "tilt": 0}
    },
})

Dolly Forward

response = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
    "model_name": "kling-v2-master",
    "prompt": "Walking through a dark forest, trees on both sides, moonlight filtering through",
    "duration": "5",
    "mode": "standard",
    "camera_control": {
        "type": "simple",
        "config": {"horizontal": 0, "vertical": 0, "zoom": 0, "roll": 0, "pan": 0, "tilt": 5}
    },
})

Camera Control with Image-to-Video

# Animate a landscape photo with a slow zoom out
response = requests.post(f"{BASE}/videos/image2video", headers=get_headers(), json={
    "model_name": "kling-v2-1",
    "image": "https://example.com/landscape.jpg",
    "prompt": "Gentle wind, clouds moving slowly",
    "duration": "5",
    "camera_control": {
        "type": "simple",
        "config": {"horizontal": 0, "vertical": 0, "zoom": -5, "roll": 0, "pan": 0, "tilt": 0}
    },
})

Important: For image-to-video, camera_control is mutually exclusive with image_tail, dynamic_masks, and static_mask.

Shot Type Quick Reference

Shot TypeConfig FieldValueDescription
Pan righthorizontal5-8Slow pan, good for landscapes
Pan lefthorizontal-5 to -8Reveal from right to left
Tilt upvertical5-8Upward reveal (buildings, trees)
Tilt downvertical-5 to -8Downward motion
Zoom inzoom5-10Focus on subject, dramatic
Zoom outzoom-5 to -10Reveal, establishing shot
Dutch tiltroll3-5Unsettling, artistic angle
Push intilt3-5Dolly forward (depth effect)
Pull backtilt-3 to -5Dolly backward (reveal)

Intensity Guidelines

Value RangeEffect
1-3Subtle, barely perceptible
4-6Moderate, natural-feeling
7-8Strong, dramatic
9-10Maximum, may feel unnatural

Recommendation: Start at 4-6 for most cinematic shots. Go higher for dramatic reveals or action sequences.

Error Handling

ErrorCauseFix
400 invalid camera configMultiple non-zero values in simple modeSet only one field to non-zero
Jerky motionValue too highReduce to 4-6 range
No visible movementValue too low (1-2)Increase to 3+
Mutual exclusivity errorCombined with masks/image_tailUse only camera_control OR masks

Resources

When not to use it

  • When combining camera control with image_tail, dynamic_masks, or static_mask in image-to-video generation
  • When multiple camera movement fields are set to non-zero for a simple type

Limitations

  • Only one field in `config` can be non-zero for `type: "simple"`
  • Camera control is mutually exclusive with `image_tail`, `dynamic_masks`, and `static_mask` for image-to-video
  • High values for camera movement can result in jerky motion

How it compares

This skill provides explicit control over camera movements in Kling AI video generation, offering more precise cinematic effects than default animation.

Compared to similar skills

klingai-camera-control side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
klingai-camera-control (this skill)126dReviewBeginner
jianying-editor382moReviewAdvanced
vectcut-api116moReviewAdvanced
ffmpeg-keyframe-extraction12moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

jianying-editor

luoluoluo22

剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。

38110

vectcut-api

sun-guannan

VectCutAPI is a powerful cloud-based video editing API tool that provides programmatic control over CapCut/JianYing (剪映) for professional video editing. Use this skill when users need to: (1) Create video draft projects programmatically, (2) Add video/audio/image materials with precise control, (3) Add text, subtitles, and captions, (4) Apply effects, transitions, and animations, (5) Add keyframe animations, (6) Process videos in batch, (7) Generate AI-powered videos, (8) Integrate with n8n workflows, (9) Build MCP video editing agents. The API supports HTTP REST and MCP protocols, works with both CapCut (international) and JianYing (China), and provides web preview without downloading.

1173

ffmpeg-keyframe-extraction

benchflow-ai

Extract key frames (I-frames) from video files using FFmpeg command line tool. Use this skill when the user needs to pull out keyframes, thumbnails, or important frames from MP4, MKV, AVI, or other video formats for analysis, previews, or processing.

15

klingai-batch-processing

jeremylongshore

Process multiple video generation requests efficiently with Kling AI. Use when generating multiple videos or building content pipelines. Trigger with phrases like 'klingai batch', 'kling ai bulk', 'multiple videos klingai', 'klingai parallel generation'.

00

mmx-cli

Anhvu1107

ALWAYS use this when the request matches MMX CLI: Use mmx to generate text, images, video, speech, and music via the MiniMax AI platform.

00

smartest-tv

Hybirdss

Control a smart TV or open streaming content in the browser. Play Netflix episodes/movies, YouTube videos, Spotify music — on TV or in browser (--tv browser). Also handles volume, power, notifications, history, 'continue watching', scenes, recommendations, cast URLs, queue, and multi-TV management.

00

Search skills

Search the agent skills registry