Oink
AIKeyer AIKeyer

AIKeyer

Green/blue screen colour-difference keyer (screen colour auto or picked, balance, clip black/white) with float-correct despill (none, limit, or IBK-style subtract).

raw .md

Green/blue screen colour-difference keyer (screen colour auto or picked, balance, clip black/white) with float-correct despill (none, limit, or IBK-style subtract). AI edge refine sends the core matte and screen difference to ViTMatte or BiRefNet for hair-level edges; Edge Width is the band around the core edge the AI may change, Strength mixes its result in, and AI Model Auto picks the best ViTMatte that fits the free GPU memory. Output: final (despilled colour plus alpha) or matte. Clip, despill and output changes reuse the AI result: the model does not run again.

NodeAIKeyer
MenuAI › AIKeyer
Names in each format
.oink comp (JSON)"type": "OC_N_aikeyer"
.nk scriptnone: written as an Oink node
Pythonnuke.createNode("OC_N_aikeyer")
Assistant (MCP)create_node(type="AIKeyer")
Tab searchaikeyer, or its initials aik

AIKeyer properties

Inputs and outputs

PortNameType
input 0Imageimage
output 0Imageimage

Knobs

Panel tab Aikeyer, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
screen_typescreenmenuGREENGREEN (green), BLUE (blue)
auto_screenauto screen colourbooltrueEstimate the screen colour from the frame (off = use Screen Colour)
screen_colorscreen colourcolour ×30.1, 0.5, 0.10 to 1
balancescreen balancefloat0.50 to 1Weight of red vs the other non-screen channel
clip_blackclip blackfloat0-0.5 to 1
clip_whiteclip whitefloat10 to 1.5
despilldespillmenuLIMITNONE (none), LIMIT (limit), SUBTRACT (subtract (IBK))
despill_amountdespill amountfloat10 to 1
premultiplypremultiplybooltrue
ai_refineAI edge refinebooltrueRefine the core matte's edges with ViTMatte / BiRefNet (AI worker)
ai_modelAI modelmenuAUTOAUTO (Auto (by free GPU memory)), VITMATTE_BASE (ViTMatte base), VITMATTE_SMALL (ViTMatte small), BIREFNET (BiRefNet HR)
edge_widthedge widthfloat201 to 200Band around the core matte edge the AI may change (px)
strengthstrengthfloat10 to 1
tile_sizetile sizefloat10240 to 4096 (integer)
outputoutputmenufinalfinal, matte

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

On this page