# The segmentation.keepSalientObject parameter stops working

Calls to GET /v2/edit, query parameter segmentation.keepSalientObject on Photoroom Image Editing API stopped working on December 19, 2024.

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.

## What to use instead

Send segmentation.mode=keepSalientObject or segmentation.mode=ignoreSalientObject instead.

- 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
- Calls it hits: `GET /v2/edit`, `query parameter segmentation.keepSalientObject`
- Source: [Announcement](https://docs.photoroom.com/getting-started/changelog)
- Verified: October 26, 2026, against Photoroom Image Editing API's own pages
- Page: https://www.okapi.bot/providers/photoroom-image-editing-api/breaking-changes/the-segmentation-keepsalientobject-parameter-stops-working/

## Photoroom Image Editing API's words

> the property segmentation.keepSalientObject=true|false has been removed

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
