> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec-462120c.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TextEncodeJoyImageEdit - ComfyUI Built-in Node Documentation

> This node encodes a text prompt and optional images into conditioning data for use with JoyImage models.

This node encodes a text prompt and optional images into conditioning data for use with JoyImage models. It combines a CLIP text encoder with optional image inputs to create rich conditioning that can guide image generation or editing tasks.

## Inputs

| Parameter | Description                                                                                                                                 | Data Type | Required | Range         |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------- |
| `clip`    | The CLIP model used for encoding the text prompt                                                                                            | CLIP      | Yes      | -             |
| `prompt`  | The text prompt to encode, supporting multiline input and dynamic prompts                                                                   | STRING    | Yes      | -             |
| `vae`     | A VAE model for encoding images into latent space                                                                                           | VAE       | No       | -             |
| `images`  | Optional images to include in the conditioning, up to a maximum of 6 images. Each image connects as a separate input (image\_0 to image\_5) | IMAGE     | No       | 0 to 6 images |

The `images` input is an autogrow group that accepts between 0 and 6 images. When no images are connected, the conditioning is based on the text prompt alone.

## Outputs

| Output Name    | Description                                                                     | Data Type    |
| -------------- | ------------------------------------------------------------------------------- | ------------ |
| `CONDITIONING` | The encoded conditioning data combining the text prompt and any provided images | CONDITIONING |

> 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/TextEncodeJoyImageEdit/en.md)

***

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