Solution

File Storage

Upload, store, and deliver files with signed URLs and CDN delivery. Production defaults for security and performance.

What you get

  • S3-compatible object storage with CDN delivery
  • Signed URLs for secure, time-limited file access
  • Upload progress tracking and resumable uploads
  • Image and video processing pipelines

Quick start

Using @scalemule/sdk

Code example
import { createScaleMule } from '@scalemule/sdk'

const client = createScaleMule({
  apiKey: process.env.SCALEMULE_API_KEY,
  tenant: 'media-co'
})

// Upload a file
const file = await client.storage.upload({
  bucket: 'user-uploads',
  key: 'avatar.png',
  body: fileBuffer,
  contentType: 'image/png'
})

// Generate a signed URL (expires in 1 hour)
const url = await client.storage.signedUrl({
  bucket: 'user-uploads',
  key: 'avatar.png',
  expiresIn: 3600
})

Ready to build?

Apply for access and start building in minutes.