The InstructPixToPixConditioning node prepares conditioning data for InstructPix2Pix image editing by combining positive and negative text prompts with image data. It processes input images through a VAE encoder to create latent representations and attaches these latents to both positive and negative conditioning data. The node automatically handles image dimensions by cropping to multiples of 8 pixels for compatibility with the VAE encoding process.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `positive` | Positive conditioning data containing text prompts and settings for desired image characteristics | CONDITIONING | Yes | - |
| `negative` | Negative conditioning data containing text prompts and settings for undesired image characteristics | CONDITIONING | Yes | - |
| `vae` | VAE model used for encoding input images into latent representations | VAE | Yes | - |
| `pixels` | Input image to be processed and encoded into latent space | IMAGE | Yes | - |

**Note:** The input image dimensions are automatically adjusted by cropping to the nearest multiple of 8 pixels in both width and height to ensure compatibility with the VAE encoding process.

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `positive` | Positive conditioning data with attached latent image representation | CONDITIONING |
| `negative` | Negative conditioning data with attached latent image representation | CONDITIONING |
| `latent` | Empty latent tensor with the same dimensions as the encoded image | LATENT |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/InstructPixToPixConditioning/en.md)

---
**Source fingerprint (SHA-256):** `ac48cc0d3c77f1e399b615068291ae60801f36a6c4e1ae47d624fbc08e0b7264`
