Skip to main content
This node prepares conditioning for image editing with Boogu. It processes reference images to create both positive and negative conditioning outputs. The reference image is used twice: vision tokens from the image are added only to the positive conditioning to amplify the edit instruction, while a VAE reference latent is added to both positive and negative conditioning so it cancels out under CFG, preserving the original image identity.

Inputs

ParameterDescriptionData TypeRequiredRange
clipThe CLIP model used for text encodingCLIPYes
promptThe text prompt describing the desired editSTRINGYes
negative_promptThe text prompt describing what to avoid in the editSTRINGNo
vaeThe VAE model used to encode reference images into latent spaceVAENo
imagesReference image(s) to edit. Boogu focuses on one reference per sample; more are allowed.IMAGENoUp to 16 images

Outputs

Output NameDescriptionData Type
positiveConditioning containing both the text prompt with vision tokens and the reference latentsCONDITIONING
negativeConditioning containing the negative text prompt and the reference latentsCONDITIONING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 170979acf5b2e9f25f96231a4b23a4376cfddcd4bda2fdd6e03528417e6931b0