CDN & Asset Platform

Store files, images, and videos. Edge delivery from 400+ locations. Upload, transform, and stream — one SDK.

$0.25 / GB

// Upload and transform images
const asset = await stack0.cdn.upload({
projectSlug: 'my-project',
file: imageBuffer,
filename: 'hero.jpg',
})
// Generate transform URL (no API call)
const thumb = stack0.cdn.getTransformUrl(asset.cdnUrl, {
width: 400,
height: 300,
fit: 'cover',
format: 'webp',
})
ImagesVideoAudioDocumentsPrivate FilesHLS Streaming

Features

What's included

Image Processing

Resize, crop, convert to WebP/AVIF, add watermarks, and apply effects on-the-fly.

Video Streaming

HLS adaptive streaming with 360p to 4K variants. Thumbnail generation included.

Audio Files

Extract audio from video or upload standalone files. MP3, AAC, WAV support.

Document Storage

Store PDFs, office docs, and any file type with fast CDN delivery.

Private Files

Secure storage with presigned URLs. Perfect for contracts and sensitive documents.

Global Edge Delivery

400+ edge locations worldwide. Sub-20ms latency for cached assets.

Capabilities

Built for production

Smart Image Transforms

Resize, crop with AI focus, convert formats, adjust quality—all via URL parameters.

?width=400&height=300&fit=cover&format=webp

Video Transcoding

Upload any video, transcode to HLS with multiple quality variants automatically.

stack0.cdn.transcode({ outputFormat: 'hls' })

Watermarking

Add logo watermarks during upload. 9 position options with opacity and rotation control.

watermark: { position: 'bottom-right', opacity: 50 }

Presigned URLs

Generate time-limited download URLs for private files. 1 hour to 7 day expiry.

stack0.cdn.getPresignedDownloadUrl({ expiresIn: '24h' })

Adaptive Bitrate

Video automatically switches quality based on viewer's network speed.

variants: ['360p', '720p', '1080p', '4k']

Accelerated Uploads

Multipart uploads with resumable support. Upload large files reliably.

stack0.cdn.upload({ resumable: true })

Use cases

Built for real applications

SaaS User Avatars

Upload, resize, and serve profile pictures with automatic format optimization.

E-commerce Product Images

Store product photos with instant transforms for thumbnails, galleries, and zoom.

Video Course Platforms

Host and stream educational content with HLS adaptive bitrate.

Document Management

Store contracts and reports with presigned URLs for secure sharing.

Photography Portfolios

Showcase work with watermark protection and responsive image delivery.

User-Generated Content

Accept uploads from users with validation, moderation, and CDN delivery.

Pricing

Simple, usage-based

Storage
$0.25/ GB
Image transforms included
Video transcoding & streaming
Private file storage
Watermarking support
400+ edge locations
React components included
No egress fees for images
Get Started

Plans start at $5/month. No long-term contracts.

FAQ

Frequently asked questions

Pay for storage ($0.25/GB), image transforms ($0.50/1K), video transcoding ($0.005/min), and video streaming bandwidth ($0.05/GB). No monthly minimums per feature.

Public files get a permanent CDN URL anyone can access. Private files require presigned URLs with configurable expiration (1 hour to 7 days).

Add transform parameters to your CDN URL—no API call needed. First request generates the image, subsequent requests serve from cache with sub-20ms latency.

Upload any common video format. We transcode to HLS (adaptive streaming) or MP4 (progressive download) with H.264 and H.265 codec support.

Yes. We provide migration tools to bulk import existing assets. Contact support for large migrations.

No hard limit. We support multipart uploads with resumable capability for files of any size.

Ready to build?

Plans start at $5/month.

Start Building