Communitygithub.com

AI视频摄影语言

针对AI视频生成的镜头角度、镜头和运镜技巧(支持Seedance、Kling、Veo、Sora、MiniMax/Hailuo、Runway、Wan、Luma)。包含可直接复制的镜头库、运镜速度规则、快拉变焦与锁定技巧,以及通过光流法测量运镜速度的脚本,帮助你在AI生成视频中获得稳定且生动的镜头语言。

AI视频摄影语言 是什么?

该技能为AI视频生成(如Seedance、Kling、Veo、Sora、MiniMax/Hailuo、Runway、Wan、Luma)提供一套经过实战验证的摄影语言规则和镜头库。核心原则是“镜头平稳,世界生动”——强调每个片段只使用一个慢速且有动机的运镜,禁止在后期加速生成素材(会导致最差反馈),并利用光流法脚本(`camera_speed.py`)客观测量画面运动速度(最佳范围0.2–1.2像素/帧)。技能包含14种推荐镜头(如反打肩部快拉+锁定、锁定低角度广角、慢速推拉等)和3种需要避免的镜头,并提供常见问题的修复方案(如镜头过快、画面死板、抖动等)。该技能适用于编写视频提示中的运镜指令、为分镜头脚本选择镜头类型、处理生成片段过快或摇晃的问题,以及回答关于AI视频拍摄角度、运镜和摄影技巧的问题。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/klakix-ai/ai-video-skills/tree/HEAD/skills/ai-video-camera-language

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

AI视频摄影语言 是做什么的?

观众能容忍AI视频中的很多缺陷,但绝不容忍一个停不下来的镜头。 在我们的制作流程中,最大的抱怨是“镜头太快了,让人眩晕”, 第二大抱怨则是矫枉过正:“一切都僵住了,毫无生气”。 解决这两者的规则是:镜头保持平稳,世界充满生机。

规则

  1. 每个镜头只用一个运镜。 一个4到8秒的片段只使用一个慢速且有动机的运镜,或者干脆不用。 将运镜描述放在提示词的最后,并以“nothing fast”结尾。
  2. 切勿在剪辑中加速生成素材。 将片段加速1.5到1.7倍是我们收到最差反馈的直接原因。 慢动作渐变没问题;但加速绝对不行。 如果需要增强节奏感,可以在BGM的重拍上做剪辑,或者在3到4个关键瞬间添加2到4帧的闪白/故障特效。
  3. 用数据衡量,而不是凭感觉。 将画面下采样到160像素宽,计算连续帧之间的中值Farneback光流。 目标:平均速度≤ 1像素/帧,峰值≤ 1.5像素/帧。我们的受众喜欢的镜头测量值为0.2到1.2; 他们抱怨的镜头测量值为2到5。 运行 scripts/camera_speed.py clip.mp4 --window 3 即可获得具体数值和剪辑中最平稳的3秒窗口。
  4. 将平稳的词语用在镜头上,而不是主体上。 “镜头几乎静止不动”配合“她大笑、转身、向服务员招手”是生动的。 “一切都平静而柔和”则是死板的。
  5. 避免在提示词中使用: 快速摇摄、手持抖动、主体运动模糊、单次生成内的跳切、“动态镜头”、“史诗级横扫”。 模型会过度表现带有能量的词语。
  6. 相邻两个镜头绝不能使用相同的角度。 交替使用景别(远景、中景、近景) 和机位高度(低角度、平视、高角度)让剪辑显得刻意设计。
  7. 特效写在提示词里,不要后期硬改。 如果你想要快拉变焦或推拉变焦,直接让模型生成。 在后期对480p的生成素材进行缩放或裁切会使其变模糊并增加抖动(并且ffmpeg的zoompan 会取整到像素值,导致慢速缩放出闪烁感)。

观众最喜欢的运镜:快拉变焦并保持稳定

反打肩部中景,使用50mm镜头,前景有柔和的虚化元素,主体清晰。静止0到2秒, 恰好在一个笑点或揭露时刻进行一次快速快拉变焦推近,然后保持清晰稳定。 没有摇摄,没有抖动,没有运动模糊。

Over-the-shoulder medium shot from just behind the character's shoulder on a 50mm lens:
her collar and hair softly out of focus in the foreground, the subject sharp.
0-2s: the camera is still. At 2s a fast snap zoom-in to the key detail, then hold steady
and sharp. No whip pans, no shake, no motion blur.

模型并非每次都能完美实现(在一次批次中,它在大多数镜头上都成功了,但有一个镜头忽略了指令)。 对于变焦是笑点所在的镜头,需要预留一次重试。

