提示词最佳实践
用四段式公式、按目标分类的技巧和好坏提示词示例,写出能生成更好 3D 模型的提示词。
提示词结构公式
一条有效的提示词由四部分组成:
[Subject] + [Material/Texture] + [Art Style] + [Technical Constraints]
例如,下面这条提示词用到了全部四部分:
A medieval knight's helmet with scratched iron surface in dark fantasy art style, low-poly, game-ready asset
这条提示词可以拆成以下几部分:
-
主体:「A medieval knight's helmet」
-
材质:「with scratched iron surface」
-
风格:「in dark fantasy art style」
-
技术约束:「low-poly, game-ready asset」
提示词并非越长越好。把最重要的细节放在最前面,因为最前面的词权重最高。
按目标分类的提示词技巧
不同目标需要不同的提示词。
写实模型:
-
描述真实材质,例如「brushed stainless steel」或「oak wood with visible grain」。
-
分层添加细节:先写主体,再写表面细节,最后写磨损和做旧。
-
避免相互矛盾的描述。
风格化或卡通模型:
-
点明风格,例如「Pixar style」「Studio Ghibli」或「flat shading cel-shaded」。
-
描述造型语言,例如「round」「exaggerated proportions」或「chibi」。
游戏资产:
-
模型类型选择 智能拓扑,并在提示词中加入「game-ready」。
-
避免大段描述精细细节。
-
加入「clean edges」和「minimal geometry」。
3D 打印:
-
用「solid」「watertight」「no floating parts」等词要求结构牢固。
-
避免极薄的特征。
-
指定「printable proportions」。
3D Agent 对话:
-
像聊天一样写。Agent 会把你之前的消息作为上下文。
-
从宽泛的想法开始(「我想为游戏制作一套赛博朋克道具」),让 Agent 帮你细化。
-
一次请求多个概念,例如「给我看这个想法的 6 个变体」。
-
引用之前的概念,例如「我喜欢第三个。能做得更精细些吗?」
提示词宜与忌
下表把有效的提示词和无效的提示词放在一起对照。
| 宜 | 忌 |
|---|---|
| "a wooden treasure chest with iron bands" | "a box"(太笼统) |
| "front-facing, centered, white background" | "stunning beautiful epic"(空洞的形容词) |
| "low-poly cartoon style, 5,000 faces" | "make it look good"(不可执行) |
| "weathered stone surface with moss" | "stone and wood and metal and glass"(材质太多) |
反向提示词
要排除不需要的元素,在提示词中加入否定短语。例如:
-
「no background elements」
-
「without floating particles」
-
「no text or labels」
好坏示例
具体的提示词会写明主体、材质、风格和技术约束:
-
好:「A sci-fi plasma rifle with glowing blue energy core, carbon fiber body with chrome accents, cyberpunk style, game-ready low-poly asset」
-
坏:「cool gun」
用于 3D 打印的提示词还要给出结构方面的指引:
-
好:「A chess rook piece, medieval castle tower design, solid structure, no thin overhangs, 8 cm tall, printable without supports」
-
坏:「chess piece」,没有给出任何打印所需的结构指引
常见问题
- 如何写好一条 3D 生成提示词?
- 使用公式「主体 + 材质/纹理 + 艺术风格 + 技术约束」,并把最重要的细节放在最前面。
- 提示词越长,生成的 3D 模型越好吗?
- 不一定。清晰度和把关键细节放在前面比长度更重要,因为最前面的词权重最高。
- 如何为低面数游戏资产写提示词?
- 模型类型选择智能拓扑,在提示词中加入「low-poly」或「game-ready」,补充「clean edges」和「minimal geometry」,并避免过多细节。
- 如何为可 3D 打印的模型写提示词?
- 强调「solid」「watertight」和「no thin overhangs」,避免极薄特征,并指定可打印的比例。
- Meshy 能用反向提示词吗?
- 可以。用「no background elements」「without floating particles」或「no text or labels」等短语排除不需要的元素。