Virus Scanning and Upload Filtering
Scan uploads for malware, reject NSFW or copyrighted images, and route files by size, type, or metadata — through one API.
Built-in ClamAV antivirus scans reject millions of trojans, viruses, and malware before they reach you.
Route files to different encoding steps based on size, type, dimensions, or custom metadata.
Use simple array conditions or JavaScript expressions for complex filtering logic.
Every upload validated before it hits your pipeline
Scan for malware, enforce size limits, and route files to the right processing steps — all automatically.
Flag copyrighted material
Detect copyrighted images and route or reject them before they enter your platform.

Enforce size limits
Set maximum file size thresholds and automatically reject uploads that exceed your limits with custom error messages.
Scan for viruses and malware
ClamAV-powered scanning rejects trojans, viruses, and malware automatically.
Detect and reject NSFW content
AI-powered content moderation flags nudity, violence, and other explicit material automatically.


Route files conditionally
Direct files to different processing steps based on their type, size, or metadata.
Robots for File Filtering
At Transloadit, a Robot is an automated worker that performs a single task in your file pipeline — like filtering by metadata, scanning for viruses, or verifying file types.
- accepts${file.mime} regex imageFileTypeRouted to
hero.pngimage/png/image/resize
promo.mp4video/mp4Declined
Filter & Route Files
Direct files to different encoding Steps based on size, type, dimensions, or custom conditions.
/file/filter resume.pdfScanning…Clean
photos.zipScanning…Clean
invoice.docScanning…Infected
logo.pngScanning…Clean
Scan for Viruses
Reject trojans, viruses, and malware with ClamAV-powered antivirus scanning.
/file/virusscaninvoice.pdf
Declaredapplication/pdfDetectedapplication/zipRejectedVerify File Types
Ensure uploaded files match the expected MIME type regardless of file extension.
/file/verify
BlockedExplicit Nudity0.97Suggestive0.84Detect NSFW Content
Flag and reject nudity, violence, and other explicit material using AI-powered content moderation.
/image/describe
Stop letting bad files through
ClamAV-powered scanning rejects trojans, viruses, and malware before they ever reach your platform.
Filter by file size, dimensions, duration, bit rate, MIME type, and any metadata field.
AI-powered moderation detects nudity, violence, and explicit content so you can reject or route it automatically.
Identify copyrighted images before they enter your platform to avoid legal exposure.
Direct files to different processing steps based on their properties for optimized workflows.
Use the full power of JavaScript for complex filtering conditions and dynamic logic.
Decline invalid files immediately with custom error messages for better user experience.
Use simple file conditions or advanced JavaScript expressions in the same workflow.
Take File Filtering & Security into production
The guides, Robot reference, and working demos teams reach for when File Filtering & Security has to run reliably at scale.
“The transfer of files has been very reliable — not a single damaged file has been reported! For that part, we owe a big thanks to tus.”
Jarosław Wasilewski, Developer at tus
Guides
- AI content moderation in an upload workflowPlace AI moderation inside a controlled upload workflow with confidence thresholds and human review.
- Automated content moderation: architecture and failure handlingBuild automated moderation as a layered system of file checks, classifiers, policy decisions, and review queues.
- Calibrating AI moderation thresholds, review, and appealsDesign AI moderation as a policy and review system, not a single model score that silently publishes or deletes user media.
- Media automation: from upload to reliable outputAutomate repeatable media intake, transformation, validation, and export while preserving observability and control.
What File Filtering & Security costs to run
Every plan runs every Robot, so nothing about this service is held back for a bigger one. You are paying for the volume you put through it.
Community
FreePerfect for trying out Transloadit
5 GB every month200 priority slots/region2 collaborators0.5 GB file size limitAudio & video are trimmedOutput images are watermarkedService stops at 5 GBMonthly spending limits and alertsVideo turbo mode from ProLite
$29/ monthFor lower-volume workloads
15 GB every month400 priority slots/region2 collaborators1 GB file size limitFull-length audio & videoUnwatermarked image outputsOverage processing at $2/GBMonthly spending limits and alertsVideo turbo mode from ProPro
$54/ month$54 per month. Billed annually · save 22%
For growing workloads and more capacity
40 GB every month1,000 priority slots/region3 collaborators5 GB file size limitFull-length audio & videoUnwatermarked image outputsOverage processing at $1.80/GBMonthly spending limits and alertsVideo turbo modeEnterprise
CustomFor teams with advanced needs
Tailored monthly GB allowanceCustom priority slots per regionUnlimited collaboratorsTailored file size limitsTiered pricing availableCustom features & invoicingCustom Slack channelMonthly spending limits and alertsEnterprise support SLAsFaster file processingWhitelabeling supportVideo turbo mode



