## Image Segmentation

Image Segmentation divides an image into segments where each pixel in the image is mapped to an object.

{{{tips.linksToTaskPage.image-segmentation}}}

### Recommended models

{{#each recommendedModels.image-segmentation}}
- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
{{/each}}

{{{tips.listModelsLink.image-segmentation}}}

### Using the API

{{{snippets.image-segmentation}}}

### API specification

#### Request

{{{constants.specsHeaders}}}

{{{specs.image-segmentation.input}}}

#### Response

{{{specs.image-segmentation.output}}}

