Nodes/GALIAIS-Nodes/GALIAIS-Nodes Typed Composer V2
ComfyUI Node

GALIAIS-Nodes Typed Composer V2

One node that assembles a whole character prompt — and scores it

By GALIAIS·Created 4 months ago·Updated 4 months ago· 0
GALIAIS-Nodes Typed Composer V2
  • 项目配置
  • 提示词档案
  • DB
  • 正面提示词
  • 负面提示词
  • 元信息JSON
  • 质量评分
◄主体►
◄角色►
◄作品►
◄画师►
◄身体►
◄脸发眼►
◄服装►
◄姿态动作►
◄场景镜头►
◄风格细节►
◄自然语言►
◄负面►
◄负面预设标准►
◄去重true►

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 @artist form, 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.

CategoryGALIAIS-Nodes/prompt

Inputs (17)

NameTypeDefaultDescription
主体STRING—
角色STRING—
作品STRING—
画师STRING—
身体STRING—
脸发眼STRING—
服装STRING—
姿态动作STRING—
场景镜头STRING—
风格细节STRING—
自然语言STRING—
负面STRING—
负面预设COMBO标准5 options: 标准, 轻量, 手部修复, 写实, 无
去重BOOLEANtrue—
项目配置optGALIAIS_NODES_PROJECT_CONFIG—
提示词档案optGALIAIS_NODES_PROMPT_PROFILE—
DBoptGALIAIS_NODES_DANBOORU_DB—

Outputs (4)

NameTypeDescription
正面提示词STRING—
负面提示词STRING—
元信息JSONSTRING—
质量评分INT—