# Frequently Asked Questions

## Q: Will the API make alterations to my products?

A: No, for most use cases the API will **not make** alterations to your products.

By default, the API will:

1. remove the background of the original image, to isolate its main subject
2. reposition and add effects around that main subject

With this approach, it's simply not possible to introduce alterations, such as modifying a logo or a brand name.

The API does offer some features that can, however, introduce alterations.

Here's their exhaustive list:

* [AI Relight](https://docs.photoroom.com/image-editing-api-plus-plan/ai-relight) and [Green Screen Despill](https://docs.photoroom.com/remove-background-api-basic-plan/green-screen-despill), which can alter colors
* [AI Text Removal](https://docs.photoroom.com/image-editing-api-plus-plan/ai-text-removal), which removes text from the main subject
* [AI Uncrop](https://docs.photoroom.com/image-editing-api-plus-plan/ai-uncrop) and [AI Expand](https://docs.photoroom.com/image-editing-api-plus-plan/ai-expand), which generates the missing part of the original image
* [AI Beautifier](https://docs.photoroom.com/image-editing-api-plus-plan/ai-beautifier), which creates a re-imagined version of the main subject
* [AI Upscale](https://docs.photoroom.com/image-editing-api-plus-plan/alpha-ai-upscale), which increases the resolution of the original image
* [Edit With AI](https://docs.photoroom.com/image-editing-api-plus-plan/edit-with-ai), which edits the original image using an AI model
* [Virtual Model](https://docs.photoroom.com/image-editing-api-plus-plan/virtual-model), [Flat Lay](https://docs.photoroom.com/image-editing-api-plus-plan/flat-lay) and [Ghost Mannequin](https://docs.photoroom.com/image-editing-api-plus-plan/ghost-mannequin), which edit clothing images using an AI model

If you use one of these features and product accuracy is important for you, then we recommend that you have a human validation of the images produced by the API.

***

## Q: **How can I monitor my credit balance?**

A: You can track your current credit balance in your [API dashboard](https://app.photoroom.com/api-dashboard):

<figure><img src="https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2FLhUWB01CfJ73K0V7HWTG%2Fphotoroom-api-dashboard-credits.png?alt=media&#x26;token=368f5200-4d6a-46e1-84c1-0aa1f5fc9fda" alt="" width="563"><figcaption></figcaption></figure>

If you want to monitor your credit balance with your own tools, you can do it through [this endpoint](https://docs.photoroom.com/api-reference-openapi#get-v2-account).

Please note that the credit system used by the API is independent of the Pro subscription that gives access to the Photoroom app on iOS, Android, and the web.

***

## Q: Do you offer Enterprise pricing?

A: Yes, for large volumes (from 200K images/year) we do offer Enterprise pricing.

For more details, please [contact our sales team](https://www.photoroom.com/contact-sales?utm_source=apidoc\&utm_medium=getting-started-pricing).

***

## **Q: What is the latency to return the processed image?**

A: The median latency (number of seconds it will take to remove the background) to return the processed image is 350ms for the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan).

***

## Q: Does the API have anti-spam / DDoS protection?

Yes, the Photoroom API uses Cloudflare for DDos protection.

***

## **Q: Is there a rate-limiting?**

A: The default rate limit is 60 images per minute.

When the rate limit has been reached, an error code `429` will be returned.

A higher rate limit is possible for Enterprise plans.

If you're interested in a higher rate limit, please [contact our sales team](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">Contact Sales</a>

***

## Q: Can I process several images at once, in bulk?

A: Yes, it's possible to process several images in bulk.

While the Photoroom API only processes one image per call, it's possible to perform several API calls in parallel.

The only limit is our rate limiting, which is of 60 images per minute by default (and can be [increased for Enterprise plans](#q-is-there-a-rate-limiting))

***

## **Q: Are the images sent to the API stored by Photoroom? Can I ask to delete them?**

A: Photoroom doesn’t save the images that are processed through the Photoroom API.

***

## **Q: Where are your servers located?**

A: Our servers are located in Eastern USA.

***

## **Q: What are the max resolution and size of the image?**

A: We recommend limiting images to 25 megapixels for optimal performance.

* [**Remove Background API**](https://docs.photoroom.com/remove-background-api-basic-plan)**:**
  * **Maximum File Size**: 50MB
  * **Maximum Resolution**: 6,000 pixels on the widest side
* [**Image Editing API**](https://docs.photoroom.com/image-editing-api-plus-plan):
  * **Maximum File Size**: 30MB
  * **Maximum Resolution**: 5,000 pixels on the widest side
  * Images with a larger resolution are supported (if they stay below 30MB), but will be resized down to 5,000 pixels on the widest side.

{% hint style="warning" %}
Please note that large images will result in API calls taking a longer time to complete.

If you experience timeouts, please try to increase the default timeout of your networking library.
{% endhint %}

***

## **Q: Which image formats are supported?**

A: All APIs accept images in PNG, JPEG and WEBP format. Images in HEIC format are supported only by the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan). Other formats are not supported.

***

## **Q: Which colorspaces are supported?**

A: The API supports images using the sRGB colorspace. If you need to process images using a different colorspace (P3, CMYK, etc.) we recommend that you [contact us](https://photoroom.discourse.group/) beforehand.

***

## **Q: Can I train a machine learning model using images edited with the API or Photoroom?**

A: No, according to [our terms](https://www.photoroom.com/legal/terms-and-conditions), you can’t train a machine learning model using the Photoroom API.

***

## **Q: What should the Photoroom logo look like within your app with the API partner plan?**

A: Below are a few examples of a well-done partnership on an upload image interface. Typically users benefiting from the background removal must see the Photoroom logo and be able to click on it.

<https://www.loom.com/share/fe97c7e645d94e0586465d98c7326042>

From a technical standpoint:

1. Where should you put the logo in your app?\
   The best place to show the Photoroom logo is on your upload-images UI if you have one. This way creators and resellers can learn about Photoroom. If you don't have such a UI, you can display the attribution logo next to the images you're showing on your application.<br>
2. Which logo should you use? The Photoroom logo to add is the following one:

   We offer several versions of the logo (.svg for Android & Web, .pdf for iOS, and .png), a version with no tagline so you can localize "Background Removed by" and a dark version. They are available here: [All Photoroom API attributions version](https://photoroom.notion.site/All-PhotoRoom-API-attributions-version-2-b6c90dad9188427bbe6a44c05a91db1b).\
   \
   You can add a thin layer with white background and transparency behind our logo, so it works well on all images.
3. Which link should you set?

   Always wrap those images with a link to:

   * [https://photoroom.com](https://www.photoroom.com/) for web and email
   * <https://apps.apple.com/us/app/photoroom-studio-photo-editor/id1455009060> for iOS apps
   * <https://play.google.com/store/apps/details?id=com.photoroom.app&hl=en&gl=US> for Android apps

***

## **Q: I have another question**

A: For a question on pricing, please check our dedicated [pricing FAQ](https://www.photoroom.com/api#faq-block).

For any other questions, you can reach out to our engineers on our [API community.](https://photoroom.discourse.group/)&#x20;

1. If its a technical question, share with us:
   * A standalone code to reproduce the bug
   * The original input image you used
   * The output image returned by Photoroom API
   * A detailed description or visual example of the expected image you would have liked to get\
     We will then investigate the issue and come back to you shortly.
2. If it's a billing related question with sensitive information, use the DM function on our community and start a chat with Photoroom.
