Attest · Concept
Synthetic-media screening
Synthetic-media screening is a call to a third-party AI-media detector, that scores whether a photo or video that was never attested looks generated or deepfaked. Its score is advisory and always kept separate from the risk score.
When to use it
Screen only media that has no attestation: an upload with no_manifest, from before you used the capture SDK or from a channel that bypasses it. An asset with a valid signature and a matching hash is already proven, so a detector score adds nothing.
How it works
- You send the media's bytes. Results are cached by content hash, so the same file is screened once.
- Provenance calls the detector (Sightengine) for AI-generated images, AI-generated video and deepfakes.
- You get a
synthetic_media_scorefrom 0 to 100, the higher of the two confidences times 100, with the factors behind it.
- Unattested mediaimage or video bytes
- DetectorAI-generated, deepfake
- Advisory score0–100, never in risk_score
Key fields
synthetic_media_scoreinteger- 0–100; higher means more likely generated. Suggested reading: 0–30 no signals, 31–70 inconclusive, 71–100 likely generated.
synthetic_media_factorsobject[]ai_generated_likelyordeepfake_likely, each withscore_contribution,detectoranddetector_model.
Screen an upload
The sandbox has no detector configured, so it answers with the error your code should handle:
{
"error": {
"type": "unavailable_error",
"code": "detector_not_configured",
"message": "Synthetic-media screening is not configured …",
"doc_url": "https://provenanceauth.com/docs/errors#detector_not_configured",
"request_id": "req_01M5Q1B5ZQNS9SJ06Y4ZMYHVTJ"
}
}
With a detector, the response carries the score and factors. Provenance only ever returns a score from a live detector response or its cached copy:
| Situation | Response |
|---|---|
| No detector configured | 503 detector_ |
| The detector failed | 502 screening_ |
| The screening budget is spent | 402 usage_ |
Screen an asset you already hold
Attest stores an asset's hash, not its bytes. To screen a stored asset, hash the original file you hold and compare it with the asset's sensor_hash from its verification result; screen only on a match, or the score describes some other file. The console's Screen this asset does this in the browser and refuses a file that doesn't match.
Limitations: detector accuracy drops for recompressed media and screenshots. The sandbox's screening budget is limited per day and per month.