Blog

Guides & updates

Tutorials, quickstarts and product updates for generative media & LLM APIs.

AI video API sample aspect ratioFFmpeg square pixelsffprobe SAR

AI Video API Sample Aspect Ratio: Normalize Non-Square Pixels

Inspect AI video API sample aspect ratio with ffprobe, normalize non-square pixels using FFmpeg, and validate display geometry before browser video delivery.

Nov 25, 2026
AI image API file format detectionPillow image validationimage MIME types

AI Image API File Format Detection: Validate Before Storage

Implement AI image API file format detection with Pillow, reject misleading extensions and MIME headers, and validate decoded assets before application storage.

Nov 25, 2026
AI video API rotation metadataFFmpeg autorotationffprobe display matrix

AI Video API Rotation Metadata: Inspect and Normalize

Inspect AI video API rotation metadata with Python and ffprobe, bake orientation into pixels with FFmpeg, and verify portrait geometry, duration, and audio.

Nov 24, 2026
AI image API multi-frame detectionPillow n_framesanimated image validation

AI Image API Multi-Frame Detection: Reject Animated Inputs

Add AI image API multi-frame detection with Pillow to reject animated and multi-page inputs, enforce still-image policies, and test ingestion before storage.

Nov 24, 2026
AI video API frame rate normalizationFFmpeg CFRvariable frame rate

AI Video API Frame Rate Normalization: Python and FFmpeg

Learn AI video API frame rate normalization with Python and FFmpeg: convert VFR to CFR, preserve clip timing and audio, and validate delivery files locally.

Nov 23, 2026
AI image API metadata strippingimage metadata sanitizationPillow EXIF removal

AI Image API Metadata Stripping: Privacy-Safe Derivatives

Implement AI image API metadata stripping with Pillow: remove private EXIF, preserve orientation and ICC profiles, and validate sanitized delivery derivatives.

Nov 23, 2026
AI video API atomic file writesatomic video ingestionPython os.replace

AI Video API Atomic File Writes: A Python Ingestion Tutorial

Implement AI video API atomic file writes in Python with bounded streams, SHA-256, fsync, safe promotion, and recovery rules for application-owned video files.

Nov 22, 2026
AI image API Base64 decodingBase64 image validationimage ingestion limits

AI Image API Base64 Decoding: Limits and File Validation

Handle AI image API Base64 decoding with strict syntax checks, encoded-size limits, pixel budgets, and file validation before storing application-owned images.

Nov 22, 2026
AI video API checksum verificationvideo SHA-256video storage integrity

AI Video API Checksum Verification: Storage Integrity Guide

Use AI video API checksum verification to detect corrupted storage copies, protect trusted digests, and separate file integrity from playback and billing.

Nov 21, 2026
AI image API SSRF protectionsecure image downloadsDNS rebinding

AI image API SSRF protection: Safe Python Downloads

Build AI image API SSRF protection with strict HTTPS host checks, blocked redirects, bounded Python downloads, timeouts, and network-level egress controls.

Nov 21, 2026
AI video API HTTP Rangevideo byte rangesPython video streaming

AI video API HTTP Range: Python Delivery Tutorial

Implement AI video API HTTP Range delivery with Python: single byte ranges, 200/206/416, strong ETags, authorization, bounded streaming, and playback checks.

Nov 19, 2026
AI image API ETag cachingconditional requestsprivate image caching

AI Image API ETag Caching: Private Asset Revalidation

Implement AI image API ETag caching with conditional requests, tenant authorization, immutable image variants, and safe 304 responses in your application.

Nov 19, 2026
Join our DiscordBlog — GenRelay