Image, audio & video processing
Media processing APIs for image manipulation, audio processing, and video transcoding.
Resize, crop, and transform images. Support for multiple formats with aspect ratio preservation.
POST /api/v1/media/image/resize
{ "image_url": "https://...photo.jpg",
"width": 800, "height": 600,
"fit": "cover" }
// Response
{ "url": "https://cdn.../resized.jpg",
"width": 800, "height": 600,
"format": "jpeg", "size": 45230 }
Compress images without quality loss. Reduce file sizes by up to 80% with smart compression.
POST /api/v1/media/image/optimize
{ "image_url": "https://...photo.jpg",
"quality": 85, "format": "webp" }
// Response
{ "url": "https://cdn.../optimized.webp",
"original_size": 245000,
"optimized_size": 52000,
"savings_percent": 78.8 }
Convert video formats and resolutions. Support for MP4, WebM, MOV, and adaptive streaming.
POST /api/v1/media/video/transcode
{ "video_url": "https://...video.mov",
"format": "mp4", "resolution": "1080p",
"codec": "h264" }
// Response
{ "job_id": "vt_abc123",
"status": "processing",
"webhook": "https://..." }
Generate thumbnails from videos. Extract frames at specific timestamps or auto-select best frames.
POST /api/v1/media/video/thumbnail
{ "video_url": "https://...video.mp4",
"timestamp": "00:00:05",
"width": 320, "height": 180 }
// Response
{ "url": "https://cdn.../thumb.jpg",
"width": 320, "height": 180,
"timestamp": "00:00:05" }
Convert audio formats and bitrates. Support for MP3, AAC, WAV, FLAC, and more.
POST /api/v1/media/audio/convert
{ "audio_url": "https://...audio.wav",
"format": "mp3", "bitrate": "320k",
"channels": "stereo" }
// Response
{ "url": "https://cdn.../converted.mp3",
"format": "mp3", "bitrate": "320k",
"duration": 245.5, "size": 9820000 }
Add watermarks to images and videos. Support for text, logos, and custom positioning.
POST /api/v1/media/watermark
{ "media_url": "https://...image.jpg",
"watermark_url": "https://...logo.png",
"position": "bottom-right",
"opacity": 0.7 }
// Response
{ "url": "https://cdn.../watermarked.jpg",
"width": 1920, "height": 1080 }
Get your API key and start using Media APIs in minutes.