Nodes/GALIAIS-Nodes/GALIAIS-Nodes 10 NSFW 精细
ComfyUI Node

GALIAIS-Nodes 10 NSFW 精细

This pack keeps adult content in its own box

By GALIAIS·Created 3 months ago·Updated 3 months ago· 0
GALIAIS-Nodes 10 NSFW 精细
  • DB
  • AI服务商
  • 上游提示词段
  • NSFW段
  • 文本
  • 元信息JSON
角色槽位全局
角色标签
裸露
露骨身体
性行为
成人主题
性癖道具
NSFW补充
启用false
权重1.00
使用裸露true
使用露骨身体true
使用性行为true
使用成人主题true
使用性癖道具true
使用NSFW补充true
启用随机Tagfalse
Tag生成模式规则随机
AI自由度0.35
AI意图方向
AI扩写强度标准
AI是否写入补充只放元信息
AI RAG模式关闭
RAG候选数12
RAG示例数3
随机策略只补空字段
每字段随机数1
随机数裸露-1
随机数露骨身体-1
随机数性行为-1
随机数成人主题-1
随机数性癖道具-1
随机种子0
随机允许NSFWtrue
随机最低热度0
最低热度裸露-1
最低热度露骨身体-1
最低热度性行为-1
最低热度成人主题-1
最低热度性癖道具-1
上游上下文

Layer 10, NSFW 精细 ("NSFW fine detail"), is this pack's answer to a real problem: explicit content doesn't mix well with the rest of a prompt. A single mis-stacked adult tag can bleed tone across an otherwise clean character sheet, and it's genuinely useful to keep adult tags in one dedicated, toggleable, weightable section. That's exactly what this node is - the explicit layer of the character system, separated so you can switch it off wholesale with one 启用 toggle when you're rendering the SFW version of the same character.

What you fill in

Five content fields plus a supplement, each with a 使用 toggle:

  • 裸露 (nudity) - nude, topless, nipples, the degree-of-undress tags.
  • 露骨身体 (explicit body) - the explicit anatomical tags.
  • 性行为 (sexual acts) - explicit act tags.
  • 成人主题 (adult themes) - the non-explicit-but-adult stuff: BDSM, lactation, suggestive themes.
  • 性癖道具 (kink/props) - the props and gear: bondage equipment, sex toy, collar.
  • NSFW补充 (supplement) - free-text extras, multiline.

Plus the shared layer controls: 角色槽位 (全局 / 角色1–8), 角色标签, 启用, 权重 (0–5), and the random/AI block - and here the pack's controls get specific: 随机允许NSFW (random allow NSFW) gates whether the random tag picker may draw from adult-tagged candidates, and the 随机最低热度 (min post heat) filters low-confidence tags out of the pool. The optional AI服务商 powers the AI-collaborative selection modes, and there's an AI意图方向 (AI intent direction) field - the tooltip is worth quoting, it's the author's own description: AI only selects from candidate tags in the currently-enabled fields and expands the direction into natural language.

Outputs

The standard trio: NSFW段 (section object → composer), 文本 (plain text), 元信息JSON (contribution + random audit).

Where it earns its keep

The single 启用 toggle is the feature. Same character, two workflows: SFW production render with this layer off, and the explicit variant with it on - without rebuilding anything. The separation also keeps your SFW quality tags from being dragged toward adult meaning by nearby explicit tags. And 随机允许NSFW being a separate gate from the AI modes is the right design: random adult tag filling should be an explicit choice, not an accident of an unlocked picker.

The honest read

This is a niche layer - most users will never need it, and for them the pack works fine with it bypassed (the composer just sees no NSFW section). If you do use it: remember it's still Danbooru tags, so your base model has to actually be capable of the content (a model ablated for SFW won't render it, tags or not), and the NSFW-aware tag vocabularies are model-specific - what reads well on one base is noise on another. The Chinese labels, the brand-new status (no community writeups), and the 元信息JSON/README-as-docs situation all apply here as everywhere in this pack.

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
NSFW补充STRING
启用BOOLEANfalse
权重FLOAT1.000–5
使用裸露BOOLEANtrue
使用露骨身体BOOLEANtrue
使用性行为BOOLEANtrue
使用成人主题BOOLEANtrue
使用性癖道具BOOLEANtrue
使用NSFW补充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
随机允许NSFWBOOLEANtrue
随机最低热度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
NSFW段GALIAIS_NODES_CHARACTER_SECTION
文本STRING
元信息JSONSTRING