Nodes/ComfyUI-AusBoss/Krea 2 Encode πŸ†Ž
ComfyUI Node

Krea 2 Encode πŸ†Ž

Encodes a Krea 2 prompt pair and attaches reference latents in one node. Wire a VAE and a reference image and the reference is encoded and appended to the positive conditioning; leave them unwired and this is a plain two-prompt encoder. The negative comes out of the same node so a turbo graph at CFG 1.0 still has something to plug in without a second text encode sitting there doing nothing.

By ausbossΒ·Created about a month agoΒ·Updated 7 days agoΒ· 2
Krea 2 Encode πŸ†Ž
  • clip
  • vae
  • reference
  • extra_image
  • positive
  • negative
β—„promptβ–Ί
β—„negative_promptβ–Ί
β—„vlm_referencefalseβ–Ί
CategoryπŸ†Ž AusBoss/Krea2

Inputs (7)

NameTypeDefaultDescription
clipCLIPThe Krea 2 text encoder.
promptSTRINGDescribe the whole finished canvas, not just the new area β€” the model is generating all of it and matching the reference where it must.
negative_promptoptSTRINGIgnored at CFG 1.0, which is where turbo runs β€” an empty negative is the normal case there.
vaeoptVAENeeded to turn the reference images into latents. Without it the references are skipped.
referenceoptIMAGEThe `reference` output of Load Image + Pad πŸ†Ž β€” the unpadded source. Any image works; it is fitted to a multiple of 16 first.
extra_imageoptIMAGEA second reference, e.g. a style or character plate.
vlm_referenceoptBOOLEANfalseAlso show the references to the vision tower, so the text encoder describes them. Off for outpaint β€” the latents already carry the picture, and the description tends to pull the result toward a paraphrase of the source.

Outputs (2)

NameTypeDescription
positiveCONDITIONINGPrompt conditioning with the reference latents attached.
negativeCONDITIONINGNegative prompt conditioning.