GALIAIS-Nodes Prompt Builder
One Node That Composes a Whole Structured Anime Prompt — Tags, Artist, Quality, Negative
- DB
- 正面提示词
- 负面提示词
- 元信息JSON
If the GALIAIS-Nodes character chain is the full orchestra, the Prompt Builder is the compact solo arrangement: one node with named fields for every part of a structured anime prompt, producing both the positive and the negative in a defined order. You type subject, character, artist, appearance, outfit, pose, scene, lighting, style, detail - it assembles them properly and hands you a prompt ready to encode.
It's the node you reach for when you want structured, repeatable prompts without building a ten-node chain, and it's a great on-ramp to understanding how the pack orders things.
How it works
The fields map to the anatomy of an anime prompt, and the order matters - this is where the pack's opinion lives:
- 质量预设 (quality preset) -
Anima score_9/score_8/score_7, 通用高质量 (general high quality), or 无. The Anima presets emit themasterpiece, best quality, score_X, safeprefix that the Anima base recommends (the KB notes score tags are exactly that model family's quality system; the pack's default is the score_9 variant). Choose 无 if you're already naming an artist and want to keep quality tags out of the way. - 画师 (artist) - normalized and inserted before the subject, because on Danbooru-trained models artist names act as style tags.
- 主体 (subject), 角色 (character), 外观 (appearance), 服装 (clothing), 姿势 (pose), 场景 (scene), 光照 (lighting), 风格 (style), 细节 (detail) - the body of the prompt.
- 负面预设 (negative preset) - the same preset list as the standalone Negative Preset node.
- 额外前缀 / 额外后缀 / 额外负面 (optional) - inject raw text at the front, back, or into the negative.
- 去重 (dedupe, on by default) - stops duplicates across fields, which happen more than you'd think when the same tag shows up in appearance and style.
Outputs: 正面提示词 (positive), 负面提示词 (negative), and 元信息JSON (which field fed what - genuinely useful when you're debugging why a weird tag appeared).
Installing it
It's part of the GALIAIS-Nodes pack:
cd ComfyUI/custom_nodes
git clone https://github.com/GALIAIS/GALIAIS-Nodes.git
Restart ComfyUI, or install via ComfyUI Manager ("GALIAIS-Nodes"). No Python dependencies, and it works without a dictionary - the DB optional input only matters for artist-tag normalization against the database. Field labels are Chinese, as everywhere in this pack.
Where it shines
The strength is the fixed, opinionated ordering plus the Anima-aware quality handling - it encodes the pack's understanding of how a good anime prompt is structured. The weakness is the same rigidity: it's one character's prompt, one fixed field set. For multi-character scenes you'll outgrow it and graduate to the character section nodes plus the Multi Character Coordinator. But as a clean, legible starting point - and as a way to keep quality tags and artist tags from colliding - it's hard to beat for a single-subject render.
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| 质量预设 | COMBO | 无 | 5 options: Anima score_9, Anima score_8, Anima score_7, 通用高质量, 无 |
| 主体 | STRING | — | |
| 角色 | STRING | — | |
| 画师 | STRING | — | |
| 外观 | STRING | — | |
| 服装 | STRING | — | |
| 姿势 | STRING | — | |
| 场景 | STRING | — | |
| 光照 | STRING | — | |
| 风格 | STRING | — | |
| 细节 | STRING | — | |
| 负面预设 | COMBO | 无 | 5 options: 标准, 轻量, 手部修复, 写实, 无 |
| 去重 | BOOLEAN | true | — |
| 额外前缀opt | STRING | — | |
| 额外后缀opt | STRING | — | |
| 额外负面opt | STRING | — | |
| DBopt | GALIAIS_NODES_DANBOORU_DB | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| 正面提示词 | STRING | — |
| 负面提示词 | STRING | — |
| 元信息JSON | STRING | — |