generate

Segment Anything 2

Segment objects in an image.

post/segment-anything-2

Response

Successful Response

masksstring required

The generated masks.

scoresstring required

The model's confidence scores for each generated mask.

logitsstring required

The raw, unnormalized predictions (logits) for the masks.

Changes

Changed in 9 of the 50 revisions of this API.3036

  • 0dfb43d0278636See the full diff
    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 0e0e976fd9e063See the full diff
    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

  • 0dfb43d0278636See the full diff
    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 0579502149da63See the full diff
    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

  • e0203b5e3aff36See the full diff
    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 494e040533b463See the full diff
    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

  • 0d725f57417336See the full diff
    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api operation id segment_anything_2 removed and replaced with genSegmentAnything2

      api-operation-id-removed

    • api tag generate added

      api-tag-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added