什么是 AI 提示词工程?

提示词工程是编写有效文本输入来控制 AI 模型输出的实践。对于 AI 视频、图像和音乐生成,使用 SCELA 等结构化框架的提示词可比非结构化描述产生高达 40% 更好的结果。

提示词工程基础

编写有效 AI 提示词的核心技术。

SCELA 框架

主体(Subject)、镜头(Camera)、环境(Environment)、光照(Lighting)、动作(Action):一种结构化的 AI 视频提示词方法,涵盖模型生成准确输出所需的五个关键要素。

具体性

精确描述优于模糊描述。'金毛犬奔跑在秋叶中,跟踪镜头,温暖的夕阳光照'胜过'公园里的狗'。包含关于主体、动作和风格的具体细节。

负面提示词

指定要排除的内容。'无模糊、无变形、无多余肢体'等负面提示词帮助模型避免常见瑕疵,在图像生成中尤其重要。

参数调优

除文本外,大多数 AI 模型还提供 CFG 比例(提示词遵从度)、种子(可复现性)、步骤(质量)和温度(创造性)等参数来微调生成。

迭代优化

有效的提示词工程是迭代的:生成、评估、调整。从宽泛的描述开始,然后根据输出添加或修改细节以趋近预期结果。

模型特定语法

每个模型有不同的提示词偏好。Midjourney 使用长宽比(--ar 16:9),Stable Diffusion 使用加权标记(word:1.5),视频模型响应时间线索(慢动作、延时)。

提示词工程常见问题

关于编写有效 AI 提示词的常见问题。







探索 AI 生成工具

用这些工具实践提示词工程。

AI Video Generator

Free AI video generator — create videos from text, images, or clips with Seedance 2.0, Sora 2, Kling 3.0, Runway Gen-4 & more. Compare models side by side.

AI Image Generator

Free AI image generator — create images from text prompts with Midjourney v7, Flux 2, DALL-E 3, Stable Diffusion & more. Compare quality side by side.

AI Music Generator

Free AI music generator — create songs with vocals, instrumentals & soundtracks using Suno v5, Udio 2 & more. Text-to-music with lyrics support.

AI Video Prompt Generator

AI video prompt generator — build optimized SCELA prompts for Seedance 2.0, Sora 2, Kling 3.0 & Runway Gen-4. Free tool with templates for YouTube, TikTok & Shorts.

Seedance 2.0 AI Video Generator

Seedance 2.0 by ByteDance — Director Mode with 12-file input, 4K output, face-lock consistency & lip-sync. Free 5 videos/day on Dreamina.

Kling 3.0 AI Video Generator

Kling 3.0 by Kuaishou — multi-shot 4K AI video with up to 6 camera cuts, lip-sync dialogue & synchronized audio. Free 6 clips/day, Pro from $8/mo.

Sora 2 AI Video Generator

Sora 2 by OpenAI — cinematic 1080p AI video from text with Storyboard editor, physics simulation & seamless scene transitions. Plans from $20/mo.

Runway Gen-4 AI Video Generator

Runway Gen-4 & Gen-4.5 — #1 on Video Arena with cinematic 4K output, motion brush, camera controls, inpainting & Adobe Firefly integration. From ~$15/mo.

Veo 3 AI Video Generator

Veo 3 by Google DeepMind — native audio generation alongside video, vertical 9:16 for TikTok/Shorts, scene extension & Gemini API access. Free to try.

Hailuo AI Video Generator

Hailuo AI by MiniMax — ultra-fast video generation with complex character expressions, anime/ink wash/game CG art styles & generous free tier. 30-second generation.

Wan 2.6 AI Video Generator

Wan 2.6 by Alibaba — open-source AI video model you can self-host. Text-to-video, image-to-video, ComfyUI integration & community extensions. Free online.

Luma AI Dream Machine Video Generator

Luma AI Dream Machine — ultra-fast AI video generation with camera motion controls, keyframe animation & image-to-video. Free 30 generations/month, API from $0.0032/frame.

Pika AI Video Generator & Editor

Pika AI — generate and edit AI videos with Pikaffects visual FX, lip sync, scene expansion & AI sound effects. Free 250 credits/month, Standard from $8/mo.

Midjourney 7 AI Image Generator

Midjourney v7 — premium photorealistic AI images with personalized style, ultra-high resolution, variation & remix tools, and multi-image blending. Plans from ~$10/mo.

Flux 2 AI Image Generator

Flux 2 by Black Forest Labs — open-weight AI image model with fast inference, accurate text rendering & commercial-friendly licensing. Self-host or use online.

Suno 5 AI Music Generator

Suno v5 — generate full songs with vocals, lyrics & multi-instrument arrangements from text prompts. Free tier available, premium plans for commercial use.

Udio 2 AI Music Generator

Udio 2 — studio-quality AI music generation with vocal cloning, stem separation, remix tools & genre-specific fine-tuning. Audiophile-grade output quality.

Text to Video AI Generator

Text to video AI — turn text prompts into cinematic video clips. Compare Seedance, Sora, Kling, Runway & 10+ models side by side. Free to start.

Image to Video AI Generator

Image to video AI — animate photos and illustrations into 4-20s video clips with motion control, camera paths & character consistency across frames.

Video to Video AI Generator

Video to video AI — restyle, upscale & transform existing clips with AI style transfer. Convert footage to anime, cinematic, or artistic looks while preserving motion.

Text to Image AI Generator

Text to image AI — generate photorealistic or artistic images from text descriptions. Compare Midjourney v7, DALL-E 3, Flux 2 & Stable Diffusion side by side.

Image to Image AI Generator

Image to image AI — transform, upscale & restyle photos with AI-powered style transfer, inpainting, outpainting & 4x resolution enhancement. Free online tool.

Text to Music AI Generator

Text to music AI — generate royalty-free tracks, jingles & background music from text prompts. Create custom soundtracks for YouTube, podcasts & social media.

AI Voice Generator

AI voice generator — create realistic voiceovers, narration & text-to-speech in 50+ languages. Voice cloning, emotion control & video narration export.

构建更好的提示词

使用我们免费的提示词生成器为任何 AI 模型创建优化的提示词。