POST /api/v1/detect/image

AI Image Detection API

Upload an image, get a verdict. Where the file carries signed content credentials we verify them cryptographically — proof, not a probability. Where it does not, the detection model scores the pixels.

1,000 free credits · no credit card · PNG, JPG, GIF, WebP up to 10MB

POST/api/v1/detect/image
curl -X POST https://www.wasitaigenerated.com/api/v1/detect/image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@/path/to/image.jpg"

Content-Type — multipart/form-data

file — required, PNG · JPG · JPEG · GIF · WebP

Max size — 10MB per request

Cost — 300 credits per image

200 OK — application/json
{
  "isAI": true,
  "confidence": 0.99,
  "verified": true,
  "patterns": [
    "ai_verified",
    "synthetic_artifacts"
  ],
  "analysis": {
    "likelihood": "high",
    "reasoning": "AI-generated imagery detected with 99.0%
      confidence. Verified AI-generated via content
      credentials."
  },
  "detailed": {
    "scores": { "ai": 99.0, "human": 1.0 },
    "model": "v1.1"
  }
}

Two signals, one response

Most image detectors give you a probability and leave you to defend it. This endpoint tells you when it has actual proof.

verified: true

Cryptographic verification

Generators that follow the C2PA standard sign their output with content credentials. When those credentials are intact, we validate the signature — the image is AI-generated, and that is not a judgement call.

Use it when you need a result you can put in front of a customer, a moderator or a regulator.

verified: false

Model analysis

Most images in the wild have been screenshotted, re-encoded or stripped of metadata. For those, the detection model scores the pixels and returns a confidence plus an AI/human split.

Strong evidence — but set a threshold and keep a human in the loop at the boundary.

Integrate in minutes

Multipart upload, Bearer auth, JSON back

curl -X POST https://www.wasitaigenerated.com/api/v1/detect/image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@/path/to/image.jpg"

Response fields

  • isAI — boolean verdict.
  • confidence — 0–1 from the detection model.
  • verified — true when signed content credentials prove AI generation.
  • patterns[] — machine-readable tags such as ai_verified or synthetic_artifacts.
  • detailed.scores — AI vs human probability as percentages.

What teams build with it

🏦

Insurance & claims

Check damage photos and receipts at intake, before an adjuster spends time on a claim built on generated evidence. See the use case

🛡️

Trust & safety

Score every user upload as it arrives and route synthetic media into your existing moderation queue automatically.

💘

Dating & social

Catch generated profile pictures at signup, where fake accounts are cheapest to stop. See the use case

🪪

KYC & onboarding

Flag synthetic ID and document images during identity verification, alongside your existing liveness checks.

📰

Newsrooms

Verify user-submitted and wire imagery before publication, and log the result as part of your editorial audit trail.

🛒

Marketplaces

Detect generated product photos that misrepresent what a seller actually ships.

Error responses

Every failure is a JSON body with an error field

400 Bad Request
No file field, unsupported format, or over the 10MB limit.
401 Unauthorized
Missing or invalid Bearer token.
402 Payment Required
Fewer than 300 credits left. Response includes required and available.
403 Forbidden
Your plan is website-only. Upgrade to Unlimited API + Website.
413 Payload Too Large
Image too large — downscale before uploading.
500 Server Error
Retry with backoff, or contact support.

Image detection pricing

300 credits per image — no subscription needed to start.

Free

1,000

credits on email verification

3 images to try the endpoint. No card required.

MOST POPULAR

Credit packs

$5 – $19.99

one-time, never expires

40,000 credits ≈ 130 images. 200,000 credits ≈ 660 images.

Unlimited API

$119/mo

no per-image cost

Unlimited calls, whitelabel PDF reports, bulk processing.

AI image detection API FAQ

Ready to add image detection?

Create an account, verify your email, and your API key is waiting in the dashboard.