Direct Upload Flow
Generate signed upload URLs and push media from client apps without exposing storage credentials.
Upload, optimize, and deliver images/videos with a clear API flow. From first file upload to production CDN links in minutes.
Upload example
import { CloudXS } from "cloudxs";
const cloudxs = new CloudXS({
apiKey: process.env.NEXT_PUBLIC_CLOUDXS_API_KEY!,
});
const result = await cloudxs.upload(file);
console.log(result.url);Clear primitives for upload, storage metadata, and delivery.
Generate signed upload URLs and push media from client apps without exposing storage credentials.
Serve optimized images and video through CDN URLs with consistent low-latency performance.
Integrate upload and delivery quickly with a developer-first SDK and clear endpoint flows.
Store and retrieve file type, dimensions, size, and ownership details in a single media layer.
Use API keys and scoped upload operations to keep your pipeline secure and controlled.
Move from setup to first uploaded URL with a predictable flow.
STEP 01
Create your key from the dashboard and keep it in environment variables.
STEP 02
Call `cloudxs.upload(file)` and CloudXS handles signed upload and metadata storage.
STEP 03
Read `result.url` and use it immediately in your app or store it in your database.
Start with API key creation, then follow the SDK-based upload flow from the Developer Options page.