---
title: "Changes to Segment Anything 2"
method: POST
path: "/api/generate/segment-anything-2"
---

# Changes to Segment Anything 2

`POST /api/generate/segment-anything-2`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 9 revisions.

- **2025-10-30** `dfc937fc0d2c`: 6 breaking, 3 info
- **2025-10-30** `f5d01b71ba9a`: 3 breaking, 6 info
- **2024-10-03** `cbf999b9a7cf`: 1 info

## Changes

- **2025-10-30** `dfc937fc0d2c`: 6 breaking, 3 info
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from `object` to no type for status `400`
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from `object` to no type for status `401`
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from `object` to no type for status `500`
  - removed the required property `oneOf[subschema #1: HTTPError]/detail/msg` from the response with the `400` status
  - removed the required property `oneOf[subschema #1: HTTPError]/detail/msg` from the response with the `401` status
  - removed the required property `oneOf[subschema #1: HTTPError]/detail/msg` from the response with the `500` status
  - added `#/components/schemas/APIError` to the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `400`
  - added `#/components/schemas/APIError` to the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `401`
  - added `#/components/schemas/APIError` to the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `500`
- **2025-10-30** `f5d01b71ba9a`: 3 breaking, 6 info
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from no type to `object` for status `400`
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from no type to `object` for status `401`
  - the `oneOf[subschema #1: HTTPError]/detail` response's property type changed from no type to `object` for status `500`
  - removed `#/components/schemas/APIError` from the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `400`
  - removed `#/components/schemas/APIError` from the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `401`
  - removed `#/components/schemas/APIError` from the `oneOf[subschema #1: HTTPError]/detail` response property `allOf` list for the response status `500`
  - added the required property `oneOf[subschema #1: HTTPError]/detail/msg` to the response with the `400` status
  - added the required property `oneOf[subschema #1: HTTPError]/detail/msg` to the response with the `401` status
  - added the required property `oneOf[subschema #1: HTTPError]/detail/msg` to the response with the `500` status
- **2024-10-03** `cbf999b9a7cf`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/livepeer/apis/livepeer-ai-api/docs/api/generate/segment-anything-2/post.md) - [API](https://skmtc.dev/livepeer/apis/livepeer-ai-api.md) - [Page](https://skmtc.dev/livepeer/apis/livepeer-ai-api/changes/api/generate/segment-anything-2/post)
