> For the complete documentation index, see [llms.txt](https://docs.photoroom.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.photoroom.com/visual-agent-api-enterprise-plan/overview.md).

# Overview

## Who is this API for?

The Visual Agent API lets you create automated agents that enhance your images by:

1. applying the relevant AI editing
2. verifying that no product alteration has been introduced
3. retrying the editing when an alteration has been detected

Here are some examples of how the Visual Agent API can be used depending on the industry:

### Food Delivery

Pictures of dishes taken by restaurant owners can be of varying quality and AI editing is a great way to improve their quality.

However, it's important to ensure that the content of the dish stays the same and that no ingredients have been added or removed.

The Visual Agent API solves this problem.

The agent will create an automated workflow, that will automatically improve the image and verify product accuracy:

<figure><img src="/files/GIP6nJdNR3FWBZ3Pf5zf" alt=""><figcaption></figcaption></figure>

Then, by executing this workflow the agent will produce improved images with the guarantee that no ingredients have been added or removed.

|        *(original image)*        |         *(edited image)*         |
| :------------------------------: | :------------------------------: |
| ![](/files/htgOoD8NhElmaC1wTjtx) | ![](/files/7OUq0kNHAaYhieDN3RGO) |
| ![](/files/IJMW7tyIoyaXA1z9SQuH) | ![](/files/rpUHCDTNK9iSl878mGoN) |
| ![](/files/66m1LUWM7N2ZainUQOOF) | ![](/files/s8tpHNYJHBvRWb4uOUfj) |
| ![](/files/JfXso8ejYzyG3JJ170Ys) | ![](/files/EuUnLDcoRGtPgseXGGpn) |
| ![](/files/4xJZTN4bmKf0HJCin2R2) | ![](/files/li7K3zszZjPgerU7OMlf) |

## How do I call the Visual Agent API?

The Visual Agent API is only available for Enterprise plans.

If you're interested to use the Visual Agent API, please [contact our team to book a demo](https://www.photoroom.com/contact-sales?utm_source=apidocumentation\&utm_medium=enterprisegated).

<a href="https://www.photoroom.com/contact-sales?utm_source=apidocumentation&#x26;utm_medium=enterprisegated" class="button primary">Book a demo</a>&#x20;


---

# 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.photoroom.com/visual-agent-api-enterprise-plan/overview.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.
