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

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

Turn a render into a rough sketch via NovelAI's hosted tool

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

SketchNAID is the messier sibling of the pack's LineArtNAID. Where lineart gives you clean edge extraction, this one pushes an image through NovelAI's hosted "sketch" tool - the loose, hand-drawn-looking treatment you get from the same button in the NovelAI web app. Same shape, rougher result: it's for when you want the feel of a concept sketch rather than a crisp blueprint of edges.

It's a director tool, which in this pack means it's an honest little API client for https://image.novelai.net/ai/augment-image. You give it:

  • image - the source.
  • limit_opus_free (on) - caps size at 1024Γ—1024 and stays inside the free generation quota for Opus-tier accounts. Leave on unless you're deliberately paying for bigger input.
  • ignore_errors (off) - swallow API failures and return a blank 1Γ—1 instead of killing your queue.

One IMAGE comes out (and gets autosaved to output/NAI_autosave/). The node encodes your image to base64, posts it with req_type: "sketch", unzips the returned PNG, decodes it. All of it remote, all of it metered in Anlas, none of it touching your GPU.

Where it fits in a workflow: the sketch output is a great intermediate, not usually an endpoint. Feed it back into GenerateNAID as an img2img source with a low-ish strength and a prompt like "clean colored illustration" and you get a redraw that keeps the loose composition but tightens the finish. That two-step is the classic "sketch β†’ render" loop, and this node just supplies the first half on NovelAI's servers instead of on your machine.

The honest caveats are the same ones you'd get from the web tool: the sketch filter is tuned for anime illustration, so photorealistic input comes back looking like a stylized mess, and it's a per-image paid call - fine for the images that matter, wasteful for batch sweeps. If you want a stronger, more predictable hand, LineArtNAID is the cleaner starting point; sketch is the characterful one.

Install: ComfyUI Manager β†’ search "ComfyUI_NAIDGenerator", or clone into custom_nodes/ and restart. Your NAI_ACCESS_TOKEN goes in a .env in the ComfyUI root (the folder that holds custom_nodes/), not inside the node folder - the 401s people hit are almost always that file missing or holding an expired web-session token instead of a persistent API token.

CategoryNovelAI/director_tools

Inputs (3)

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

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”