AI Image Tagger & Zero-Shot Classifier (SigLIP, No API Key) avatar

AI Image Tagger & Zero-Shot Classifier (SigLIP, No API Key)

Pricing

from $2.00 / 1,000 image taggeds

Go to Apify Store
AI Image Tagger & Zero-Shot Classifier (SigLIP, No API Key)

AI Image Tagger & Zero-Shot Classifier (SigLIP, No API Key)

Auto-tag images with a self-hosted SigLIP AI model: 450+ built-in tags (objects, animals, scenes, activities, styles) plus your own custom labels for zero-shot classification. Scores per tag and optional image embeddings. No external APIs.

Pricing

from $2.00 / 1,000 image taggeds

Rating

0.0

(0)

Developer

Camp8 fr0

Camp8 fr0

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

AI Image Tagger: Auto-Tag Images & Zero-Shot Image Classification (SigLIP, No API Key)

Automatically tag images with keywords and classify images into your own categories without training a model. The Actor runs Google's SigLIP vision-language model inside Apify (self-hosted, CPU) and scores each image against 480+ built-in tags (people, animals, vehicles, places, nature, food, objects, clothing, activities, image style, colors) and any custom labels you provide. Optionally it returns the 768-d image embedding for your own vector search. No OpenAI, Google Vision or other paid API is used.

What does AI Image Tagger do?

For each image URL, the Actor:

  1. downloads and decodes the image,
  2. computes a SigLIP image embedding,
  3. compares it with the embeddings of the built-in tags (precomputed, so tagging is fast) and of your custom labels,
  4. returns the best tags with scores and, for custom labels, the best label with a probability (zero-shot classification).

Key features

  • 480+ built-in tags in 11 categories, each with its own score (multi-label: an image can be "beach", "sunset", "people" and "surfing" at once)
  • Zero-shot classification with your own labels: product categories, damage types, scene types, brands of style... up to 1,000 labels, no training
  • Prompt template for custom labels (a photo of a {}. by default)
  • Category filter: only animals, only places, only style, ...
  • Image embeddings (768-d, L2-normalized) for similarity search, clustering or a vector database
  • SigLIP scores are independent (sigmoid), so tags do not compete with each other like in CLIP softmax classifiers
  • HTTP API (Standby mode) with label embeddings cached between requests
  • Pay per image; failed images are free

Use cases

  • SEO and accessibility: generate keywords and alt-text hints for image libraries
  • E-commerce catalog enrichment: categorize product photos into your own taxonomy
  • Digital asset management (DAM): make photo archives searchable by subject, scene and style
  • Content moderation pre-filters: route images by type (screenshot, document, meme, photo of a person)
  • Real estate and travel: tag rooms, views and amenities (kitchen, pool, beach, mountain)
  • Data science: weak labels for training sets, embeddings for deduplication and clustering

How to use AI Image Tagger

In Apify Console

  1. Paste image links into Image URLs.
  2. Keep Use built-in tag vocabulary on, and/or enter Custom labels (one per line).
  3. Click Start. Each row shows the image and its tags; custom-label results include bestLabel.

Via the Apify API

curl -X POST "https://api.apify.com/v2/acts/freecamp008~image-tagger/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"imageUrls": ["https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/savanna.jpg"], "customLabels": ["safari", "zoo", "farm"]}'

Standby mode (instant HTTP endpoint)

Standby keeps the model and tag embeddings in memory. Send the input as GET query parameters or as a POST JSON body; the response is { "count": n, "items": [...] }.

# GET: arrays are comma-separated
curl "https://freecamp008--image-tagger.apify.actor/?token=YOUR_APIFY_TOKEN&imageUrls=https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/cats.jpg&customLabels=dog,cat,bird&useDefaultTags=false"
# POST
curl -X POST "https://freecamp008--image-tagger.apify.actor/?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"imageUrls": ["https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/new-york.jpg"], "tagCategories": ["places", "nature"], "topK": 5, "customLabels": ["New York", "Paris", "Tokyo"], "labelTemplate": "a photo of {}."}'

