Media
Process. Transform. Deliver.
22 media capabilities through the ee.media face. Images, video, audio, documents — the complete media pipeline in one API.
22
Media capabilities
60+
OCR languages
8
Video codecs
<500ms
Image transform
Capabilities
Image Resize & Crop
On-the-fly resizing, smart cropping, and focal-point detection. Serve the right size to every device.
Image Conversion
Convert between JPEG, PNG, WebP, AVIF, and SVG. Automatic format negotiation via Accept headers.
Video Transcoding
Transcode to H.264, H.265, VP9, and AV1. Adaptive bitrate for HLS and DASH streaming.
Audio Processing
Normalize, trim, convert, and transcode audio. MP3, WAV, FLAC, AAC, and OGG support.
PDF Generation
Generate PDFs from HTML, Markdown, or structured data. Custom fonts, headers, footers, and page breaks.
OCR
Extract text from images and scanned documents. 60+ languages with layout-aware structuring.
Watermarking
Text and image watermarks with configurable position, opacity, and tiling. Batch processing supported.
Streaming Delivery
Adaptive bitrate streaming with CDN distribution, DRM support, and real-time viewer analytics.
Code Example
A transformation pipeline in one call.
import { ee } from "@vertebase/sdk";
// Chain transformations in a single pipeline
const { data } = await ee.media.transform({
source: "uploads/hero-image.jpg",
pipeline: [
{ op: "resize", width: 1200, height: 630, fit: "cover" },
{ op: "format", to: "webp", quality: 85 },
{ op: "watermark", text: "© 2024 Acme", position: "bottom-right", opacity: 0.3 },
],
output: {
bucket: "cdn",
key: "processed/hero-image.webp",
},
});
console.log(data.url); // => "https://cdn.ee.dev/processed/hero-image.webp"
console.log(data.size_bytes); // => 48_210
console.log(data.duration_ms); // => 347Every format. One pipeline.
Images, video, audio, PDFs — process and deliver from a single API.
Get the SDK