如何写出专业视频生成 AI 提示词:从零到实战工具

在 AI 视频生成的实践中,很多人最大的问题不是工具,而是不会构建专业的提示词。没有精确、系统的提示词,即使最先进的 AI,也只能生成粗糙、随意的画面。本文将手把手教你如何从概念、专业术语到自动化工具,生成电影级别的视频提示词。


1. 明确目标和风格

AI 不会理解模糊词语,“好看”“酷”对它毫无意义。要让 AI 输出专业画面,你必须像导演或后期师一样描述画面:

  • 镜头类型:特写(close-up)、中景(medium shot)、全景(wide shot)
  • 运镜方式:跟随(tracking)、推拉镜头(dolly)、平移(pan)、手持感(handheld)
  • 风格/质感:电影感(cinematic)、胶片质感(film grain)、柔光、高对比
  • 场景元素:背景、光源、道具、服装、色调

模糊的形容词完全无效,必须具体。


2. 后期处理术语

想要专业感,必须明确后期处理效果:

  • 磨皮/美肤:skin retouching, skin smoothing
  • 色彩调节:color grading, LUT, cinematic tone, teal and orange
  • 锐化/降噪:sharpening, denoise, detail enhancement
  • 光效/氛围:bokeh, rim light, volumetric light, lens flare

这些都是专业人员在实际制作中用的术语。


3. 镜头动作与叙事

专业运镜不仅是“动”,而是讲故事

  • 叙事镜头:over-the-shoulder shot, point-of-view, tracking shot
  • 情绪烘托:slow motion, time-lapse, handheld jitter
  • 剪辑节奏:fast cuts, smooth transitions, match cut

4. 提示词模板

一个专业视频提示词结构通常如下:

[主体描述],[动作/行为],[场景描述],[镜头类型],[运镜方式],
[焦距/视角],[光线/时间],[氛围/天气],[色彩风格/后期处理],
[后期细节],[特效/渲染],[画质/分辨率]

示例:

A female dancer performing contemporary dance, on a neon-lit city street at night, 
medium close-up, tracking shot following the dancer, handheld camera with slight jitter, 
shallow depth of field, soft rim lighting and neon reflections, cinematic mood, 
teal and orange color grading, skin retouching, subtle motion blur, lens flare, high-resolution 4K, professional photography style

5. 专业视频提示词填表模板

为了方便生成提示词,可以将每个维度表格化:

栏目 说明 示例
主体描述 人、动物、物体或场景,包含细节 young woman, dancer, red dress
动作/行为 主体动作或状态 contemporary dance, slow motion
场景描述 背景、环境、时间、天气 neon-lit city street at night
镜头类型 摄像机与主体关系 medium close-up
运镜方式 摄像机运动方式与节奏 tracking shot, handheld with slight jitter
焦距/视角 镜头焦距或角度 50mm, eye-level
光线/时间 光照类型、强弱、方向及拍摄时间 soft rim lighting, neon reflections, night
氛围/天气 情绪氛围、天气条件 cinematic, dreamy, rainy
色彩风格/后期处理 调色、滤镜、电影质感 teal and orange, cinematic grading
后期细节 磨皮、锐化、运动模糊等 skin retouching, subtle motion blur
特效/渲染 光效、散景、粒子、反射等 lens flare, bokeh, volumetric light
画质/分辨率 输出规格 4K, photorealistic

使用方法:填写关键词后,按顺序逗号拼接即可得到完整提示词。


6. 自动生成工具示例(Python)

为了省去手动拼接,我们可以写一个简单 Python 函数:

def generate_video_prompt(subject, action, scene):
    template = (
        "{subject}, {action}, {scene}, medium close-up, "
        "tracking shot following the subject, handheld with slight jitter, "
        "50mm, eye-level, soft rim lighting, neon reflections, "
        "cinematic, dreamy, rainy, teal and orange, cinematic grading, "
        "skin retouching, subtle motion blur, lens flare, bokeh, 4K, photorealistic"
    )
    return template.format(subject=subject, action=action, scene=scene)

# 使用示例
subject = "young woman, dancer, red dress"
action = "contemporary dance, slow motion"
scene = "neon-lit city street at night"
prompt = generate_video_prompt(subject, action, scene)
print(prompt)

只需要输入 主体、动作、场景,就能生成完整专业提示词。


