Skip to main content
CLIPFastHigh

CLIP Features

CLIP ViT-L/14 embeddings for text AND images (163M+ runs) โ€” puts both in the same vector space for cross-modal search, image dedup, and zero-shot classification. 1 credit per run.

1 credits
per run (batch inputs with newlines)
Text AND image embeddings in one space
163M+ runs โ€” the CLIP standard on Replicate
Batch multiple inputs per call (newline-separated)
1 credit per run

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "andreasjansson/clip-features",
  "input": {
    "inputs": "a photo of a red sneaker\nhttps://example.com/sneaker.jpg"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
inputsstringNoa bNewline-separated inputs โ€” text strings or image URLs starting with http(s)://

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Text + Image Embeddings

Embed a text query and an image into the same space

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "andreasjansson/clip-features",
  "input": {
    "inputs": "a photo of a red sneaker\nhttps://example.com/sneaker.jpg"
  }
}'

Tips & Best Practices

1Mix texts and image URLs in one call โ€” each line becomes one embedding
2Cosine-compare a text query embedding against image embeddings for search
3For pure multilingual text retrieval, multilingual-e5-large is stronger

Use Cases

Text-to-image search ('find photos of ...')
Duplicate/near-duplicate image detection
Zero-shot image classification
Content-based recommendation