镜头库

14种经过测试的运镜(以及3种应避免的)的完整措辞位于 references/camera-library.md。快速索引:

运镜适用场景风险
快拉变焦+保持(反打肩部 50mm)揭露时刻、笑点可能被忽略,需重试
锁定低角度英雄视角(24mm)开场钩子、地面英雄镜头无
俯拍无人机固定镜头漂移、人群、编队、地图无
慢动作低角度推进(35mm)金钱、火花、尘埃、“炫技”时刻慢动作可能产生漂移
对称单点轨道镜头(28mm)宴会、典礼、权威无
自拍第一人称视角(24mm,一臂距离)角色对镜头说话手机可能出现,需加“no phone visible”
反打肩部固定镜头(50mm)屏幕、手机、车内场景无
第一人称飞行视角 + 跟随一条连续飞行穿越整个场景需要参考视频来保持控制
上升式航拍揭示开场、展示规模(军队、高速公路)速度可能越界,请测量
云台跟随行走或奔跑的主体、长镜头即使30秒镜头也能保持稳定
手持慢速推进纪录片喜剧、对话无
慢速横向轨道镜头排队的人群、双人镜头无
锁定三脚架广角镜头笑点来自于画面内容而非运镜可能显得死板,需增加背景动态
车内镜头面朝驾驶员FPV/3D飞行中的车辆内部驾驶员名字需显式说明,否则可能消失

当生成片段出现问题时

症状修复方法
太快/令人眩晕移除多余运镜,以“nothing fast”结尾,使用 camera_speed.py找到的最平稳窗口
僵硬、死板添加2到3个指定的动作节拍和背景运动;保持慢速镜头
模型在片段中间切到不同角度添加“single continuous shot, no cuts”
镜头忽略了运镜指令将运镜描述放在最后,使用镜头+距离词语,重试一次
抖动“camera on a tripod” 或 “smooth gimbal”,加上“no shake”
主体跑出画面“the camera never loses the subject” 或 “he never disappears from frame”

脚本

  • scripts/camera_speed.py — 逐帧相机运动(像素/帧,160像素宽度),平均值、峰值、结论以及最平稳的N秒窗口。需要 opencv-python 和 numpy。
python scripts/camera_speed.py shot.mp4 --window 3
python scripts/camera_speed.py shots/*.mp4 --csv speeds.csv

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

3d-previs-to-ai-video

Control AI video camera paths and choreography with a 3D blockout (previs) - build a grey-box scene in Blender, three.js or any 3D tool, animate a camera, render a reference video and pass it with character/vehicle/location reference images to Seedance 2.x reference mode (@Video1 + @Image map). Covers blockout rules, one-move-per-shot camera paths, transformations planned inside the blockout, contact-sheet checks, in-vehicle cameras and realism wording. Use for FPV flights, car transformations, complex choreography, exact camera moves, "Seedance with previsualization in Blender", or when text prompts cannot get the camera move right.

ai-video-prompting

Write prompts for AI video models that follow instructions precisely - Seedance 2.0 / 2.5 (text, image, multi-reference with @Image/@Video/@Audio, edit, extend), Kling, Veo, MiniMax/Hailuo, Runway, Wan and Sora. Covers prompt structure, second-by-second timelines, reference maps, negative wording, length limits, when to turn off prompt enhancers, and model-specific quirks we measured. Use when writing or fixing a text-to-video or image-to-video prompt, a Seedance reference prompt, when a model ignores parts of the prompt, or when someone asks how to prompt Seedance, Kling or Veo.

ai-video-realism

Make AI images and AI video look like real footage instead of glossy "AI slop". Device-based realism (describe the phone, GoPro, broadcast camera that shot it and its flaws), what words push models toward CGI, real-photo references for locations and vehicles, key frames with photographic image models, natural colour instead of heavy film looks, and absurd-but-real comedy. Use when output looks fake, plastic, too perfect, too cinematic or like a video game, when someone asks for "hyper-realistic", "photorealistic", "looks like a real video", or when planning key frames for an AI video.

ai-video-shot-planning

Plan a multi-shot AI video (Seedance, Kling, Veo, MiniMax/Hailuo, Runway, Wan) before spending money on generation. Turns an idea into a shot list with per-shot action beats, camera move, scene logic, costume and reference images, key frames, a cheap test plan and a cost estimate. Use when someone asks to make an AI short film, reel, ad, music video, story or "viral video" with more than one shot, asks for a storyboard or shot list, or is about to generate several clips in a row.

相关技能