Create deepfake detection
Analyze audio, image, and video for deepfake detection.
Supply media via one of three intake methods:
- **Direct file upload** — `multipart/form-data` with the file attached as `file`. 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/json` with a `url` field. The API fetches the URL itself.
- **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.
Exactly one of `file`, `url`, or `media_token` must be provided per request.
Authentication
AuthorizationBearer
API token from https://app.resemble.ai/account/api
Request
This endpoint expects a multipart form containing a file.
file
The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
callback_url
POST destination when analysis completes
visualize
Generate visualization artifacts
frame_length
Window size in seconds (audio/video)
start_region
Start of segment to analyze (seconds)
end_region
End of segment to analyze (seconds)
max_video_secs
Cap processed duration
model_types
Use talking_head for face-swaps
Allowed values:
intelligence
Run multimodal intelligence analysis on the media
audio_source_tracing
Enable audio source tracing to identify synthetic audio origin
use_reverse_search
Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
use_ood_detector
Enable out-of-distribution detection
zero_retention_mode
Enable Zero Retention Mode to automatically delete submitted media after detection completes.
Response
Detection job created
success
item
