Communitygithub.com

AI 影片攝影語言

為 AI 影片生成(Seedance、Kling、Veo、Sora、MiniMax/Hailuo、Runway、Wan、Luma)提供鏡頭角度、鏡頭和攝影機運動的整理庫。包含經測試的鏡頭類型、複製貼上提示詞、攝影機速度規則、快照放大與停止技巧、應避免事項,以及用光流測量攝影機速度的腳本,幫助選取片段中最平穩的部分。

AI 影片攝影語言 是什麼?

這項技能提供一套完整的 AI 影片攝影語言指南,專為 Seedance、Kling、Veo、Sora 等模型設計,幫助使用者撰寫更有效的攝影機運動提示。核心原則是「攝影機平靜,世界才有生氣」:一個 4 到 8 秒的片段只使用一個緩慢且有意義的運動,並避免在後製中加快片段速度。技能包含一個經測試的鏡頭庫(如快照放大與停止、鎖定低角度英雄鏡頭、慢動作推鏡),以及每種鏡頭的風險與適用場景。此外,`camera_speed.py` 腳本可測量光流(目標平均 ≤ 1 px/frame),找出片段中最平穩的窗口,並提供常見問題的診斷與修正方法(如太晃、太靜、鏡頭被忽略)。支援 Command Line、Python 環境,適合任何使用 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 倍是我們收到最差回饋的直接原因。慢動作減速是好的;加速則不行。 如果需要能量,可以跟著節奏剪輯,或在 3 到 4 個關鍵時刻加入 2 到 4 幀的閃爍/故障效果。
  3. 測量,不要猜測。 將影片縮小至 160 像素寬度,計算連續幀之間的中位數 Farneback 光流。 目標平均 ≤ 1 px/frame,峰值 ≤ 1.5。我們的觀眾喜歡的片段測量值在 0.2 到 1.2 之間;他們抱怨的片段則在 2 到 5 之間。 執行 scripts/camera_speed.py clip.mp4 --window 3 取得數值以及編輯時可用的最平穩 3 秒窗口。
  4. 平靜的詞語用在攝影機上,而不是主體上。 「攝影機幾乎靜止」加上「她笑著、轉身、向服務生揮手」就是有生氣。而「一切都很平靜溫柔」則是死氣沉沉。
  5. 提示詞中應避免: 甩鏡、手持晃動、主體上的動態模糊、單次生成內的快速剪接、「dynamic camera」、「epic sweeping shot」。模型會過度放大能量詞彙。
  6. 連續兩個鏡頭絕不共用相同角度。 交替使用畫面大小(遠景、中景、特寫)和高度(低角度、平視、高角度),讓剪接看起來有意識。
  7. 效果寫在提示詞中,不要靠後製。 如果想要快照放大或推拉鏡頭,直接讓模型生成。在後製中對 480p 的生成影片進行縮放或放大會使其變模糊並增加抖動(而且 ffmpeg 的 zoompan 會將像素四捨五入到整數,所以慢速縮放會產生閃爍)。

觀眾喜愛的運動:快照放大與停止

越肩中景,使用 50 mm 鏡頭,前景有一個柔和的失焦元素,主體清晰。靜止 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。快速索引:

鏡頭運動使用時機風險
快照放大 + 停止(越肩 50 mm)揭露、笑點可能被忽略,重試
鎖定低角度英雄鏡頭(24 mm)開場鉤子、地面英雄無
靜止俯拍空拍飄動、人群、隊形、地圖無
慢動作低角度推鏡(35 mm)金錢、火花、灰塵、一個「炫耀」時刻慢動作可能漂移
對稱單點滑軌(28 mm)宴會、儀式、權威無
自拍第一人稱(24 mm,手臂長度)角色對著鏡頭說話手機可能出現,加上「no phone visible」
靜止越肩(50 mm)螢幕、手機、車內無
第一人稱俯衝 + 跟隨連續飛越一個場景需要參考影片來保持控制
上升空拍揭示開場、規模(軍隊、高速公路)速度接近臨界值,請測量
穩定器跟拍行走或奔跑的主體、長鏡頭即使在 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 像素寬度下的 px/frame)、平均值、峰值、判定以及最平穩的 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.

相關技能