~/docs cat which-input.md
Which input do I send?
The server infers the media type from the bytes. You never name a technique. Pick the row that matches what you are holding.
| Input | Send | Formats | Size cap | Credits | Evidence |
|---|---|---|---|---|---|
| Image | file | JPG, PNG, WEBP | image ≤ 10 MB | 1 credit | None. The verdict and score cover the whole image. |
| Video | file or url | MP4, MOV, WEBM | video ≤ 100 MB | 1 per scored frame, at most 20 | frames[]: one entry per sampled frame with its score, plus threshold_used. |
| Audio | file | MP3, WAV, FLAC, M4A, AAC, OGG | audio ≤ 50 MB | 1 per minute, rounded up, minimum 1 | segments[]: one value per window, plus duration_ms. |
| Link | url | A public video page, or a direct link to a video, image or audio file | video ≤ 100 MB once fetched; image and audio as for a file | The same as the media it resolves to: 1 for an image, 1 per scored frame for a video, 1 per minute for audio | source: where it came from and how much was scored, plus the media's own evidence (frames[] for a video). |
A file over its cap answers 413. A file no detector can read answers 422 with UNSUPPORTED_MEDIA_TYPE. Costs, caps and rate limits are collected on Credits and limits.
Start building
Create an API key in the dashboard and send your first file. To go through an integration or an on-prem deployment with our team, request a demo.