Home / APIs / Image Intelligence

Image Intelligence API

Analyze any image in one call — blur, exposure, saturation, dominant colors, a quality score, and on-device NSFW moderation with category tags.

Get it on RapidAPI ↗

Image Intelligence turns any image URL or base64 payload into actionable signals in a single call. It combines fast, pure-compute technical analysis — blur/sharpness, exposure and clipping, brightness, saturation, contrast, dominant colors, and an overall quality score — with on-device NSFW content moderation.

Moderation runs on a model bundled into our own server, so your images are never sent to a third-party vision service and there is no per-image model fee. Use it to filter user uploads, QA product photos, curate datasets, or gate not-safe-for-work content. Moderation is a best-effort signal, not a compliance tool.

Endpoints

MethodPathDescription
POST/analyzeFull report: quality metrics + colors in one call
POST/blurBlur / sharpness (Laplacian variance + 0–100 score)
POST/exposureExposure, brightness & contrast with clipping %
POST/saturationSaturation level and label
POST/colorsDominant colors / palette (hex + fraction)
POST/qualityOverall 0–100 quality score
POST/moderateNSFW scan: category tags + score + verdict

Quick start

cURL (via RapidAPI)
curl --request curl \
  --url 'https://image-intelligence.p.rapidapi.com/-X POST https://image-intelligence.p.rapidapi.com/moderate \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: image-intelligence.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '' \
  --header 'X-RapidAPI-Key: YOUR_KEY' \
  --header 'X-RapidAPI-Host: image-intelligence.p.rapidapi.com' \
  --header 'content-type: application/json' \
  --data '{"url":"https://example.com/photo.jpg","threshold":0.5}''
JavaScript (fetch)
const res = await fetch('https://image-intelligence.p.rapidapi.com/-X POST https://image-intelligence.p.rapidapi.com/moderate \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: image-intelligence.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '', {
  method: 'curl',
  headers: {
    'X-RapidAPI-Key': 'YOUR_KEY',
    'X-RapidAPI-Host': 'image-intelligence.p.rapidapi.com',
    'content-type': 'application/json'
  },
  body: JSON.stringify({"url":"https://example.com/photo.jpg","threshold":0.5}')
});
const data = await res.json();
Example response
{
  "classification": "safe",
  "isNsfw": false,
  "nsfwScore": 0.0015,
  "threshold": 0.5,
  "scores": { "neutral": 0.9851, "drawing": 0.0135, "sexy": 0.0001, "hentai": 0.0012, "porn": 0.0002 },
  "tags": [ { "label": "Neutral", "score": 0.9851 } ],
  "model": "MobileNetV2"
}

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

Frequently asked questions

Does my image get sent to a third party?

No. Both the quality analysis and the NSFW model run on our own server. Images are processed transiently and are not stored.

How accurate is the NSFW scan?

It uses a MobileNetV2 classifier returning five categories (Neutral, Drawing, Sexy, Hentai, Porn) plus a combined score. It is a strong best-effort signal — tune the threshold to your needs and keep a human in the loop for high-stakes decisions. It is not a compliance or CSAM tool.

How do I send an image?

Pass either a public { "url" } (fetched server-side through an SSRF-hardened client) or a base64 { "base64" } payload (a data-URI prefix is allowed).

Is there a per-image fee?

No. Moderation runs on a bundled model, so it is covered by your flat monthly plan like every other endpoint.

Ready to build with Image Intelligence?

Grab your key on RapidAPI and start on the free tier.

Get it on RapidAPI ↗