Nodes/ComfyUI-Omnichar/Decode Character
ComfyUI Node

Decode Character

Unpack a character into reference images, a numbered contact sheet and its prompt. Wire only what you need. A CLIP is optional and only needed for the conditioning output.

By omnichar·Created 2 days ago·Updated about 17 hours ago· 17
Decode Character
  • char
  • clip
  • conditioning
  • references
  • refs
  • sheet
  • prompt
◄styleordinal►
◄prompt►
◄archoriginals►
◄max_references0►
◄size_fromfirst►
◄fitpad►
CategoryOmnichar

Inputs (8)

NameTypeDefaultDescription
charCHARACTER—
styleCOMBOordinalHow the model addresses reference positions. FLUX.2 reads ordinal prose, MiniMax H3 reads <Picture N>, Seedance reads @ImageN. description-only drops positions, which is what a LoRA needs.
clipoptCLIPOptional. Wire one to get CONDITIONING straight out; leave it empty and use the prompt output instead.
promptoptSTRINGAppended after the character.
archoptSTRINGoriginalsWhich reference set to send. 'originals' is what the character was built from; naming a model family sends the set compiled for it.
max_referencesoptINT00–64Cap the number sent. Slots divide between face, body and outfit rather than cutting the end, so a character keeps its wardrobe. 0 means no cap.
size_fromoptCOMBOfirst3 options: first, largest, smallest
fitoptCOMBOpad3 options: pad, cover, stretch

Outputs (5)

NameTypeDescription
conditioningCONDITIONING—
referencesIMAGE—
refsCHARACTER_REFS—
sheetIMAGE—
promptSTRING—