# API credits calculation

**URL:** <https://photoroom.discourse.group/t/api-credits-calculation/99>\
**Category:** API General Questions\
**Created:** [June 12, 2025, 8:48am UTC](https://photoroom.discourse.group/t/api-credits-calculation/99 "2025-06-12T08:48:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Giovanni](https://photoroom.discourse.group/u/Giovanni)\
**Post date:** [June 12, 2025, 8:48am UTC](https://photoroom.discourse.group/t/api-credits-calculation/99/1 "2025-06-12T08:48:21Z")

</div>

Hi there,

I’d like to make sure about the API pricing. We can see a price per image but how is it calculated ? If I need to remove a background, replace it with a color background and resize, all that on the same image, will it count for 1 image (0.02$ on the basic plan) or will it count for 3 images ?

Thank you very much

---

<div class="post-metadata">

**Author:** ![Photoroom](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/photoroom/32/6_2.png) [@Photoroom](https://photoroom.discourse.group/u/Photoroom)\
**Post date:** [June 12, 2025, 10:25am UTC](https://photoroom.discourse.group/t/api-credits-calculation/99/2 "2025-06-12T10:25:25Z")

</div>

Hi @Giovanni ,

We have a page regarding [API pricing here](https://www.photoroom.com/api/pricing) for your reference.

- if you are on the Basic plan, a call to the [Image Editing API](https://docs.photoroom.com/image-editing-api-plus-plan) will consume 5 images

- if you are on the Plus plan, a call to the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan) will consume 0.2 image

Let me know if anything is still unclear!

---

<div class="post-metadata">

**Author:** ![Giovanni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Giovanni](https://photoroom.discourse.group/u/Giovanni)\
**Post date:** [June 13, 2025, 8:18am UTC](https://photoroom.discourse.group/t/api-credits-calculation/99/3 "2025-06-13T08:18:12Z")

</div>

Hi, yes I saw this API pricing page but I’m not really sure

Based on the API pricing tabs, the Remove Background API is available through the Basic Plan for €0.02 per image

I’m willing to build an AI automation with your MCP solution. So now I understand the price is not really calculated based on image but on API calls (which is quite logical). But if I use your MCP server, if I need to :

1 - Remove background  
2 - Put a color background  
3 - Resize image

All 3 steps on the same image through the MCP server. Will it count for 1 API call (0.02€) or 3 different API calls (0.06€) ?

Thank you very much

---

<div class="post-metadata">

**Author:** ![Photoroom](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/photoroom/32/6_2.png) [@Photoroom](https://photoroom.discourse.group/u/Photoroom)\
**Post date:** [June 13, 2025, 1:23pm UTC](https://photoroom.discourse.group/t/api-credits-calculation/99/4 "2025-06-13T13:23:24Z")

</div>

Thats a good question @Giovanni.

The **Basic Plan Remove Background API** (at €0.02 per call) includes **three optional parameters** — **`bg_color`** , **`size`** , and **`crop`** — allowing you to:

1. Remove the background
2. Replace it with a solid color
3. Resize and/or crop

All **within a single API request**

So if your workflow on the MCP server chains these steps like this:

1. Remove background
2. Set background color
3. Resize image

…it’s still counted as **one call** at **€0.02** , not €0.06. As long as you’re using those options together in the _same_ Remove Background API call, that’s all it costs.

---

<div class="post-metadata">

**Author:** ![Giovanni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Giovanni](https://photoroom.discourse.group/u/Giovanni)\
**Post date:** [June 16, 2025, 8:46am UTC](https://photoroom.discourse.group/t/api-credits-calculation/99/5 "2025-06-16T08:46:46Z")

</div>

Thank you very much for the info, it is very clear now
