Nexakaunt Media v1.0
Centralized Media Processing Engine

High-Performance Media API for Nexakaunt Microservices

Centralized media management built for modern applications. Synchronous WebP image optimization, asynchronous FFmpeg video transcoding, dynamic image transformations, and per-tenant quota enforcement.

cURL Quickstart • POST /api/media/upload
Multipart Upload
curl -X POST https://media.nsantosh.com/api/media/upload \
  -H "X-User-Id: user-uuid-1234" \
  -H "X-Company-Id: company-uuid-5678" \
  -F "images[]=@/path/to/image.jpg" \
  -F "access_type=private"

Sync WebP Optimization

Uploaded images are automatically scaled (downsized if needed) and re-encoded to WebP format synchronously using GD for minimal bandwidth footprint.

Async FFmpeg Transcoding

Videos are processed in background queues via FFmpeg into web-optimized H.264/AAC MP4s while generating poster WebP thumbnails automatically.

On-the-Fly Image Resize

Serve endpoints support instant width (?w=300), height (?h=200), and quality (?q=80) parameters with disk caching.