> For the complete documentation index, see [llms.txt](https://docs.pletor.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pletor.ai/build-agents/nodes/ai-nodes/ai-image.md).

# AI Image

These nodes cover everything from text-to-image generation to post-processing operations like upscaling and background removal.

### Available image nodes

| Node                    | What it does                                                          | Key inputs                                    |
| ----------------------- | --------------------------------------------------------------------- | --------------------------------------------- |
| **Generate image**      | Create images from text prompts                                       | Text prompt, optional reference images        |
| **Edit image**          | Modify images using text instructions                                 | Source image + edit prompt                    |
| **Change aspect ratio** | Resize and reframe images to different dimensions                     | Source image + target aspect ratio            |
| **Upscale image**       | Increase image resolution while preserving detail                     | Source image                                  |
| **Remove background**   | Remove the background from an image, outputting a transparent PNG     | Source image                                  |
| **Change camera angle** | Adjust the camera angle of an image using 3D controls                 | Source image + angle parameters               |
| **Vectorize image**     | Convert a raster image to SVG vector format                           | Source image                                  |
| **Composer**            | Layer text, images, graphics, and logos into a single composed visual | Multiple images/text layers + layout settings |

#### Tips for AI Image nodes

* **Connect Brand System nodes** (Visual References, Brand Guidelines) to your Generate Image node to keep outputs on-brand.
* **Chain nodes for production workflows**: Generate Image → Remove Background → Composer is a common pattern for creating product shots with custom backgrounds.
* **Use Edit Image for iterations**: instead of regenerating from scratch, edit an existing image to fix specific areas while keeping what works.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pletor.ai/build-agents/nodes/ai-nodes/ai-image.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
