Nodes/GALIAIS-Nodes/GALIAIS-Nodes Prompt Builder
ComfyUI Node

GALIAIS-Nodes Prompt Builder

One Node That Composes a Whole Structured Anime Prompt — Tags, Artist, Quality, Negative

By GALIAIS·Created 3 months ago·Updated 3 months ago· 0
GALIAIS-Nodes Prompt Builder
  • DB
  • 正面提示词
  • 负面提示词
  • 元信息JSON
质量预设
主体
角色
画师
外观
服装
姿势
场景
光照
风格
细节
负面预设
去重true
额外前缀
额外后缀
额外负面

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 the masterpiece, best quality, score_X, safe prefix 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.

CategoryGALIAIS-Nodes/prompt

Inputs (17)

NameTypeDefaultDescription
质量预设COMBO5 options: Anima score_9, Anima score_8, Anima score_7, 通用高质量, 无
主体STRING
角色STRING
画师STRING
外观STRING
服装STRING
姿势STRING
场景STRING
光照STRING
风格STRING
细节STRING
负面预设COMBO5 options: 标准, 轻量, 手部修复, 写实, 无
去重BOOLEANtrue
额外前缀optSTRING
额外后缀optSTRING
额外负面optSTRING
DBoptGALIAIS_NODES_DANBOORU_DB

Outputs (3)

NameTypeDescription
正面提示词STRING
负面提示词STRING
元信息JSONSTRING