Extensions/GALIAIS-Nodes
ComfyUI Extension

GALIAIS-Nodes

Prompt engineering, Danbooru dictionary lookup, and AI prompt refinement nodes for ComfyUI.

By GALIAIS·Created 3 months ago·Updated 3 months ago· 0
GALIAIS/GALIAIS-Nodes
Nodes50
On cloudLocal install
CategoryGALIAIS-Nodes/ai, GALIAIS-Nodes/character
Stars0
Updated3 months ago

Nodes (50)

GALIAIS-Nodes AI Character Detail Expander

The detail expander fills in the face, hair, and outfit your prompt forgot

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Conflict Resolver

The conflict resolver catches the tags that fight each other in your prompt

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Natural Prompt Writer

Turn a tag wall into a natural-language prompt without leaving the graph

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Negative Prompt Builder

The negative prompt builder that writes your 'bad hands' list for you

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Provider

The GALIAIS AI Provider is the only node in this pack that needs your API key

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Provider Health Check

A sanity check for your AI provider before you waste tokens on a bad key

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Style Enhancer

The style enhancer for when your prompt is fine but flat

GALIAIS-Nodes/ai
GALIAIS-Nodes AI Tag Analyzer

The AI Tag Analyzer reads your prompt the way Danbooru would

GALIAIS-Nodes/ai
GALIAIS-Nodes 03 身体体态

The 03 layer for proportions, skin, and the non-human bits

GALIAIS-Nodes/character
GALIAIS-Nodes Final Composer

The Final Composer is where all ten character sections finally become a prompt

GALIAIS-Nodes/character
GALIAIS-Nodes Composer Template Manager

The template manager saves your prompt layouts so the composer can reuse them

GALIAIS-Nodes/character
GALIAIS-Nodes 02 脸发眼

The 02 layer that stops every character looking the same

GALIAIS-Nodes/character
GALIAIS-Nodes 01 角色身份

The 01 layer where a character becomes someone

GALIAIS-Nodes/character
GALIAIS-Nodes 09 Meta技术

The 09 layer for quality tags and process notes

GALIAIS-Nodes/character
GALIAIS-Nodes 07 叙事主题

The 07 layer for the story and mood behind the frame

GALIAIS-Nodes/character
GALIAIS-Nodes 10 NSFW 精细

This pack keeps adult content in its own box

GALIAIS-Nodes/character
GALIAIS-Nodes 08 物件补充

The 08 layer for the stuff the scene needs

GALIAIS-Nodes/character
GALIAIS-Nodes 04 服装配饰

The 04 layer that does most of the visual work in character art

GALIAIS-Nodes/character
GALIAIS-Nodes 05 姿势动作

The 05 layer that makes a character do something

GALIAIS-Nodes/character
GALIAIS-Nodes 06 场景画面

The 06 layer that frames the character instead of floating it

GALIAIS-Nodes/character
GALIAIS-Nodes Composer Template Pack

Your Composer Templates, Packed Up and Portable

GALIAIS-Nodes/character
GALIAIS-Nodes Danbooru DB Loader

The Node Everything Else Wires Into — Your Danbooru Tag Database, Loaded Once

GALIAIS-Nodes/prompt
GALIAIS-Nodes Danbooru Dictionary Info

Five Numbers That Tell You If Your Tag Database Actually Loaded

GALIAIS-Nodes/prompt
GALIAIS-Nodes Danbooru Query Select

Look Up Danbooru Tags in Chinese or English

GALIAIS-Nodes/prompt
GALIAIS-Nodes Danbooru Runtime DB Builder

Turn Your Gigabyte Tag Dump Into a Fast Working Database — Run Once, Not Per Queue

GALIAIS-Nodes/config
GALIAIS-Nodes Danbooru Style Select

Seven Slots, Per-Field Toggles, and Random Styles Without the Fuss

GALIAIS-Nodes/conditioning
GALIAIS-Nodes Danbooru Tag Resolver

Resolve Any Messy Text Into Proper Danbooru Tags

GALIAIS-Nodes/prompt
GALIAIS-Nodes Danbooru Taxonomy Select

Pick From a Curated Tag Category Instead of Guessing at Spellings

GALIAIS-Nodes/prompt
GALIAIS-Nodes DB Cache Control

Stale Tags? See Everything Cached and Wipe It in One Click

GALIAIS-Nodes/config
GALIAIS-Nodes Image Detail Blueprint

A Deterministic Prompt-Building Engine

GALIAIS-Nodes/ai
GALIAIS-Nodes Multi Character Coordinator

Turn Per-Character Sections Into One Coherent Frame

GALIAIS-Nodes/character
GALIAIS-Nodes Negative Preset

Grab a Preset and Add Your Own

GALIAIS-Nodes/prompt
GALIAIS-Nodes Positive Prompt AI Enricher

Hand Your Tag Prompt to an LLM — and Keep It From Wandering

GALIAIS-Nodes/ai
GALIAIS-Nodes Project Config

The Pack's Central Settings Hub and AI Provider

GALIAIS-Nodes/config
GALIAIS-Nodes Prompt Builder

One Node That Composes a Whole Structured Anime Prompt — Tags, Artist, Quality, Negative

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Combine

The Duct Tape Node for Assembling Prompt Sections

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Inspector

