scripts/inference-providers/templates/task/image-classification.handlebars (16 lines of code) (raw):
## Image Classification
Image classification is the task of assigning a label or class to an entire image. Images are expected to have only one class for each image.
{{{tips.linksToTaskPage.image-classification}}}
### Recommended models
{{#each recommendedModels.image-classification}}
- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
{{/each}}
{{{tips.listModelsLink.image-classification}}}
### Using the API
{{{snippets.image-classification}}}
### API specification
#### Request
{{{constants.specsHeaders}}}
{{{specs.image-classification.input}}}
#### Response
{{{specs.image-classification.output}}}