> For the complete documentation index, see [llms.txt](https://help.integrail.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.integrail.ai/agent-studio/editor/image-to-image.md).

# Image to Image

### Image resize

* **Purpose**: This node crops an image to focus on a specific area, removing unwanted sections.
* **Model**: `image-crop`
* **Key Inputs**:
  * **Image**: The image to be cropped.
  * **Left, Top, Width, Height**: Define the cropping boundaries.

### Erase&#x20;

* **Purpose**: This node is used to erase or remove specific parts of an image.
* **Model**: `stability-erase`
* **Key Inputs**:
  * **Image**: The image where erasing will be applied.
  * **Mask**: Specify the part of the image to erase via a mask.

***

### Inpaint

* **Purpose**: This node is used to fill in missing or unwanted parts of an image, often referred to as "inpainting."
* **Model**: `stability-inpaint`
* **Key Inputs**:
  * **Image**: The base image to be inpainted.
  * **Mask**: An optional mask defining the areas to be inpainted.
  * **Prompt**: Instructions for what should replace the masked region.

***

### Outpaint

* **Purpose**: This node extends the image beyond its original borders, commonly referred to as "outpainting."
* **Model**: `stability-outpaint`
* **Key Inputs**:
  * **Image**: The original image.
  * **Left, Right, Up, Down**: Define how much to extend the image in each direction.

***

### Search and recolor

* **Purpose**: This node searches for specific elements in an image and changes their color.
* **Model**: `stability-search-and-recolor`
* **Key Inputs**:
  * **Image**: The base image.
  * **Prompt**: Specify the element to recolor.
  * **Select Prompt**: Define the new color or pattern.

***

### Search and replace

* **Purpose**: This node allows you to search for specific elements within an image and replace them with new ones.
* **Model**: `stability-search-and-replace`
* **Key Inputs**:
  * **Image**: The image where the search-and-replace function will be applied.
  * **Search Prompt**: Define what you are searching for in the image.
  * **Prompt**: Define what should replace the found element.

***

### Sketch

* **Purpose**: This node turns an image into a sketch or line drawing, emphasizing outlines.
* **Model**: `stability-sketch`
* **Key Inputs**:
  * **Image**: The image that will be converted to a sketch.
  * **Prompt**: You can guide the style of the sketch through the prompt.

***

### Upscale

* **Purpose**: This node enhances the resolution of an image while preserving its original quality, making it sharper and more detailed.
* **Model**: `stability-conservative-upscale`
* **Key Inputs**:
  * **Image**: Upload or link the image you wish to upscale.
  * **Prompt**: Optionally, provide instructions or context for further image processing.

***

### Structure

* **Purpose**: This node is used to adjust the structural components of an image, allowing for more intricate modifications.
* **Model**: `stability-structure`
* **Key Inputs**:
  * **Image**: Upload or link the image whose structure will be modified.
  * **Prompt**: Provide detailed instructions for how to adjust or transform the structure of the image.

***

We’d love to hear from you! Reach out to **<documentation@integrail.ai>**
