Skip to content

clip-vit-base-patch32

deepinfra/openai/clip-vit-base-patch32

OpenAI's original CLIP ViT-B/32 (January 2021): a contrastive image-text model that classifies images zero-shot against any text labels; small and fast, but superseded for most uses by newer encoders such as SigLIP 2.

API
curl "$AUDIOLAB_API_URL/v1/inference" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Idempotency-Key: $AUDIOLAB_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepinfra/openai/clip-vit-base-patch32",
  "image": "data:image/png;base64,BASE64_1024_SQUARE_IMAGE",
  "labels": [
    "mountain",
    "city"
  ]
}'
Input Price
$0.00 / runtime_ms
Output Price
—
Input
Image
Output
Classification

Capabilities

Explore what clip-vit-base-patch32 supports, then use the API section for a request tailored to this model.

Model Information

Provider
DeepInfra
Product
Image Classification
Release Date
Jan 5, 2021
Data Policy
Not specified
Region
US
Input
Image
Output
Classification
Provider Documentation

Playground

Try clip-vit-base-patch32 by DeepInfra. Requests use the selected workspace’s credits and API pricing.

clip-vit-base-patch32Credits —
clip-vit-base-patch32
This model uses a dedicated input format. Explore its API example or open the supported playground.

Providers

Compare available endpoints, pricing, and context limits for clip-vit-base-patch32.

ProviderContextOutputInput PriceOutput PriceEndpoint
DeepInfraNot specifiedClassification$0.00 / runtime_ms—
openai/clip-vit-base-patch32

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max units90000
Path/v1/inference
Native{"pricingBasis":"published-units-v1"}

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/inference" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Idempotency-Key: $AUDIOLAB_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepinfra/openai/clip-vit-base-patch32",
  "image": "data:image/png;base64,BASE64_1024_SQUARE_IMAGE",
  "labels": [
    "mountain",
    "city"
  ]
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modeldeepinfra/openai/clip-vit-base-patch32 — Required model identifier.
imageView Accepted Values
labelsView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max units90000
Path/v1/inference
Native{"pricingBasis":"published-units-v1"}

Similar Models

Explore more image classification and compare their capabilities.

ModelContextInput PriceOutput Price
clip-vit-large-patch14-336DeepInfraNot specified$0.00 / runtime_ms—
View All Image Classification