Nodes/GALIAIS-Nodes/GALIAIS-Nodes 02 脸发眼
ComfyUI Node

GALIAIS-Nodes 02 脸发眼

The 02 layer that stops every character looking the same

By GALIAIS·Created 3 months ago·Updated 3 months ago· 0
GALIAIS-Nodes 02 脸发眼
  • DB
  • AI服务商
  • 上游提示词段
  • 脸发眼段
  • 文本
  • 元信息JSON
角色槽位全局
角色标签
头发
眼睛视线
脸部五官
情绪表情
脸发眼补充
启用true
权重1.00
使用头发true
使用眼睛视线true
使用脸部五官true
使用情绪表情true
使用脸发眼补充true
启用随机Tagfalse
Tag生成模式规则随机
AI自由度0.35
AI意图方向
AI扩写强度标准
AI是否写入补充只放元信息
AI RAG模式关闭
RAG候选数12
RAG示例数3
随机策略只补空字段
每字段随机数1
随机数头发-1
随机数眼睛视线-1
随机数脸部五官-1
随机数情绪表情-1
随机种子0
随机允许NSFWfalse
随机最低热度0
最低热度头发-1
最低热度眼睛视线-1
最低热度脸部五官-1
最低热度情绪表情-1
上游上下文

Two characters differ on the face, hair, and eyes before they differ anywhere else - which is exactly why this pack made it layer 02. The FaceHairEyes node (02 脸发眼) collects everything about the head and expression into one section so the Final Composer can keep it coherent instead of scattering blue eyes and long black hair across random prompt lines. If your portraits all come out with the same generic anime face, this is the node you were missing.

What you fill in

Five content fields with matching 使用 toggles:

  • 头发 (hair) - cut, length, color, style: long hair, side ponytail, black hair.
  • 眼睛视线 (eyes/gaze) - color and gaze direction: blue eyes, looking at viewer, wide eyes.
  • 面部五官 (face features) - the features beyond eyes: nose, blush, freckles, jaw, sharp eyes, fangs.
  • 情绪表情 (emotion/expression) - smile, serious, blushing, tears.
  • 脸发眼补充 (supplement) - free-text extras, the only multiline field.

Plus the shared character-layer controls: 角色槽位 (全局 or 角色1–8) and 角色标签 (character label) for multi-character grouping, 启用 (enable) and 权重 (weight) for section strength, then the random/AI block - 启用随机Tag, Tag生成模式, 随机种子, and the AI collaboration options (which need the AI服务商 optional input and a live API). The optional DB input feeds the random picker with real Danbooru tags, and 上游上下文 / 上游提示词段 let you chain context from an earlier layer.

Outputs

The standard trio: 脸发眼段 (the section object for the composer's 提示词段 inputs), 文本 (plain text preview), and 元信息JSON (what contributed, what the random picker chose). The section output is what matters - the composer orders it internally, so wiring order between layers doesn't change the final layout.

Where it earns its keep

Layer 02 is where the pack's random-tag machinery actually shines. Randomized hair color and expression per run is a great way to batch a character into many variations while keeping identity stable (that stays in layer 01). The 情绪表情 field is also the classic "why does my character look angry" fix - if the model keeps adding an expression you didn't write, check this layer and the narrative layer before blaming the checkpoint. On the anime-SDXL lineage (Illustrious, NoobAI, Pony), these are plain Danbooru tags and the model understands them deeply; keep them as tags, not prose.

One warning: don't stuff contradicting tags here (both blush and no blush), and don't set random hair while the base prompt pins a specific hair color - the section merge doesn't catch semantic conflicts, only exact duplicates.

Install

Pack-wide install, once:

git clone https://github.com/GALIAIS/GALIAIS-Nodes.git ComfyUI/custom_nodes/GALIAIS-Nodes

Restart ComfyUI (or ComfyUI Manager → "GALIAIS-Nodes"). No pip dependencies; the Danbooru DB is separate if you want it. The pack is new and quiet online, so the README flow and 元信息JSON are your debugging companions.

CategoryGALIAIS-Nodes/character

Inputs (40)

NameTypeDefaultDescription
角色槽位COMBO全局9 options: 全局, 角色1, 角色2, 角色3, 角色4, 角色5, +3
角色标签STRING
头发STRING
眼睛视线STRING
脸部五官STRING
情绪表情STRING
脸发眼补充STRING
启用BOOLEANtrue
权重FLOAT1.000–5
使用头发BOOLEANtrue
使用眼睛视线BOOLEANtrue
使用脸部五官BOOLEANtrue
使用情绪表情BOOLEANtrue
使用脸发眼补充BOOLEANtrue
启用随机TagBOOLEANfalse
Tag生成模式COMBO规则随机5 options: 规则随机, AI协同选择, AI协同选择+规则兜底, AI意图定向选择, AI意图定向选择+规则兜底
AI自由度FLOAT0.350–1
AI意图方向STRING粗略描述你想要的方向;AI只会从当前节点已启用字段的候选tag中选择,并把方向扩写成自然语言。
AI扩写强度COMBO标准3 options: 精简, 标准, 完整
AI是否写入补充COMBO只放元信息3 options: 只放元信息, 写入本节点补充, 关闭
AI RAG模式COMBO关闭4 options: 关闭, 轻量语义, 示例增强, 混合增强
RAG候选数INT120–200
RAG示例数INT30–20
随机策略COMBO只补空字段2 options: 只补空字段, 追加到字段
每字段随机数INT1
随机数头发INT-1-1=沿用每字段随机数,0=关闭本字段随机,正数=该字段最多随机数量;AI协同会按合理性少选
随机数眼睛视线INT-1-1=沿用每字段随机数,0=关闭本字段随机,正数=该字段最多随机数量;AI协同会按合理性少选
随机数脸部五官INT-1-1=沿用每字段随机数,0=关闭本字段随机,正数=该字段最多随机数量;AI协同会按合理性少选
随机数情绪表情INT-1-1=沿用每字段随机数,0=关闭本字段随机,正数=该字段最多随机数量;AI协同会按合理性少选
随机种子INT00–4294967295
随机允许NSFWBOOLEANfalse
随机最低热度INT00–100000000
最低热度头发INT-1-1–100000000-1=沿用随机最低热度,0=本字段不限热度,正数=该字段最低热度
最低热度眼睛视线INT-1-1–100000000-1=沿用随机最低热度,0=本字段不限热度,正数=该字段最低热度
最低热度脸部五官INT-1-1–100000000-1=沿用随机最低热度,0=本字段不限热度,正数=该字段最低热度
最低热度情绪表情INT-1-1–100000000-1=沿用随机最低热度,0=本字段不限热度,正数=该字段最低热度
DBoptGALIAIS_NODES_DANBOORU_DB
AI服务商optGALIAIS_NODES_AI_PROVIDER
上游上下文optSTRING
上游提示词段optGALIAIS_NODES_CHARACTER_SECTION

Outputs (3)

NameTypeDescription
脸发眼段GALIAIS_NODES_CHARACTER_SECTION
文本STRING
元信息JSONSTRING