Comment on page
Changelog
History of the changes made to the PhotoRoom API
New Endpoint - Edit Image v2: We have introduced a new beta endpoint
GET /v2/edit
that enables you to apply complex edits to an image.This new endpoint comes with an interactive playground that lets you configure your API call and preview the result in real time:

New Endpoint - Account Details: We have introduced a new endpoint
GET /v1/account
which provides detailed information about the current state of your account. This includes your current credit consumption and the total monthly credits available for your subscription.
This new endpoint is aimed at giving users a better understanding of their account status and managing their credit usage effectively.
The response from the endpoint will be in JSON format, as shown in the example below:
{ "credits": { "available": 9912, "subscription": 10000 } }
In this sample,
available
denotes the remaining credits for the current month and subscription
indicates the total monthly credits associated with the user's subscription.Image Upload Enhancement: We have made improvements to our API's image upload functionality to offer a more flexible experience. In addition to passing an
imageUrl
as a URL parameter, users are now also able to send the image binary directly in a POST
request using the new imageFile
field. This added capability simplifies the process of uploading images, especially for those who have the images available locally and not hosted online.The previous method using
imageUrl
remains functional and backward compatibility is maintained. Users are free to choose the method most convenient to their needs.Please refer to our updated documentation for detailed instructions on using the new
imageFile
field:Add a Changelog page on the documentation
Last modified 25d ago