T8 Color Style Config(色彩风格配置)
Six hex codes beat 'cinematic' — meet T8 Color Style Config
- color_style_config
A color plan, not a filter
T8 Color Style Config is a satellite node in T8mars' prompt-enhancer pack - the pack whose day job is rewriting your rough idea into a MiniMax H3 or Seedance 2.0 prompt with an LLM, cloud or local GGUF. This node doesn't generate anything. It picks a packaged color palette and hands it to that enhancer as a typed, validated configuration, so the rewrite has an actual color plan to write around instead of whatever "cinematic" means to the model this week.
Prompt work is mostly about replacing vibes with specifics - naming a physical piece of equipment beats every "realistic, candid, amateur" modifier you can stack. Same principle here: "warm nostalgic tones" gives a language model nothing, while six hex values with relative weights give it a hierarchy to distribute across shots.
So: not a LUT, not an image effect. It never sees your pixels and makes zero model requests of its own.
How it works
The node's output is deliberately not free text. build_style_config produces a small identity record, and for the color node it looks like this:
{
"schema_version": "t8-color-style-config/v1",
"mode": "on",
"style_id": "022",
"resource_revision": "1.0.0",
"resource_sha256": "…",
"adapter_revision": "1.0.0",
"scope": "color_only"
}
Note what's missing: any prose. The config carries identity and a hash, nothing you could smuggle a prompt injection through. When the H3 or Seedance node receives it, resolve_style_config rebuilds the canonical payload from the current catalog and rejects an incoming one that doesn't match - so a stale or hand-edited config fails loudly instead of quietly steering your prompt.
The enhancer then loads the packaged resource (resources/visual_styles/colors/<id>.json), verifies its SHA-256 against the catalog entry, and appends a fixed English system block to the request it was already making. That block presents the six primaries and their source shares as a soft hierarchy - "not measured image coverage or a LUT" - and states that locked clothing, brand colors, natural skin and reference identity outrank it. Nothing extra is billed; it rides the request you were sending anyway.
If the enhancer needs a retry or repair pass, the style block is re-attached rather than lost - a second pass won't silently drop your color direction.
The three inputs
Mode is 关闭 / Off by default and that's a good default - flip it to 开启 / On only after you've picked a palette. Palette starts at 未选择 / None and lists 200 entries labelled like 022 王家卫 / Wong Kar-wai; the catalog is one shared list of 200 numbered looks and this node reads the color half of each. Each palette is six primary swatches (C01–C06) whose shares sum to exactly 1, plus four accent candidates (E01–E04) that exist only in the preview - they add no area quota and aren't permission to recolor a locked subject.
Scope is the one field that changes behaviour rather than just which palette: 仅色彩 / Color only explicitly forbids the model from touching lighting setup or light-source direction, while 色彩 + 光影 / Color + lighting also passes along the entry's lighting note (side light with defined shadow edges, that sort of thing). Start with color only - palettes that drag lighting along will happily turn your afternoon scene into dusk.
Output is a single color_style_config socket of type T8_COLOR_STYLE_CONFIG, which goes into the 色彩风格(可选)/ Color style input on the H3 or Seedance 2.0 enhancer. Those inputs are optional and lazy: unwired or Off, they're simply not evaluated and your old workflow behaves exactly as before.
Installing it
ComfyUI Manager, search the pack title MiniMax H3 / Seedance 2.0 / Music 3 Prompt Enhancer (T8), or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/comfyui-minimax-h3-prompt-enhancer-T8.git
Then restart ComfyUI and hard-refresh the browser (Ctrl+F5). No model to download, and nothing heavy in Python terms - the pack declares NumPy, Pillow and requests, all of which ComfyUI already has. One real requirement: the pack needs ComfyUI 0.33.0 or newer and pins a current comfyui-frontend-package, because these nodes are built on the newer io.ComfyNode API and a custom socket type. On an old install they won't even register. The config node needs no API key; only the enhancer downstream does, or a local GGUF model on that path. The README recommends GitHub installs over Manager for updates, because a Registry build stuck in review can silently reinstall an older version.
Where people get burned
Enabling the node with 未选择 / None still selected fails at queue time with "请先选择一个有效风格编号 / Select a valid style before enabling it." That's the most common one, and it's a validation error, not a crash. Pick the palette first, then switch to On.
If the 浏览风格与帮助 / Browse styles button never appears, your frontend didn't reload - the button is injected by the pack's JS and the preview dialog is served from the ComfyUI backend, so a full restart plus Ctrl+F5 is the fix. That button is also serialize: false, so its state never lands in widgets_values.
A refusal to accept the config at all - "Invalid visual style resource or config; select again or reinstall" - means the packaged resource doesn't match the catalog hashes, usually a half-updated folder. Clean to a single clone and restart; resources are pinned to the pack revision and don't hot-reload.
Keep expectations calibrated. Shares are relative weights, not pixel coverage, so don't expect an exact six-color frame. The previews are vector diagrams, not renders, and the author says plainly that no verified H3 or Seedance output exists for these entries yet. Run the honest test: same prompt, Off versus On. This is a way to stop writing "moody, filmic, teal and orange" for the ninth time - not a grade node.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | 关闭 / Off | 3 options: 关闭 / Off, 开启 / On, 开启(H3强化试验) / On (H3 experimental) |
| palette | COMBO | 未选择 / None | 201 options: 未选择 / None, 001 阿尔弗雷德·希区柯克 / Alfred Hitchcock, 002 大卫·芬奇 / David Fincher, 003 迈克尔·哈内克 / Michael Haneke, 004 布莱恩·德·帕尔玛 / Brian De Palma, 005 丹尼斯·维伦纽瓦 / Denis Villeneuve, +195 |
| scope | COMBO | 仅色彩 / Color only | 2 options: 仅色彩 / Color only, 色彩 + 光影 / Color + lighting |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| color_style_config | T8_COLOR_STYLE_CONFIG | — |