Create deepfake detection
Analyze audio, image, and video for deepfake detection.
Supply media via one of three intake methods:
- Direct file upload —
multipart/form-datawith the file attached asfile. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow. - Public URL —
application/jsonwith aurlfield. The API fetches the URL itself. - Secure upload token —
application/jsonwith amedia_tokenfield obtained fromPOST /secure_uploads.
Exactly one of file, url, or media_token must be provided per request.
Set detect_watermark=true to run Resemble watermark detection and SynthID alongside the deepfake
analysis. This option supports single audio, image, and video requests only. It adds one Watermark
detection charge, applies a 200 MB source limit for audio, image, and video, and causes
Prefer: wait and callbacks to wait for the watermark analysis to reach a terminal state. A watermark
failure is returned in the nested watermark object and does not change the deepfake verdict.
Authentication
API key from https://app.resemble.ai/hub/api
Request
The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
Window size in seconds (audio/video). We recommend 4 for audio.
Start of segment to analyze (seconds)
End of segment to analyze (seconds)
Video only. Selects which detection components run for a video file:
audio (audio track only), video (visual frames only), or all (both — the default).
Ignored for audio and image inputs. Invalid values are rejected with HTTP 400.
Focus visual video detection on faces by masking non-face regions. Effective only for
video inputs with modality=all or modality=video. Audio, image, and modality=audio
video requests are accepted but use an effective value of false.
Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to “Likely Fake”. Has no effect unless intelligence is also true.
Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
Enable out-of-distribution detection