7. 高级优化建议

  1. 每次生成都调整光线、色彩和运镜,让画面多样化。
  2. 精确描述动作节奏,例如 slow-motion、fast-moving、handheld jitter,增加真实感。
  3. 可拓展模板,增加粒子、反射、烟雾、雾气等特效,使画面更电影级。
  4. 如果需要批量生成视频,可以将 Python 工具改造成 网页表单版本,用户只填三个核心字段即可自动输出完整提示词。

总结

要让 AI 输出专业视频,关键在于 拆解画面、明确镜头、光线、后期和特效,而不是模糊描述。通过 填表模板 + 自动化生成工具,你可以把复杂提示词的生成过程简化为三步:

  1. 填写主体、动作、场景
  2. 自动生成完整提示词
  3. 复制到 AI 工具生成视频

这样,你的提示词就会具备专业水准,输出的画面也会更接近电影级效果。


<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>升级版专业视频提示词生成器</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 40px;
            background-color: #1e1e1e;
            color: #f0f0f0;
        }
        h1 { text-align: center; }
        .container {
            max-width: 800px;
            margin: auto;
            background: #2e2e2e;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
        }
        label {
            display: block;
            margin-top: 15px;
            font-weight: bold;
        }
        input[type="text"], select {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border-radius: 6px;
            border: none;
            outline: none;
        }
        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 5px;
        }
        .checkbox-group label {
            font-weight: normal;
        }
        button {
            margin-top: 20px;
            padding: 12px 20px;
            border: none;
            border-radius: 6px;
            background-color: #4caf50;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }
        button:hover { background-color: #45a049; }
        textarea {
            margin-top: 20px;
            width: 100%;
            height: 200px;
            padding: 12px;
            border-radius: 6px;
            border: none;
            resize: none;
            font-family: monospace;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>升级版专业视频提示词生成器</h1>

        <!-- 基础信息 -->
        <label for="subject">主体描述</label>
        <input type="text" id="subject" placeholder="例: young woman, dancer, red dress">

        <label for="action">动作/行为</label>
        <input type="text" id="action" placeholder="例: contemporary dance, slow motion">

        <label for="scene">场景描述</label>
        <input type="text" id="scene" placeholder="例: neon-lit city street at night">

        <!-- 镜头类型 -->
        <label for="camera">镜头类型</label>
        <select id="camera">
            <option value="medium close-up">Medium Close-up</option>
            <option value="close-up">Close-up</option>
            <option value="wide shot">Wide Shot</option>
            <option value="long shot">Long Shot</option>
            <option value="over-the-shoulder">Over-the-Shoulder</option>
            <option value="point-of-view">Point-of-View</option>
        </select>

        <!-- 运镜方式 -->
        <label for="motion">运镜方式</label>
        <select id="motion">
            <option value="tracking shot following the subject">Tracking Shot</option>
            <option value="dolly in/out">Dolly In/Out</option>
            <option value="pan">Pan</option>
            <option value="tilt">Tilt</option>
            <option value="handheld with slight jitter">Handheld</option>
            <option value="drone shot">Drone Shot</option>
        </select>

        <!-- 焦距/视角 -->
        <label for="focal">焦距/视角</label>
        <select id="focal">
            <option value="50mm, eye-level">50mm, Eye-level</option>
            <option value="35mm, low-angle">35mm, Low-angle</option>
            <option value="85mm, high-angle">85mm, High-angle</option>
            <option value="24mm, tilted">24mm, Tilted</option>
        </select>

        <!-- 光线/时间 -->
        <label for="lighting">光线/时间</label>
        <select id="lighting">
            <option value="soft rim lighting, neon reflections">Soft Rim Lighting, Neon Reflections</option>
            <option value="backlight, golden hour">Backlight, Golden Hour</option>
            <option value="studio light, daylight">Studio Light, Daylight</option>
            <option value="low light, night">Low Light, Night</option>
        </select>

        <!-- 氛围/天气 -->
        <label>氛围/天气</label>
        <div class="checkbox-group">
            <label><input type="checkbox" value="cinematic"> Cinematic</label>
            <label><input type="checkbox" value="dreamy"> Dreamy</label>
            <label><input type="checkbox" value="mysterious"> Mysterious</label>
            <label><input type="checkbox" value="rainy"> Rainy</label>
            <label><input type="checkbox" value="foggy"> Foggy</label>
            <label><input type="checkbox" value="romantic"> Romantic</label>
            <label><input type="checkbox" value="futuristic"> Futuristic</label>
        </div>

        <!-- 色彩风格/后期处理 -->
        <label for="color">色彩风格/后期处理</label>
        <select id="color">
            <option value="teal and orange, cinematic grading">Teal & Orange, Cinematic Grading</option>
            <option value="warm tones, film LUT">Warm Tones, Film LUT</option>
            <option value="cool tones, HDR">Cool Tones, HDR</option>
            <option value="vintage film, pastel tones">Vintage Film, Pastel</option>
        </select>

        <!-- 后期细节 -->
        <label>后期细节</label>
        <div class="checkbox-group">
            <label><input type="checkbox" value="skin retouching"> Skin Retouching</label>
            <label><input type="checkbox" value="subtle motion blur"> Motion Blur</label>
            <label><input type="checkbox" value="beauty filter"> Beauty Filter</label>
            <label><input type="checkbox" value="sharpening"> Sharpening</label>
            <label><input type="checkbox" value="denoise"> Denoise</label>
            <label><input type="checkbox" value="vignette"> Vignette</label>
        </div>

        <!-- 特效/渲染 -->
        <label>特效/渲染</label>
        <div class="checkbox-group">
            <label><input type="checkbox" value="lens flare"> Lens Flare</label>
            <label><input type="checkbox" value="bokeh"> Bokeh</label>
            <label><input type="checkbox" value="volumetric light"> Volumetric Light</label>
            <label><input type="checkbox" value="particle effects"> Particle Effects</label>
            <label><input type="checkbox" value="reflections"> Reflections</label>
        </div>

        <!-- 画质/分辨率 -->
        <label for="quality">画质/分辨率</label>
        <select id="quality">
            <option value="4K, photorealistic">4K, Photorealistic</option>
            <option value="8K, ultra-realistic">8K, Ultra-realistic</option>
            <option value="1080p, cinematic">1080p, Cinematic</option>
        </select>

        <!-- 按钮 -->
        <button onclick="generatePrompt()">生成提示词</button>

        <!-- 结果 -->
        <label for="prompt">生成的提示词</label>
        <textarea id="prompt" readonly></textarea>

        <button onclick="copyPrompt()">复制到剪贴板</button>
    </div>

    <script>
        function generatePrompt() {
            const subject = document.getElementById('subject').value.trim();
            const action = document.getElementById('action').value.trim();
            const scene = document.getElementById('scene').value.trim();
            const camera = document.getElementById('camera').value;
            const motion = document.getElementById('motion').value;
            const focal = document.getElementById('focal').value;
            const lighting = document.getElementById('lighting').value;
            const color = document.getElementById('color').value;
            const quality = document.getElementById('quality').value;

            if (!subject || !action || !scene) {
                alert("请填写主体、动作和场景!");
                return;
            }

            // 获取选中的复选框
            const moodElems = document.querySelectorAll('div.checkbox-group:nth-of-type(1) input[type=checkbox]:checked');
            const postElems = document.querySelectorAll('div.checkbox-group:nth-of-type(2) input[type=checkbox]:checked');
            const effectElems = document.querySelectorAll('div.checkbox-group:nth-of-type(3) input[type=checkbox]:checked');

            const mood = Array.from(moodElems).map(e => e.value).join(', ');
            const post = Array.from(postElems).map(e => e.value).join(', ');
            const effects = Array.from(effectElems).map(e => e.value).join(', ');

            const template = [
                subject, action, scene,
                camera, motion, focal, lighting,
                mood, color, post, effects, quality
            ].filter(Boolean).join(', ');

            document.getElementById('prompt').value = template;
        }

        function copyPrompt() {
            const textarea = document.getElementById('prompt');
            textarea.select();
            textarea.setSelectionRange(0, 99999);
            document.execCommand("copy");
            alert("提示词已复制到剪贴板!");
        }
    </script>
</body>
</html>

Logo

中国智能体开发者社区,聚焦智能体与大模型开发,提供前沿资讯、实用工具链、开源项目及行业案例。通过技术沙龙、开发者大赛等活动,促进经验交流与协作,助力开发者快速构建创新智能应用。

更多推荐