MCPcopy Index your code
hub / github.com/AIPOQUE/ComfyUI-APQNodes

github.com/AIPOQUE/ComfyUI-APQNodes @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4 symbols 8 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ComfyUI APQNodes

Introduction

Without fine-tuning, FLUX.1 Dev model cannot understand exact color codes. However, it is known that FLUX.1 Dev can repeatedly produce certain colors with certain prompt(color name). Fortunately, on CIVITAI, “novuschroma” shared 155 pre-tested color names that FLUX.1 Dev can handle. Thanks to his resource, color palette consists exclusively of 155 colors can be configured. ‘ColorPalette’ node from ComfyUI APQNodes converts input hex color code to the most similar color name(from pre-tested 155 color names) of which FLUX.1 Dev is aware.

Installation

Clone this repo into custom_nodes folder.

Usage

‘ColorPalette’ node consists of two inputs and two outputs. ColorPalette Node

  • Inputs

    • prompt : User text prompt
    • hexcodes : any text hex color codes without any delimiter. For example, #FF0000 #00FF00 #0000FF can generate color palette consisting of 3 colors(RED, BLUE, GREEN)
  • Outputs

    • Prompt : Text prompt(User text prompt with color palettes applied) to connect to CLIP Text Encode.
    • solor_palettes : Image of generated color palette

Core symbols most depended-on inside this repo

INPUT_TYPES
called by 0
nodes/APQNodes.py
color_picker
called by 0
nodes/APQNodes.py

Shape

Method 3
Class 1

Languages

Python100%

Modules by API surface

nodes/APQNodes.py4 symbols

For agents

$ claude mcp add ComfyUI-APQNodes \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact