protect_media
Apply preset protection levels to media files or text content to prevent AI training use. Choose standard or maximum protection for images, audio, or text inputs via URL or base64 encoding.
Instructions
Protect media using a curated preset level. Automatically selects the best combination of algorithms for the given media type. Simpler than run_algorithm — just specify standard or maximum protection. Provide either a public media_url, base64 media, or text content. Returns a job_id — use check_job to poll for results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_url | No | Public URL of the media file to protect | |
| media | No | Base64-encoded media content (alternative to media_url) | |
| text | No | Plain text content to protect | |
| mime | No | MIME type (e.g. image/png, audio/wav, text/plain) | |
| level | No | Protection level: standard (fast, good protection) or maximum (slower, strongest protection). Default: standard | |
| tags | No | Tags for organizing and filtering | |
| webhook_url | No | URL to receive a POST when the job completes | |
| filename | No | Original filename for human-readable output naming |