Nodes/ComfyUI_NAIDGenerator/Colorize βœ’οΈπŸ…πŸ…πŸ…˜
ComfyUI Node

Colorize βœ’οΈπŸ…πŸ…πŸ…˜

Add color to a grayscale or sketch image using NovelAI's hosted tool

By bedovyyΒ·Created 3 years agoΒ·Updated 4 days agoΒ· 114
Colorize βœ’οΈπŸ…πŸ…πŸ…˜
  • image
  • IMAGE
β—„limit_opus_freetrueβ–Ί
β—„ignore_errorsfalseβ–Ί
β—„defry0β–Ί
β—„promptβ–Ί

ColorizeNAID is the natural second half of a sketch-to-color loop. Feed it a grayscale or line drawing and it returns a colored version, with NovelAI's hosted colorize model doing the guesswork about which hues belong where. It's a director tool, so everything runs on NovelAI's servers and each call is metered in Anlas - your GPU just resizes and encodes.

Beyond the usual image, limit_opus_free, and ignore_errors inputs, this one has two knobs the other director tools lack:

  • defry - an integer 0 to 5, default 0. This is the strength dial for the colorize pass (in the pack's Emotion node, the same defry value is derived from a six-step strength ladder, which tells you what it means: 0 is the lightest touch, 5 the most aggressive reinterpretation). Keep it at 0 to start - the model's default coloring is usually what you want.
  • prompt - optional text, default empty. Leave it empty for straight colorization. Fill it in when you want to steer the palette - "warm evening light, teal shadows" type guidance - and the model folds it into the color decision.

Output is an IMAGE (plus the usual autosave to output/NAI_autosave/). Mechanically the node POSTs your image with req_type: "colorize" and passes defry and prompt as extra options in the request body - a straight passthrough of your inputs to NovelAI's augment-image API.

Where this shines is the loop you can build entirely inside the pack: LineArtNAID or SketchNAID strips a render down, then ColorizeNAID recolors the result, then GenerateNAID (img2img, low strength) finishes it back into a render. Three director/option nodes, one subscription, no local models. The reverse direction works too - colorize a grayscale character sheet and use it as a vibe/reference image for consistency in the next generation.

The recurring pack caveats all apply: it's paid per image, it's tuned for anime/illustration, and if ignore_errors is on you may get a blank 1Γ—1 back - check the console for the swallowed error and confirm your NAI_ACCESS_TOKEN is set in a .env in the ComfyUI root. Install is the pack standard: Manager search "ComfyUI_NAIDGenerator", or git clone https://github.com/bedovyy/ComfyUI_NAIDGenerator into custom_nodes/ and restart.

CategoryNovelAI/director_tools

Inputs (5)

NameTypeDefaultDescription
imageIMAGEβ€”
limit_opus_freeBOOLEANtrueLimit image size and steps for free generation by Opus.
ignore_errorsBOOLEANfalseβ€”
defryINT00–5β€”
promptSTRINGβ€”

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”