Is 'lon hair' a Real Tag? Check Before You Waste a Render

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Inspector V2

Same Tag Check, Plus a Quality Score and an Issue List

GALIAIS-Nodes/diagnostics
GALIAIS-Nodes Prompt Orchestrator

Conflict Pruning, AI Expansion, Negative Merge, Quality Score — in One Node

GALIAIS-Nodes/ai
GALIAIS-Nodes Prompt Profile

Package Identity, Outfit, Pose and More as One Object

GALIAIS-Nodes/profile
GALIAIS-Nodes Prompt Quality Gate

A pass/fail gate for your prompt, before the sampler ever runs

GALIAIS-Nodes/diagnostics
GALIAIS-Nodes Prompt Quality Score

A 0–100 prompt score with receipts — no AI required

GALIAIS-Nodes/diagnostics
GALIAIS-Nodes Prompt Random Pool

Seeded prompt roulette — variations you can actually reproduce

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Section

The toggleable prompt building block that makes A/B tests painless

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Template

Fill-in-the-blank prompts without a regex in sight

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Viewer

The last node in the chain — actually see what your prompt became

GALIAIS-Nodes/prompt
GALIAIS-Nodes Prompt Weight

Prompt weighting by hand, minus the hand part

GALIAIS-Nodes/prompt
GALIAIS-Nodes Scene Director

The 'AI' scene node that never calls an API

GALIAIS-Nodes/ai
GALIAIS-Nodes Tag Blacklist

Keep the tags you hate out of the entire workflow

GALIAIS-Nodes/config
GALIAIS-Nodes Typed Composer V2

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

GALIAIS-Nodes/prompt
Readme

GALIAIS-Nodes

GALIAIS-Nodes is a ComfyUI custom node pack for detailed prompt construction. It focuses on Danbooru tag selection, structured character prompt composition, AI-assisted prompt refinement, and prompt inspection.

Features

  • Structured character prompt nodes for identity, face, body, outfit, pose, scene, narrative, object, meta, and NSFW layers.
  • Danbooru dictionary loader and lazy searchable tag selector.
  • Vue DOM and legacy canvas frontend support for per-field enable toggles.
  • Optional random tag filling with manual and random selections kept separate.
  • OpenAI-compatible AI provider nodes for tag analysis, conflict pruning, natural prompt writing, style enhancement, and negative prompt building.
  • Prompt viewer and inspector nodes for checking final output.
  • Runtime DB builder, AI health check, scene director, prompt orchestrator, quality gate, multi-character coordinator, and versioned composer template packs.

Recommended Prompt Flow

| Step | Node | Purpose | | --- | --- | --- | | 1 | GALIAIS-Nodes Danbooru Runtime DB Builder | Build a compact runtime DB from the full dictionary when the dictionary changes. | | 2 | GALIAIS-Nodes Danbooru DB Loader | Load the DB once and connect its DB output into tag/character nodes. | | 3 | GALIAIS-Nodes AI Provider + AI Provider Health Check | Configure URL/key/model, optional fast service tier, retries, stream fallback, and verify latency. | | 4 | 01-10 character nodes | Build identity, face/hair/eyes, body, outfit, pose, scene, narrative, object, meta, and NSFW sections. | | 5 | GALIAIS-Nodes Multi Character Coordinator | Optional: combine per-role sections into a coherent multi-character relation/layout section. | | 6 | GALIAIS-Nodes Final Composer | Compose quality, artist, character sections, custom templates, and negatives. | | 7 | GALIAIS-Nodes Scene Director | Convert selected scene tags into layered foreground/midground/background natural language. | | 8 | GALIAIS-Nodes Prompt Orchestrator | Run conflict pruning, blueprint generation, optional AI expansion, negative prompt merge, and quality score. | | 9 | GALIAIS-Nodes Prompt Quality Gate + Prompt Viewer | Review actionable issues and inspect the final positive/negative prompt. |

Reference workflow plan:

docs/workflows/enterprise-character-prompt-workflow.json

For chained AI-assisted field selection, connect both outputs from the previous character node:

文本 -> 上游上下文
角色段 -> 上游提示词段

Installation

Comfy Registry

After the package is published:

comfy node install galiais-nodes

Manual Install

Clone this repository into your ComfyUI custom_nodes directory:

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

Restart ComfyUI after installation.

Danbooru Dictionary

The Danbooru database is not bundled with this node package because it can be very large. Use the GALIAIS-Nodes Danbooru DB Loader node and select your local runtime database.

The text-first database source is maintained separately:

https://github.com/GALIAIS/Danbooru-Tag-Database

Publishing

This repository contains Comfy Registry metadata in pyproject.toml. Before first publication, verify:

  • project.name is the final immutable registry node id.
  • [tool.comfy].PublisherId exactly matches the publisher id shown after @ on the Comfy Registry profile.
  • [project.urls].Repository points to the public GitHub repository.
  • Optional registry artwork fields such as Icon and Banner should only be added after stable public image URLs are available.
  • Optional license metadata should be added after the project license is decided.

Manual publish:

comfy node publish

GitHub Actions publish:

  1. Create a repository secret named REGISTRY_ACCESS_TOKEN.
  2. Run the Publish to Comfy registry workflow manually or push a version tag such as v1.0.1.

The workflow intentionally publishes only on v* tags, so ordinary commits to main will not push a new registry release.