GALIAIS-Nodes Typed Composer V2
One node that assembles a whole character prompt — and scores it
- 项目配置
- 提示词档案
- DB
- 正面提示词
- 负面提示词
- 元信息JSON
- 质量评分
This is the node that puts the whole GALIAIS philosophy in one box. The Typed Composer V2 takes eleven labeled sections - subject, character, work, artist, body, face/hair/eyes, outfit, pose, scene/camera, style, natural language - plus a negative side, and assembles them into a finished positive and negative prompt in a fixed, model-sensible order. Then, because this pack never met a prompt it wouldn't grade, it scores the result and hands you the number.
What you fill in
Every section is an input, and every section is forceInput - meaning you're expected to wire them from other nodes, not type them. That's the design: character info from the pack's character nodes, scenes from a selector, natural language from an AI writer, and this node acts as the final assembly line.
The three knobs worth knowing:
负面预设- a one-click negative prompt. Choices: 标准 (standard, the big one), 轻量 (light), 手部修复 (hand-fix only), 写实 (realistic), 无 (none). The standard preset is the usual "worst quality, low quality, bad hands, extra fingers..." loadout - a solid starting point that saves you from typing it forever.去重- dedupe, on by default. Leave it on; duplicate tags just blunt each other.画师- artist tags are normalized to@artistform, which is how Anima-family models expect them. Only the artist field gets the@treatment, so don't hand-prefix your other sections.
What comes out
Four outputs: 正面提示词, 负面提示词, 元信息JSON, and 质量评分 - an INT from the same diagnostic engine the pack's Quality Score node uses. It's a built-in smoke test: assemble the prompt and see a number immediately. Wire the 元信息JSON into the Prompt Viewer and the score into a gate if you want the full ceremony.
Two honest gotchas
First, the positive output runs through the pack's Anima-flavored joiner, which strips quality tags (masterpiece, score_9) from the positive by default. Fine if you're targeting Anima - it's tuned for exactly that. If you're on Illustrious or NoobAI and want score_9 in the positive, this cleaning works against you.
Second, the 提示词档案 (prompt profile) input is the power move: wire in a profile and any blank section falls back to the profile's stored value, so you can share one character definition across many composer variants. Worth setting up once you've got a recurring character.
Installing
cd ComfyUI/custom_nodes
git clone https://github.com/GALIAIS/GALIAIS-Nodes.git
Restart ComfyUI. No dependencies. The optional DB input improves tag normalization and the quality scoring; without it, assembly still works but the score goes blind on tag lookups. And the section inputs are all labeled in Chinese - 主体 is "subject", 服装 is "outfit", 画师 is "artist". First session is a memorization exercise; after that it's the most useful node in the pack.
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| 主体 | STRING | — | |
| 角色 | STRING | — | |
| 作品 | STRING | — | |
| 画师 | STRING | — | |
| 身体 | STRING | — | |
| 脸发眼 | STRING | — | |
| 服装 | STRING | — | |
| 姿态动作 | STRING | — | |
| 场景镜头 | STRING | — | |
| 风格细节 | STRING | — | |
| 自然语言 | STRING | — | |
| 负面 | STRING | — | |
| 负面预设 | COMBO | 标准 | 5 options: 标准, 轻量, 手部修复, 写实, 无 |
| 去重 | BOOLEAN | true | — |
| 项目配置opt | GALIAIS_NODES_PROJECT_CONFIG | — | |
| 提示词档案opt | GALIAIS_NODES_PROMPT_PROFILE | — | |
| DBopt | GALIAIS_NODES_DANBOORU_DB | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| 正面提示词 | STRING | — |
| 负面提示词 | STRING | — |
| 元信息JSON | STRING | — |
| 质量评分 | INT | — |