AI agents can pay per call: the Actor uses pay-per-event pricing and only default storages, so AI agents can call it and pay per request with x402 through Apify.

Input example

{
"imageUrls": ["https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/savanna.jpg"],
"useDefaultTags": true,
"customLabels": ["safari", "zoo", "farm"],
"labelTemplate": "a photo of a {}.",
"tagCategories": [],
"topK": 15,
"minScore": 0.001,
"returnEmbedding": false
}
FieldDescription
imageUrlsImage links. One result per image.
useDefaultTagsScore the built-in vocabulary (default on).
customLabelsYour own labels for zero-shot classification (max 1,000).
labelTemplatePrompt for custom labels; {} is replaced by the label.
tagCategoriesLimit built-in tags to people, animals, vehicles, places, nature, food, objects, clothing, activities, style, colors.
topKMax built-in tags per image (default 15).
minScoreDrop built-in tags below this score (default 0.001).
returnEmbeddingAdd the 768-d image embedding.

Output example

{
"imageUrl": "https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/savanna.jpg",
"tags": ["savanna", "zebra", "giraffe", "wildlife", "animal"],
"tagScores": [
{ "tag": "savanna", "category": "nature", "score": 0.32522 },
{ "tag": "zebra", "category": "animals", "score": 0.04576 },
{ "tag": "giraffe", "category": "animals", "score": 0.04021 },
{ "tag": "wildlife", "category": "animals", "score": 0.03703 },
{ "tag": "animal", "category": "animals", "score": 0.00313 }
],
"bestLabel": "safari",
"bestLabelProbability": 0.9954,
"labels": [
{ "label": "safari", "score": 0.22958, "probability": 0.9954 },
{ "label": "zoo", "score": 0.00137, "probability": 0.0046 },
{ "label": "farm", "score": 0.00002, "probability": 0.0001 }
],
"width": 540,
"height": 360,
"processingMs": 712
}
  • tagScores[].score / labels[].score: SigLIP's independent match probability for that text (0-1).
  • labels[].probability: softmax over your custom labels only, i.e. "which of my labels fits best" (sums to 1).
  • Failed images produce { "imageUrl": "...", "error": "...", "isError": true } and are not charged.

Pricing

This Actor uses pay-per-event pricing:

EventPricePer 1,000
image-tagged: one image tagged with built-in tags and/or custom labels$0.002$2.00

Apify platform usage (compute, storage) is billed separately according to your plan. Use Maximum cost per run to cap spending.

FAQ

Why are the tag scores so small? SigLIP scores every tag independently with a sigmoid, and for a base-size model a clearly correct tag often scores between 0.005 and 0.3. The ranking is what matters: the first tags are the most relevant. The default minScore of 0.001 removes tags that do not fit. For a single best answer among your own categories, use customLabels and read bestLabel / probability.

How good is the tagging? It recognizes common objects, animals, scenes, activities and image styles reliably (e.g. "savanna, zebra, giraffe, wildlife" or "soccer, sports, football, athlete"). It is weaker at counting, reading text, fine-grained identification (exact car model, dog breed variants, specific products), and small objects in busy scenes, because it looks at a 224 x 224 version of the whole image.

Which languages are supported? Labels and tags must be in English (SigLIP base was trained on English text).

What are the limits? Up to 1,000 custom labels per run, images up to 30 MB, animated GIFs use the first frame. At the default 2 GB memory expect about 1-2 s per image; more memory means more CPU and faster tagging.

Are my images private? Yes. Images are processed by the model bundled with the Actor inside your Apify run; nothing is sent to an external AI service.

Is it legal to use? Yes. Make sure you have the right to process the images you submit. The Actor does not identify people.

Which model and license are used? google/siglip-base-patch16-224, Apache-2.0 (commercial use allowed), run in fp32 via the ONNX export Xenova/siglip-base-patch16-224 and transformers.js. The model and the embeddings of the built-in tags are bundled in the Actor image.