New users get free credits - no credit card required Get started
Free API
API key protected, free to use

Compress Video

Compress a video to MP4 with a configurable resolution and quality preset.

Endpoint
POST /api/free/compress-video
Free tier: 5 RPM. Paid users: 500 RPM. Limits are shared across Free API endpoints.

Usage notes

  • Requires ffmpeg in the runtime container.
  • Returns JSON with a base64 MP4 payload.

API example

curl -X POST "https://api.apiany.ai/api/free/compress-video" \
  -H "Authorization: Bearer $API_KEY" \
  -F "video=@input.mp4" \
  -F "quality=medium" \
  -F "resolution=720p"

Playground

Calls are sent from your browser to this site using your API key.

Video file *
Quality
Resolution
Add an API key and required inputs to enable the request.POST /api/free/compress-video