Oink
GenFillReference GenFill

GenFill

Generative fill: replace the masked region from a text prompt.

raw .md
NodeGenFill
MenuAI › GenFill
Names in each format
.oink comp (JSON)"type": "OC_N_genfill"
.nk scriptnone: written as an Oink node
Pythonnuke.createNode("OC_N_genfill")
Assistant (MCP)create_node(type="GenFill")
Tab searchgenfill, or its initials gf

GenFill properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1Maskimage
input 2Referenceimage
output 0Imageimage

Knobs

Panel tab Genfill, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
promptprompttext
negativenegativetext
seedseedfloat10 to 2147483647 (integer)
strengthstrengthfloat10 to 11 = ignore what is under the mask; lower keeps its layout
stepssteps (0 = default)float00 to 100 (integer)0 = model default
guidanceguidance (0 = default)float00 to 200 = model default
lightningQwen lightning (8 steps)booltrueQwen-Image-Edit: 8-step Lightning LoRA (Apache-2.0)
mask_channelmask channelmenualphaalpha, red, green, blue, luminance
invert_maskinvert maskboolfalse
growgrow (px)float80 to 256Dilate the mask (px)
featherfeather (px)float60 to 256Soft blend edge outside the grown mask (px)
contextcontextfloat0.750 to 4Context around the hole the model sees (fraction of its size)
megapixelsmodel megapixelsfloat10.25 to 2.5
reference_followsreference per framebooltrueUse the Reference input at the same frame (off: a fixed frame)
reference_framereference framefloat1001-100000 to 100000 (integer)
gamutworking spacemenurec709rec709 (linear Rec.709), acescg (ACEScg)
shaperencodingmenureinhardreinhard, log, srgb
exposureexposurefloat0-6 to 6Stops before encoding (fixed per shot), removed after
peakpeakfloat161 to 1000Top of the encoded range: generated pixels can reach it
regrainregrain (match plate grain)booltrueAdd the plate's measured grain to the filled pixels (match shot grain)
keep_loadedkeep model loadedbooltrueKeep the model on the GPU after a run so the next one starts warm; the AI worker still unloads it after 5 idle minutes or when another GPU job needs the card

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring
modelModelstringautoModel id (picked in the panel; licence tier shown there); auto = the fast model that fits the free GPU memory
results_dataResultsstring{}
last_dataLast Runstring{}

On this page