Nodes/GALIAIS-Nodes/GALIAIS-Nodes 01 角色身份
ComfyUI Node

GALIAIS-Nodes 01 角色身份

The 01 layer where a character becomes someone

By GALIAIS·Created 3 months ago·Updated 3 months ago· 0
GALIAIS-Nodes 01 角色身份
  • DB
  • AI服务商
  • 上游提示词段
  • 角色段
  • 文本
  • 元信息JSON
角色槽位全局
角色标签
主体人数
角色
作品
画师
年龄身份
身份补充
启用true
权重1.00
使用主体人数true
使用角色true
使用作品true
使用画师true
使用年龄身份true
使用身份补充true
启用随机Tagfalse
Tag生成模式规则随机
AI自由度0.35
AI意图方向
AI扩写强度标准
AI是否写入补充只放元信息
AI RAG模式关闭
RAG候选数12
RAG示例数3
随机策略只补空字段
每字段随机数1
随机数主体人数-1
随机数角色-1
随机数作品-1
随机数画师-1
随机数年龄身份-1
随机种子0
随机允许NSFWfalse
随机最低热度0
最低热度主体人数-1
最低热度角色-1
最低热度作品-1
最低热度画师-1
最低热度年龄身份-1
上游上下文

The GALIAIS-Nodes character system splits a prompt into ten layers, numbered 01 to 10 in the display names, and 01 角色身份 (Character Identity) is where the character actually becomes a person. This is the node that holds the "who" - subject count, name, source work, artist, age - before the other layers add the face, clothes, and pose. It's the anchor section the Final Composer builds on, so getting identity right here is what keeps a character recognizable across a whole session.

What you fill in

Six content fields, and each has a matching 使用 (use) toggle so you can switch it off without clearing the text:

  • 主体人数 (subject count) - 1girl, 2boys, that style of count tag.
  • 角色 (character) - the character's name or defining tags. This is the core of "who."
  • 作品 (work) - the series/franchise, if any.
  • 画师 (artist) - and this one gets special treatment: the node normalizes the artist tag against the Danbooru DB (when one is connected) and inserts it before the subject, because artist tags conventionally lead a prompt.
  • 年龄身份 (age/identity) - teenager, adult, loli, occupation, whatever defines the role.
  • 身份补充 (identity supplement) - free-text extras, the only multiline field.

Above those sit 角色槽位 (character slot: 全局 / 角色1–8) and 角色标签 (character tag/label). Set the slot to a specific character for multi-character scenes - the composer then groups everything tagged 角色1 under one character and joins characters with your chosen separator. Set it to 全局 and the section applies scene-wide.

Then the common pack machinery: 启用 (enable) and 权重 (weight 0–5) control whether and how hard the section lands, and below that is the random/AI block - 启用随机Tag (enable random tags) flips on automatic tag filling from the connected DB (the pack's Danbooru database), with Tag生成模式 choosing between plain rule-based random, AI-collaborative selection, and AI intent-directed selection. The AI modes need the AI服务商 optional input and cost API calls; the rule modes are local and free. 随机种子 keeps results reproducible.

Outputs and how to read it

Three outputs: 角色段 (the character section object - wire this into the composer's 提示词段 inputs), 文本 (the plain rendered text, useful for previewing), and 元信息JSON (metadata: which fields contributed, what the random picker chose, whether AI wrote anything). When a render ignores your character, 元信息JSON is where you find out that the section was disabled or the 权重 got zeroed.

The honest read

This is the one character layer that's not optional in practice - every other layer describes how a person looks and acts, but identity is the person. The random-tag machinery is the pack's calling card, but for identity you probably want it off: a randomized 角色 field produces a different person every run, which defeats the point of a named character. Save the randomness for outfit and scene. Also: the pack is Chinese-first (all these labels), new, and has no community writeups yet - the README's workflow diagram is the map.

Install

Pack-wide, 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 a separate download if you want dictionary-backed tag picking.

CategoryGALIAIS-Nodes/character

Inputs (44)

NameTypeDefaultDescription
角色槽位COMBO全局9 options: 全局, 角色1, 角色2, 角色3, 角色4, 角色5, +3
角色标签STRING
主体人数STRING
角色STRING
作品STRING
画师STRING
年龄身份STRING
身份补充STRING
启用BOOLEANtrue
权重FLOAT1.000–5
使用主体人数BOOLEANtrue
使用角色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协同会按合理性少选
随机数年龄身份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=本字段不限热度,正数=该字段最低热度
最低热度年龄身份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