zero_shot_image_classification
Classify images using custom labels without prior training. Upload an image and specify categories to identify objects, scenes, or content using AI-powered computer vision.
Instructions
Classify an image with zero-shot labels using DeepInfra OpenAI-compatible API (CLIP).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
candidate_labels | Yes | ||
image_url | Yes | ||
model | No |
Input Schema (JSON Schema)
{
"properties": {
"candidate_labels": {
"items": {
"type": "string"
},
"title": "Candidate Labels",
"type": "array"
},
"image_url": {
"title": "Image Url",
"type": "string"
},
"model": {
"default": null,
"title": "Model",
"type": "string"
}
},
"required": [
"image_url",
"candidate_labels"
],
"type": "object"
}