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.zipInstalls 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 creatingKey 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
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 Type | Config Field | Value | Description |
|---|---|---|---|
| Pan right | horizontal | 5-8 | Slow pan, good for landscapes |
| Pan left | horizontal | -5 to -8 | Reveal from right to left |
| Tilt up | vertical | 5-8 | Upward reveal (buildings, trees) |
| Tilt down | vertical | -5 to -8 | Downward motion |
| Zoom in | zoom | 5-10 | Focus on subject, dramatic |
| Zoom out | zoom | -5 to -10 | Reveal, establishing shot |
| Dutch tilt | roll | 3-5 | Unsettling, artistic angle |
| Push in | tilt | 3-5 | Dolly forward (depth effect) |
| Pull back | tilt | -3 to -5 | Dolly backward (reveal) |
Intensity Guidelines
| Value Range | Effect |
|---|---|
| 1-3 | Subtle, barely perceptible |
| 4-6 | Moderate, natural-feeling |
| 7-8 | Strong, dramatic |
| 9-10 | Maximum, may feel unnatural |
Recommendation: Start at 4-6 for most cinematic shots. Go higher for dramatic reveals or action sequences.
Error Handling
| Error | Cause | Fix |
|---|---|---|
400 invalid camera config | Multiple non-zero values in simple mode | Set only one field to non-zero |
| Jerky motion | Value too high | Reduce to 4-6 range |
| No visible movement | Value too low (1-2) | Increase to 3+ |
| Mutual exclusivity error | Combined with masks/image_tail | Use 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| klingai-camera-control (this skill) | 1 | 26d | Review | Beginner |
| jianying-editor | 38 | 2mo | Review | Advanced |
| vectcut-api | 11 | 6mo | Review | Advanced |
| ffmpeg-keyframe-extraction | 1 | 2mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
jianying-editor
luoluoluo22
剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。
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.
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.
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'.
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.
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.