> ## Documentation Index
> Fetch the complete documentation index at: https://docs.woolball.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Zero Shot

> Classify images using zero-shot learning

Classify images into custom categories without prior training.

### Body

<ParamField body="image" type="string" format="binary" required>
  Image file to classify
</ParamField>

<ParamField body="labels" type="array" required>
  List of possible labels for classification
</ParamField>

### Response

<ResponseField name="data" type="string">
  The classification result
</ResponseField>

### Status Codes

<ResponseField name="200" type="object">
  OK - Successful request
</ResponseField>

<ResponseField name="400" type="object">
  Bad Request - Validation error occurred
</ResponseField>

<ResponseField name="401" type="object">
  Unauthorized - Authentication failed
</ResponseField>

<ResponseField name="402" type="object">
  Payment Required
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST https://api.woolball.xyz/v1/image-zero-shot \
    -H "Authorization: Bearer <YOUR_API_KEY>" \
    -F "image=@image.jpg" \
    -F "labels=day" \
    -F "labels=night"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": "day"
  }
  ```
</ResponseExample>
