Oink
Nodes

AICleanPlate

AICleanPlate: removes the masked object (Mask = AIRoto / Roto / any alpha).

raw .md

AICleanPlate: removes the masked object (Mask = AIRoto / Roto / any alpha). Process fills each masked pixel with the real background from the nearest frame where it is visible (optical flow, or exact pixels on a locked-off plate); optional stage 2 (Wan 2.1 VACE, Apache-2.0) generates only what no frame ever shows. Camera: auto, moving camera, locked-off or surface (markers). Layer cleanplate: r hole, g filled from frames, b generated, a confidence. Stage 2 model Auto picks the commercial model that fits the free GPU memory. It can also use MiniMax-Remover (research pack, non-commercial use only: accept its licence in the panel first); Stage 2 Fills = whole hole lets the model repaint the whole masked area.

NodeAICleanPlate
Type idOC_N_aicleanplate
MenuAI › AICleanPlate
Nuke classnone: saved in .nk files as an Oink node
Codeopencomp_core/nodes/ai/aicleanplate.py

AICleanPlate properties

Inputs and outputs

PortNameType
input 0Plateimage
input 1Maskimage
output 0Imageimage

Knobs

Panel tab Aicleanplate, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
mask_channelmask channelmenualphaalpha, red, luminance
dilatedilatefloat40 to 200Pixels added around the mask (edges, motion blur, shadow)
featherfeatherfloat40 to 200
thresholdmask thresholdfloat0.020 to 1
modecameramenuautoauto, flow (moving camera), static (locked-off), surface (surface (markers))
windowpropagation windowfloat201 to 500 (integer)Frames searched each way for clean background
blendblendmenunearestnearest (nearest frame), average
stage2generate unseen (stage 2)boolfalseWan 2.1 VACE fills pixels no frame ever shows
modelmodelmenuAUTOAUTO (Auto (commercial model that fits)), wan2.1-vace-1.3b (Wan 2.1 VACE 1.3B), minimax-remover (MiniMax-Remover (research pack, non-commercial))
stage2_fillstage 2 fillsmenuunseenunseen (unseen only), all (whole hole)
promptprompttextOptional: what the background is (empty = generic clean plate)
seedseedfloat420 to 2147483647 (integer)
stepsstepsfloat254 to 100 (integer)
chunkchunk framesfloat335 to 81 (integer)Frames the model sees at once (4n+1); chunks overlap and crossfade
overlapoverlapfloat80 to 40 (integer)
regrainregrainbooltrueAdd grain matched to the plate to generated pixels
outputoutputmenucleanclean (clean plate), stage1 (stage 1 only), holes
check_inputcheck inputbooltrueOnly use results made from exactly this plate + mask

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

KnobLabelTypeDefaultRange / valuesNuke 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
generationGenerationint0-2147483648 to 2147483647
processed_firstProcessed Firstint0-2147483648 to 2147483647
processed_lastProcessed Lastint-1-2147483648 to 2147483647

Nuke equivalent

No Nuke class. In a .nk file this node is written as an Oink node that Nuke will not recognise.

On this page