Nodes/ComfyUI-RedNodeStudio/RedNode Paint Out (to any renderer)
ComfyUI Node

RedNode Paint Out (to any renderer)

Hands the Paint tab's picture and mask out so any renderer can do the work: a hosted model, a different architecture, another pack's img2img. Wire the result into RedNode Paint In to composite it back through the feathered mask. The paint output carries the original, so nothing needs wiring twice. denoise, prompt, width, height, cfg and steps come out too, for wiring into whatever the renderer calls its strength, its prompt, its dimensions and its sampler dials, so the Paint tab stays the one place you set them. The width and height are of the image being handed out, which in painted-region scope is not the size of the original picture. Wire your main prompt and negative into main_prompt and main_negative and the tab's empty boxes fall back to them, the same promise the boxes make for the internal renderer.

By RedNodeAI·Created 25 days ago·Updated 15 days ago· 0
RedNode Paint Out (to any renderer)
  • image
  • image
  • mask
  • denoise
  • prompt
  • paint
  • width
  • height
  • cfg
  • steps
  • negative
  • seed
scopeauto
context0.25
region_size0
region_shapeauto
main_prompt
main_negative
CategoryRedNode/Image

Inputs (7)

NameTypeDefaultDescription
scopeCOMBOautoAuto follows the Paint tab: its Painted mode hands out the region, Whole frame hands out the picture, so the switch you set while painting is the one that runs. Whole frame hands out the full picture and a full-size mask, which is what most hosted models expect, and forces that even while painting a region. Painted region hands out just the painted area plus context, the way RedNode Paint Render works, which puts more pixels on the part being redone.
contextFLOAT0.250–2Painted region only: how much extra room around the paint to include, as a fraction of its size. Some context is what lets a renderer match the lighting instead of leaving a seam.
region_sizeINT00–4096Painted region only: the PIXEL BUDGET the region is handed out at, as the side of a square. 1024 means about a megapixel however the region is shaped, so a long thin mask gets the same detail as a compact one instead of being rationed by its longest side. 0 follows the Paint tab's size dial, which is what the whole-frame path already does; anything else forces that budget.
region_shapeCOMBOautoPainted region only: the shape the region is grown to. Auto picks whichever of 1:1, 4:3, 3:4, 16:9 and 9:16 the painted area is already closest to, which keeps it inside what the model was trained on. The box only ever GROWS, adding context around the paint, so nothing you painted is ever cropped out.
imageoptIMAGEthe picture to work from. Leave it unwired and it follows the Paint tab, the same as RedNode Paint Render does.
main_promptoptSTRINGyour main prompt. When the Paint tab's prompt box is empty, the prompt output hands this out instead, which is the same promise the box makes for the internal renderer.
main_negativeoptSTRINGyour main negative. When the Paint tab's negative box is empty, the negative output hands this out instead.

Outputs (11)

NameTypeDescription
imageIMAGE
maskMASK
denoiseFLOAT
promptSTRING
paintRN_PAINT
widthINT
heightINT
cfgFLOAT
stepsINT
negativeSTRING
seedINT