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

快速開始
需要 inference.sh CLI (
infsh)。安裝說明
infsh login
# 結構良好的影片提示詞
infsh app run google/veo-3-1-fast --input '{
"prompt": "Cinematic tracking shot of a red sports car driving through Tokyo at night, neon lights reflecting on wet streets, rain falling, 4K, shallow depth of field"
}'
提示詞結構公式
[鏡頭類型] + [主體] + [動作] + [場景] + [燈光] + [風格] + [技術細節]
範例解析
"Slow motion close-up of coffee being poured into a white ceramic cup,
steam rising, morning sunlight streaming through window, warm color grading,
cinematic, 4K, shallow depth of field"
- 鏡頭類型:慢動作特寫
- 主體:咖啡
- 動作:正在倒入
- 場景:白色陶瓷杯、窗戶
- 燈光:晨光
- 風格:暖色調、電影感
- 技術細節: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@infsh-cli
瀏覽所有影片應用:infsh app list --category video