Drop-in API and CDN for product images. 50 ms p95, 95%+ WebP conversion, pay per stored image.
import { FastPic } from '@fastpic/sdk' const fp = new FastPic({ apiKey }) const { url } = await fp .upload(file) .resize(800) .format('webp')
Optimal rates with no hidden fees
// response headerscache-control: public, max-age=31536000cf-cache-status: HITcontent-type: image/webpReliable integration without failures
https://cdn.fastpic.io/<hash> ?w=800&q=80&fmt=webpConnect in minutes
{ "stored": 12_430, "bandwidth_gb": 0}Pull the SDK from npm and drop in your API key. No middleware, no config files.
// install$ npm install @fastpic/sdk const fp = new FastPic({ apiKey })Send a file buffer or a public URL — we store the original and hand you back a stable hash.
const { url } = await fp.upload(file) // → img_abcAppend transform parameters straight in the src. WebP, resizing, quality — all at the edge.
<img src={`${url}?w=800&fmt=webp`}/>Real-time transforms, applied via URL parameters. No reprocessing, no backend work.
Set up in 2 minutes. 1 000 free API calls. No card needed.