在 Runway ML 中,提示词(Prompts)是引导 AI 模型生成内容的关键部分。通过精心设计提示词,可以帮助模型生成高质量、符合预期的图像、视频或其他创意内容。以下是通用的 Runway 提示词公式与设计技巧:
1. 通用提示词公式
公式:
[基础描述] + [具体要求] + [风格/情感] + [限制条件]
示例:
- 文本生成图片(Text-to-Image)
- 提示词:
A futuristic city skyline at sunset, with flying cars and neon lights, in a cyberpunk style, highly detailed
- 解释:
- 基础描述:A futuristic city skyline
- 具体要求:flying cars, neon lights
- 风格/情感:cyberpunk style
- 限制条件:highly detailed
- 提示词:
- 视频生成(Text-to-Video with Gen-2)
- 提示词:
A slow-motion video of ocean waves crashing onto the shore, in cinematic quality, 4K resolution
- 解释:
- 基础描述:A slow-motion video of ocean waves
- 具体要求:crashing onto the shore
- 风格/情感:cinematic quality
- 限制条件:4K resolution
- 提示词:
2. 提示词设计的关键技巧
2.1 清晰描述基础场景
确保提示词描述了生成内容的核心元素:
- 示例:
A golden retriever running through a field of wildflowers under a bright blue sky.
2.2 增加细节和修饰词
- 使用修饰词增强内容的视觉冲击力:
- 色彩:vibrant, monochrome, pastel
- 材质:metallic, wooden, glass-like
- 氛围:peaceful, eerie, lively
- 示例:
A serene mountain lake surrounded by snow-capped peaks, with crystal-clear water reflecting the sky.
2.3 结合艺术风格或参考
- 引入风格关键词:cyberpunk, impressionism, minimalism, steampunk
- 示例:
A futuristic robot designed in a steampunk style with brass and copper details.
2.4 添加情感或动作
- 明确生成内容的情感基调或动态表现:
- 示例:
A joyful child playing with balloons in a park during sunset, capturing a moment of pure happiness.
- 示例:
2.5 限制条件
- 约束内容的分辨率、质量、时长等:
- 示例:
An abstract painting of a cosmic nebula, in ultra-high resolution, with vibrant colors.
- 示例:
3. Runway 专用提示词模板
3.1 图像生成模板
[主体] in [风格], surrounded by [环境/细节], [情感/氛围], [技术限制]
- 示例:
A majestic tiger in a neon-glow forest, surrounded by glowing plants, surreal atmosphere, highly detailed.
3.2 视频生成模板
[A specific scene or action], [emotion or mood], in [style], [technical constraints]
- 示例:
A time-lapse of a flower blooming, tranquil mood, in hyper-realistic 4K quality.
3.3 多模态生成模板(图像+视频)
[基础描述] + [参考输入] + [风格/情感] + [技术条件]
- 示例:
- 文本:
A medieval castle on a hilltop during sunrise, inspired by the reference image, in cinematic style.
- 图像参考:上传一张城堡图片作为模型生成的参考。
- 文本:
4. 提示词优化建议
- 尝试不同版本:为同一任务设计多个提示词,比较生成效果。
- 实验新风格关键词:加入不常用的风格词汇,尝试多样化生成。
- 从生成结果中学习:观察输出内容,调整提示词中多余或模糊的描述。
- 使用Few-shot学习:通过提供示例引导模型生成预期风格的内容。
通过灵活运用这些公式和技巧,你可以在 Runway ML 中创建出更加符合预期、具有创意的图像和视频内容! 🎨
© 版权声明
文章版权归作者所有,未经允许请勿转载。