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; the tokenizer automatically selects the appropriate system prompt based on the presence of images and empty negative prompts.

Inputs

Reference latents are added to both conditioning outputs only when vae is provided together with at least one reference image. If vae is omitted, the positive output still receives vision tokens from the reference images, but neither output includes reference latents.

Outputs

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