Image SafeSearch Classifier avatar

Image SafeSearch Classifier

Pricing

from $10.00 / 1,000 classified images

Go to Apify Store
Image SafeSearch Classifier

Image SafeSearch Classifier

Analyze images with LLM and classify them as NSFW, Safe, Child Safe, Adult, Violence, Racy, Medical or Spoof.

Pricing

from $10.00 / 1,000 classified images

Rating

0.0

(0)

Developer

Robin p

Robin p

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 days ago

Last modified

Share

Classify images with an LLM using SafeSearch-style safety categories. Run it on Apify to moderate image URLs or base64 payloads at scale.

What it does

For each image URL (or base64 payload), the Actor uses an LLM to analyze visual content and returns:

CategoryMeaning
adultAdult / explicit content
racySuggestive but not necessarily explicit
violenceViolent content
medicalMedical imagery
spoofSpoof / manipulated content

Likelihood values: UNKNOWN, VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, VERY_LIKELY.

Derived labels

LabelRule (defaults)
NSFWadult or racy ≥ threshold (LIKELY)
Adultadult ≥ threshold
Violenceviolence ≥ threshold
Racyracy ≥ threshold
Medicalmedical ≥ threshold
Spoofspoof ≥ threshold
Safeadult / violence / racy / medical all below threshold
Child Safeadult / racy / violence ≤ UNLIKELY (stricter)

Each dataset item also includes primaryLabel, isNsfw, isSafe, isChildSafe, and reason.

Pricing

This Actor uses pay per result:

  • $0.01 per successfully classified image ($10.00 / 1,000 results)
  • You only pay for successful classifications written to the default dataset
  • Failed images are not charged (they are logged separately)

How to use

  1. Open this Actor on Apify
  2. Paste one or more public image URLs (or provide base64 in images)
  3. Optionally adjust thresholds and concurrency
  4. Click Start
  5. Review results in the Dataset / Output tab

Input

FieldRequiredDescription
imageUrlsone of urls/imagesPublic image URLs
imagesone of urls/imagesObjects: { id?, url?, base64? }
likelihoodThresholdnoPOSSIBLE | LIKELY | VERY_LIKELY (default LIKELY)
childSafeMaxLikelihoodnoVERY_UNLIKELY | UNLIKELY (default UNLIKELY)
maxConcurrencynoHow many images to analyze in parallel (default 5)

Example input

{
"imageUrls": [
"https://example.com/photo-1.jpg",
"https://example.com/photo-2.jpg"
],
"likelihoodThreshold": "LIKELY",
"childSafeMaxLikelihood": "UNLIKELY",
"maxConcurrency": 5
}

Example dataset item

{
"imageId": "url-1",
"imageUrl": "https://example.com/photo-1.jpg",
"reason": "Ordinary photo with no concerning content.",
"safeSearch": {
"adult": "VERY_UNLIKELY",
"spoof": "UNLIKELY",
"medical": "UNLIKELY",
"violence": "VERY_UNLIKELY",
"racy": "VERY_UNLIKELY"
},
"flags": {
"adult": false,
"violence": false,
"racy": false,
"medical": false,
"spoof": false
},
"labels": ["Safe", "Child Safe"],
"primaryLabel": "Child Safe",
"isNsfw": false,
"isSafe": true,
"isChildSafe": true,
"error": null
}

Notes

  • Image URLs must be publicly reachable so the Actor can download them for analysis.
  • For private images, pass base64 in the images array instead of a URL.
  • This Actor moderates content; it does not generate or request illegal material.
  • LLM inference cost is covered by the Actor configuration; Apify run compute is billed by Apify.