多提示词 #
什么是多提示词? #
多提示词是指在一个提示词中使用分隔符将不同的概念分开,让 Midjourney 分别处理每个概念,然后组合生成图像。
text
┌─────────────────────────────────────────────────────────────┐
│ 单提示词 vs 多提示词 │
├─────────────────────────────────────────────────────────────┤
│ │
│ 单提示词: │
│ /imagine prompt: hot dog │
│ 结果:热狗(食物) │
│ │
│ 多提示词: │
│ /imagine prompt: hot:: dog │
│ 结果:炎热的狗(分开理解 hot 和 dog) │
│ │
│ 核心区别: │
│ 单提示词 → Midjourney 整体理解 │
│ 多提示词 → Midjourney 分别理解后组合 │
│ │
└─────────────────────────────────────────────────────────────┘
分隔符详解 #
基本分隔符 :: #
使用双冒号 :: 分隔不同的概念。
text
格式:
概念1:: 概念2:: 概念3
示例:
/imagine prompt: hot:: dog
(hot 和 dog 分别处理)
/imagine prompt: space:: ship
(space 和 ship 分别处理)
/imagine prompt: cup:: cake
(cup 和 cake 分别处理)
分隔符的作用 #
text
┌─────────────────────────────────────────────────────────────┐
│ 分隔符效果对比 │
├─────────────────────────────────────────────────────────────┤
│ │
│ 无分隔符: │
│ cup cake → 杯子蛋糕(整体理解) │
│ │
│ 有分隔符: │
│ cup:: cake → 杯子和蛋糕(分开理解) │
│ │
│ 无分隔符: │
│ fire man → 消防员(整体理解) │
│ │
│ 有分隔符: │
│ fire:: man → 火焰和男人(分开理解) │
│ │
└─────────────────────────────────────────────────────────────┘
权重分配 #
基本权重语法 #
在分隔符后添加数字来设置权重。
text
格式:
概念::权重
示例:
/imagine prompt: hot::2 dog
(hot 权重为 2,dog 权重为 1)
/imagine prompt: hot dog::2
(hot 权重为 1,dog 权重为 2)
/imagine prompt: hot::3 dog::1
(hot 权重为 3,dog 权重为 1)
权重效果 #
text
┌─────────────────────────────────────────────────────────────┐
│ 权重对比示例 │
├─────────────────────────────────────────────────────────────┤
│ │
│ hot::1 dog::1 │
│ 效果:平衡的火焰和狗 │
│ │
│ hot::2 dog::1 │
│ 效果:更强调火焰 │
│ │
│ hot::1 dog::2 │
│ 效果:更强调狗 │
│ │
│ hot::3 dog::1 │
│ 效果:火焰非常明显 │
│ │
└─────────────────────────────────────────────────────────────┘
小数权重 #
text
权重可以是小数:
示例:
/imagine prompt: cat::0.5 dog
(猫的权重减半)
/imagine prompt: cat::1.5 dog
(猫的权重增加 50%)
/imagine prompt: cat::0.3 dog::1
(猫的权重为 0.3)
负权重 #
text
负权重用于排除元素:
示例:
/imagine prompt: landscape trees::-0.5
(减少树木)
/imagine prompt: city cars::-1
(排除汽车)
/imagine prompt: portrait glasses::-0.5
(减少眼镜)
多概念组合 #
两个概念组合 #
text
格式:
概念A:: 概念B::
示例:
/imagine prompt: cat:: dog::
(猫和狗的组合)
/imagine prompt: fire:: water::
(火和水的组合)
/imagine prompt: day:: night::
(白天和黑夜的组合)
多个概念组合 #
text
格式:
概念A:: 概念B:: 概念C::
示例:
/imagine prompt: fire:: water:: earth::
(火、水、土的组合)
/imagine prompt: cat:: dog:: bird::
(猫、狗、鸟的组合)
/imagine prompt: red:: blue:: green::
(红、蓝、绿的组合)
带权重的多概念 #
text
格式:
概念A::权重A 概念B::权重B 概念C::权重C
示例:
/imagine prompt: fire::2 water::1 earth::0.5
(火最重要,水次之,土最弱)
/imagine prompt: cat::3 dog::1 bird::0.5
(猫最重要,狗次之,鸟最弱)
/imagine prompt: red::2 blue::1 green::1
(红色最重要,蓝色和绿色相等)
短语权重 #
为短语设置权重 #
text
格式:
短语::权重
示例:
/imagine prompt: a beautiful sunset::2 mountains::1
(日落短语权重为 2)
/imagine prompt: cyberpunk city::3 neon lights::1
(赛博朋克城市短语权重为 3)
/imagine prompt: mystical forest::2 glowing mushrooms::1.5
(神秘森林短语权重为 2)
复杂短语组合 #
text
示例:
/imagine prompt:
a beautiful woman with long hair::2
wearing elegant dress::1.5
standing in garden::1
soft lighting::1.5
cinematic::2
解析:
├── a beautiful woman with long hair 权重 2
├── wearing elegant dress 权重 1.5
├── standing in garden 权重 1
├── soft lighting 权重 1.5
└── cinematic 权重 2
实际应用场景 #
场景1:风格混合 #
text
任务:混合两种艺术风格
示例:
/imagine prompt: landscape, impressionism::2 surrealism::1 --ar 16:9
效果:
├── 印象派风格为主
├── 超现实元素为辅
└── 创造独特的混合风格
场景2:元素控制 #
text
任务:控制不同元素的重要性
示例:
/imagine prompt: castle::2 dragon::1 sky::0.5 --ar 16:9
效果:
├── 城堡最突出
├── 龙次之
└── 天空作为背景
场景3:概念分离 #
text
任务:避免词汇被整体理解
示例:
/imagine prompt: ice:: cream::
(冰和奶油,而非冰淇淋)
/imagine prompt: sand:: castle::
(沙子和城堡,而非沙堡)
/imagine prompt: snow:: man::
(雪和男人,而非雪人)
场景4:排除元素 #
text
任务:使用负权重排除元素
示例:
/imagine prompt: cityscape people::-1 cars::-0.5
效果:
├── 城市景观
├── 完全没有人
└── 很少有车
多提示词 vs --no #
功能对比 #
text
多提示词负权重:
/imagine prompt: landscape trees::-1
--no 参数:
/imagine prompt: landscape --no trees
区别:
├── 负权重:可以调整排除程度(-0.5, -1, -2)
├── --no:完全排除(等价于 -1)
└── 多提示词更灵活
使用建议 #
text
选择建议:
├── 完全排除:使用 --no
├── 部分减少:使用负权重
├── 复杂控制:使用多提示词
└── 简单排除:使用 --no
高级技巧 #
技巧1:渐进式调整 #
text
方法:
1. 先使用默认权重
2. 观察结果
3. 逐步调整权重
4. 直到满意
示例:
第1版:/imagine prompt: fire:: water::
第2版:/imagine prompt: fire::2 water::
第3版:/imagine prompt: fire::3 water::1
技巧2:极端权重对比 #
text
方法:
使用极端权重观察效果
示例:
/imagine prompt: cat::10 dog::1
(猫占主导地位)
/imagine prompt: cat::1 dog::10
(狗占主导地位)
技巧3:权重归一化 #
text
概念:
权重是相对的,可以归一化
示例:
/imagine prompt: cat::2 dog::1
等价于
/imagine prompt: cat::0.67 dog::0.33
计算:
2/(2+1) = 0.67
1/(2+1) = 0.33
常见问题 #
Q1: 分隔符前后需要空格吗? #
text
回答:
├── 分隔符后可以有空格
├── 分隔符前不需要空格
└── 建议保持一致的格式
正确:
/imagine prompt: hot:: dog
/imagine prompt: hot::dog
都可以,效果相同
Q2: 权重可以是 0 吗? #
text
回答:
├── 权重可以是 0
├── 权重为 0 的概念会被忽略
└── 等价于不写该概念
示例:
/imagine prompt: cat::0 dog::
等价于
/imagine prompt: dog::
Q3: 多提示词会影响生成速度吗? #
text
回答:
├── 基本不影响
├── 复杂的多提示词可能略微增加处理时间
└── 通常可以忽略不计
实践练习 #
练习1:概念分离 #
text
任务:使用分隔符分离概念
步骤:
1. /imagine prompt: hot dog
2. /imagine prompt: hot:: dog
3. 对比两种效果
练习2:权重调整 #
text
任务:调整权重控制元素重要性
步骤:
1. /imagine prompt: fire:: water::
2. /imagine prompt: fire::2 water::
3. /imagine prompt: fire:: water::2
4. 观察权重变化效果
练习3:多概念组合 #
text
任务:组合多个概念
步骤:
1. /imagine prompt: cat:: dog:: bird::
2. /imagine prompt: cat::2 dog::1 bird::0.5
3. /imagine prompt: cat::1 dog::2 bird::1
4. 观察不同权重组合效果
下一步 #
现在你已经掌握了多提示词技巧,接下来学习 图像提示,了解如何使用参考图像指导生成!
最后更新:2026-04-05