影片提示詞指南
透過 inference.sh 撰寫有效 AI 影片生成提示詞的最佳實踐。

快速開始
curl -fsSL https://cli.inference.sh | sh && infsh login
# 結構良好的影片提示詞
infsh app run google/veo-3-1-fast --input '{
"prompt": "夜晚東京街道上賽車的電影級跟蹤鏡頭,紅色跑車,霓虹燈光反射在濕瀝的路面,雨水落下,4K,淺景深"
}'
安裝說明: 安裝腳本 僅會偵測您的作業系統/架構,從
dist.inference.sh下載匹配的二進位檔,並驗證其 SHA-256 校驗碼。無需提高權限或背景程序。也可手動安裝與驗證。
提示詞結構公式
[鏡頭類型] + [主體] + [動作] + [場景] + [光線] + [風格] + [技術]
範例拆解
"慢動作特寫鏡頭,咖啡倒入白色陶瓷杯中,蒸氣裊裊上升,早晨陽光透過窗戶灑入,暖色調,電影風格,4K,淺景深"
- 鏡頭類型:慢動作特寫鏡頭
- 主體:咖啡
- 動作:被倒入
- 場景:白色陶瓷杯、窗戶
- 光線:早晨陽光
- 風格:暖色調、電影風格
- 技術:4K、淺景深
鏡頭類型
| 鏡頭類型 | 描述 | 用途 |
|---|---|---|
| 廣角鏡頭 (Wide shot) | 顯示整個場景 | 建立地點 |
| 中景鏡頭 (Medium shot) | 腰部以上取景 | 對話、動作 |
| 特寫鏡頭 (Close-up) | 臉部或細節 | 情感、產品細節 |
| 極特寫鏡頭 (Extreme close-up) | 單一特徵 | 戲劇性、質感 |
| 鳥瞰鏡頭 (Aerial shot) | 鳥瞰視角 | 風景、規模 |
| 低角度鏡頭 (Low angle) | 相機向上拍攝 | 力量、宏偉 |
| 高角度鏡頭 (High angle) | 相機向下拍攝 | 脆弱感 |
| 斜角鏡頭 (Dutch angle) | 傾斜相機 | 不安、緊張 |
| 第一人稱鏡頭 (POV shot) | 第一人稱視角 | 沉浸感 |
攝影機運鏡
| 運鏡方式 | 描述 | 效果 |
|---|---|---|
| 跟蹤鏡頭 (Tracking shot) | 相機跟隨主體 | 動態、引人入勝 |
| 推軌/拉軌 (Dolly in/out) | 相機移近/移遠 | 聚焦、揭示 |
| 水平搖攝 (Pan) | 水平旋轉 | 環視場景 |
| 垂直搖攝 (Tilt) | 垂直旋轉 | 揭示高度 |
| 吊臂鏡頭 (Crane shot) | 垂直+水平移動 | 戲劇性揭示 |
| 手持運鏡 (Handheld) | 輕微晃動 | 真實感、緊迫感 |
| 穩定器運鏡 (Steadicam) | 平穩跟隨 | 專業、電影感 |
| 變焦 (Zoom) | 鏡頭推近/拉遠 | 快速焦點變化 |
| 靜止鏡頭 (Static) | 無移動 | 沉思、穩定 |
光線關鍵字
| 關鍵字 | 效果 |
|---|---|
| 黃金時段 (Golden hour) | 溫暖、柔軟、浪漫 |
| 藍色時段 (Blue hour) | 冷色調、陰鬱、暮光 |
| 高調光 (High key) | 明亮、陰影極少 |
| 低調光 (Low key) | 黑暗、戲劇性陰影 |
| 輪廓光 (Rim lighting) | 主體邊緣被光勾勒 |
| 背光 (Backlit) | 光從主體後方照射 |
| 柔光 (Soft lighting) | 溫和、討喜 |
| 硬光 (Hard lighting) | 銳利陰影、高對比 |
| 霓虹光 (Neon) | 色彩繽紛、都市、賽博龐克 |
| 自然光 (Natural lighting) | 寫實、紀錄片風格 |
風格關鍵字
電影風格
cinematic, film grain, anamorphic lens, letterbox,
shallow depth of field, bokeh, 35mm film,
color grading, theatrical
視覺美學
minimalist, maximalist, vintage, retro, futuristic,
cyberpunk, steampunk, noir, pastel, vibrant,
muted colors, high contrast, desaturated
品質關鍵字
4K, 8K, high resolution, photorealistic,
hyperrealistic, ultra detailed, professional,
broadcast quality, HDR
各使用場景的提示詞範例
產品示範
infsh app run google/veo-3-1-fast --input '{
"prompt": "Smooth tracking shot around a sleek smartphone on a white pedestal, soft studio lighting, product photography style, reflections on surface, 4K, shallow depth of field"
}'
自然紀錄片
infsh app run google/veo-3-1 --input '{
"prompt": "Slow motion extreme close-up of a hummingbird hovering at a red flower, wings in motion blur, shallow depth of field, golden hour lighting, National Geographic style"
}'
都會生活
infsh app run google/veo-3 --input '{
"prompt": "Tracking shot following a cyclist through busy city streets, morning rush hour, natural lighting, handheld camera feel, documentary style, authentic and candid"
}'
美食內容
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "Close-up of chocolate sauce being drizzled over ice cream, slow motion, steam rising, soft lighting, food photography style, appetizing, commercial quality"
}'
科技/未來風格
infsh app run xai/grok-imagine-video --input '{
"prompt": "Futuristic control room with holographic displays, camera slowly pans across the space, blue and cyan lighting, sci-fi atmosphere, Blade Runner aesthetic, 4K",
"duration": 5
}'
常見錯誤與避免方法
| 錯誤 | 問題 | 更好做法 |
|---|---|---|
| 太模糊 | "一部好看的影片" | 指定鏡頭、主體、風格 |
| 太複雜 | 多個場景 | 每個提示詞專注一個場景 |
| 無動態 | 靜態描述 | 加入攝影機運鏡或動作 |
| 風格衝突 | "極簡主義極繁主義" | 選擇一種美學 |
| 未指定光線 | 未定義氛圍 | 指定光線條件 |
模型專屬技巧
Google Veo
- 擅長寫實、電影感內容
- 支援音訊生成(Veo 3+)
- 最適合使用詳細、專業的提示詞
- 3.1 版本具備幀插值功能
Seedance
- 擅長舞蹈與人體動作
- 提供首幀控制
- 適合一致的角色動作
- 與參考圖片搭配效果良好
Wan 2.5
- 最適合圖片轉影片
- 能自然將靜態圖片動畫化
- 良好的動作預測
- 支援任何圖片風格
Grok
- 通用型影片生成
- 可設定時長(5-10秒)
- 創意解讀
- 適合抽象概念
工作流程:疊代式提示詞撰寫
# 1. 從基礎提示詞開始
infsh app run google/veo-3-1-fast --input '{
"prompt": "A woman walking through a forest"
}'
# 2. 增加具體性
infsh app run google/veo-3-1-fast --input '{
"prompt": "Medium tracking shot of a woman in a red dress walking through an autumn forest"
}'
# 3. 加入風格與技術細節
infsh app run google/veo-3-1-fast --input '{
"prompt": "Cinematic medium tracking shot of a woman in a flowing red dress walking through an autumn forest, golden hour sunlight filtering through leaves, shallow depth of field, film grain, 4K"
}'
相關技能
# 生成影片
npx skills add inference-sh/skills@ai-video-generation
# Google Veo 專用
npx skills add inference-sh/skills@google-veo
# 生成圖片(供圖片轉影片使用)
npx skills add inference-sh/skills@ai-image-generation
# 通用提示詞工程
npx skills add inference-sh/skills@prompt-engineering
# 完整平台技能
npx skills add inference-sh/skills@inference-sh
瀏覽所有影片應用程式:infsh app list --category video