POST /api/v1/detect/image

Deepfake Detection API

Score every image upload for synthetic manipulation before it reaches your users. Where the file still carries signed content credentials we verify them cryptographically; 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/profile-photo.jpg"

Content-Type — multipart/form-data

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

Cost — 300 credits per image

200 OK — application/json
{
  "isAI": true,
  "confidence": 0.96,
  "verified": false,
  "c2pa": null,
  "patterns": [
    "high_ai_confidence",
    "synthetic_artifacts"
  ],
  "analysis": {
    "likelihood": "high",
    "reasoning": "AI-generated imagery detected with
      96.0% confidence."
  },
  "detailed": {
    "scores": { "ai": 96.0, "human": 4.0 },
    "model": "v1.1"
  }
}

Images today, video in the web app

Be clear on scope before you plan an integration: the public API covers images. Video deepfake analysis exists in the web app, but there is no video endpoint yet — so do not design a pipeline around one.

For most deepfake work this is the right surface anyway. Fake profile pictures, generated ID photos, synthetic claim evidence and manipulated press imagery all arrive as stills, and that is where an automated check pays for itself. Need video? Use the browser tool — and tell us if you want it as an endpoint.

Two signals, one response

Most detectors hand you a probability and leave you to defend it. This one tells you when it has actual proof.

Read the evidence behind an image

Workflow illustration
Sample asset · illustration only

Model analysis

An estimate from the image itself. Read the confidence alongside the AI/human assessment.

Content credentials

When present, inspect the C2PA signature and declared source. Check what the credential actually establishes.

Illustrative image-review workflow, not an analyzed image. Model confidence and content credentials are different signals; missing credentials do not establish human authorship.
verified: true

Cryptographic verification

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

Use it when the result has to hold up 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 — which is exactly what someone hiding a deepfake does. For those, the model scores the pixels.

Strong evidence — 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/profile-photo.jpg"

Response fields

  • isAI — boolean verdict.
  • confidence — 0–1 from the model.
  • verified — signed credentials prove AI generation.
  • detailed.scores — AI vs human as percentages.

Errors

  • 400 — no file, bad format, over 10MB.
  • 401 — bad or missing key.
  • 402 — fewer than 300 credits left.
  • 403 — website-only plan.

Where deepfakes actually cost money

💘

Dating & social

Generated profile photos are the cheapest input to a romance scam. Screen them at signup, where a fake account costs nothing to stop. See the use case

🪪

KYC & identity

Flag synthetic ID photos and document images during onboarding, alongside your existing liveness checks. See the use case

Insurance claims

Check damage photos at intake, before an adjuster builds a payout on generated evidence. See the use case

Trust & safety

Score every upload as it lands and route synthetic media into the moderation queue you already run.

Newsrooms

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

Corporate security

Check imagery attached to executive impersonation and invoice-fraud attempts before someone acts on it.

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 – $29

one-time, never expires

25,000 credits ≈ 80 images. 200,000 credits ≈ 660 images.

Unlimited API

$299/mo

no per-image cost

Unlimited calls, whitelabel PDF reports, bulk processing.

Deepfake detection API FAQ

Does the deepfake API accept video files?

Not today. The public API covers images — POST /api/v1/detect/image. Video analysis exists in the web app, but it is not exposed as an endpoint yet, so do not architect around it. If video-in-API is what you need, tell us and it moves up the queue.

What counts as a deepfake here?

Any image that is synthetic or synthetically manipulated — a fully generated face, a swapped face, a generated scene presented as a photograph. The endpoint returns a probability that the image is machine-generated rather than a taxonomy of the manipulation technique.

What is the difference between verified and confidence?

confidence is the model’s probability that the image is synthetic. verified means the file carries a C2PA content credential whose signature verifies and which declares the asset AI-generated, which proves it. The parsed credential is returned as c2pa (vendor, generator, issuer, signedAt, signatureValid, sourceType, isAI) or null when there is none — a valid credential with isAI: false and sourceType digitalCapture is a signed camera photo, useful evidence in the other direction. verified: true is certainty; confidence is strong evidence that still deserves a human decision at the boundary.

Why does a screenshot of an obvious AI image come back verified: false?

Because screenshotting strips the content credentials. The signature lives in the file’s metadata, and a screenshot is a new file, so c2pa comes back null. You still get a model-based confidence score, but the cryptographic proof is gone. Always prefer the original upload over a re-captured copy.

Can I run it on every user upload?

Yes, and that is the usual pattern: call the endpoint at upload time, store isAI, confidence, verified and c2pa.vendor alongside the asset, and route anything above your threshold into your existing moderation queue. Call it asynchronously — do not block the user’s upload request on it.

What does it cost?

300 credits per image. Verified accounts start with 1,000 free credits, which covers three test images. The $5 pack of 25,000 credits is roughly 80 images, the $29 pack of 200,000 is roughly 660, and $299/month removes the per-image cost.

What formats and sizes are supported?

PNG, JPG, JPEG, GIF and WebP, up to 10MB, sent as multipart/form-data with the field name file. Downscale very large images before uploading for the most reliable throughput.

How reliable is it on compressed social-media images?

Less reliable than on originals, and worth designing around. Platform re-encoding destroys fine detail the model relies on, so scores on a heavily compressed repost are weaker evidence than scores on a source file. Set your threshold with that in mind and keep a review step for consequential decisions.

Ready to screen uploads automatically?

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