GET /v2/edit → endpoint removal
Stopped working
On December 19, 2024, the query parameter segmentation.keepSalientObject was removed from GET /v2/edit requests. Calls sending this parameter now fail. The provider noted that the property has been removed.
Calls it hits
GET /v2/editquery parameter segmentation.keepSalientObject
What to use instead of these calls
Send segmentation.mode=keepSalientObject or segmentation.mode=ignoreSalientObject instead.
In Photoroom Image Editing API's words
the property segmentation.keepSalientObject=true|false has been removed
Facts
- API
- Photoroom Image Editing API
image-api.photoroom.com - Kind
- Endpoint removal
- Announced
- December 19, 2024
- Takes effect
- December 19, 2024
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Photoroom Image Editing API's own pages
Questions
When does this change take effect?
Calls to GET /v2/edit, query parameter segmentation.keepSalientObject on Photoroom Image Editing API stopped working on December 19, 2024.
What happens to calls after December 19, 2024?
They have failed since December 19, 2024.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Photoroom Image Editing API 1
-
POST /v2/editEndpoint removal Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.