# Edit photos via API using a template ID

**URL:** <https://photoroom.discourse.group/t/edit-photos-via-api-using-a-template-id/73>\
**Category:** API General Questions\
**Tags:** api-implementation, image-editing\
**Created:** [May 28, 2025, 8:07am UTC](https://photoroom.discourse.group/t/edit-photos-via-api-using-a-template-id/73 "2025-05-28T08:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikomad9](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@nikomad9](https://photoroom.discourse.group/u/nikomad9)\
**Post date:** [May 28, 2025, 8:07am UTC](https://photoroom.discourse.group/t/edit-photos-via-api-using-a-template-id/73/1 "2025-05-28T08:07:29Z")

</div>

Hi,

I have a large number of product images that I want to process using the PhotoRoom API. Specifically, I’d like to apply a custom template to each image by referencing a template ID.

I’ve read through the documentation and I understand how to remove backgrounds and resize images using the API. However, I couldn’t find clear instructions on how to apply a specific template using its ID — i.e., how to send an image to the API, apply a predefined template (via template ID), and receive the final image back.

Is it possible to include the template ID in the API request to automate this process?  
**Thanks in advance**

---

<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:** [May 28, 2025, 8:11am UTC](https://photoroom.discourse.group/t/edit-photos-via-api-using-a-template-id/73/2 "2025-05-28T08:11:16Z")

</div>

Hi @nikomad9 ,

Thanks for asking this question - this is a newer feature that you’re able to access using Photoroom.

Templates will be created using [app.photoroom.com/create](http://app.photoroom.com/create). I would love to walk you through the process (as it’s brand new) to gather your thoughts and feedback if you’d be open to a 15 minute call?

I’ll send over a DM to coordinate if this is something you’re interested in.

Best,

---

<div class="post-metadata">

**Author:** ![nikomad9](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@nikomad9](https://photoroom.discourse.group/u/nikomad9)\
**Post date:** [May 28, 2025, 9:58am UTC](https://photoroom.discourse.group/t/edit-photos-via-api-using-a-template-id/73/3 "2025-05-28T09:58:59Z")

</div>

Hi, thank you for your quick response. I’d be happy to schedule a call to go through your new templates. Thank you in advance.
