Spronta

Integrations

Works with your stack

Spronta is framework-agnostic. The API is REST, the CDN is a URL. There's no SDK to install — it works with everything.

Popular integrations

N
Next.js
// next.config.ts
const nextConfig = {
  images: {
    remotePatterns: [{ hostname: "cdn.spronta.com" }],
  },
};

// In your component — Next.js Image + Spronta transforms
import Image from "next/image";

<Image
  src={`https://cdn.spronta.com/${projectId}/${imageId}`}
  width={800}
  height={600}
  alt="Product photo"
/>

// Or use Spronta's URL params directly for full control
const src = `https://cdn.spronta.com/${projectId}/${imageId}?w=800&fit=cover`;
N
Node.js
// Upload an image from Node.js
const { uploadUrl, imageId } = await fetch(
  `https://app.spronta.com/api/images/projects/${PROJECT_ID}/upload`,
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      Authorization: `Bearer ${API_KEY}`,
    },
    body: JSON.stringify({
      filename: "photo.jpg",
      contentType: "image/jpeg",
      fileSize: buffer.byteLength,
    }),
  }
).then((r) => r.json());

// Upload directly to R2
await fetch(uploadUrl, { method: "PUT", body: buffer });

// Confirm and get CDN URL
const { url } = await fetch(
  `https://app.spronta.com/api/images/projects/${PROJECT_ID}/upload/confirm`,
  {
    method: "POST",
    headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ imageId }),
  }
).then((r) => r.json());

// url = "https://cdn.spronta.com/{projectId}/{imageId}"
console.log(`${url}?w=400&fit=cover`);

Official SDKs

Frameworks

N

Next.js

App Router & Pages Router

R

React

Hooks, components, SSR

V

Vue

Vue 3 & Nuxt

S

Svelte

SvelteKit support

R

Remix

Loader-based patterns

A

Astro

Static & hybrid sites

Backend

N

Node.js

Express, Fastify, Hono

P

Python

Django, Flask, FastAPI

L

Laravel

PHP, Livewire

R

Ruby on Rails

Active Storage compatible

G

Go

net/http, Gin, Echo

R

Rust

Axum, Actix-web

Platforms & CMS

S

Shopify

Product image CDN

W

WordPress

Official plugin — auto-optimizes all images

W

Webflow

Custom code embeds

C

Contentful

Asset URL rewriting

S

Strapi

Media provider

S

Sanity

Custom CDN source

Deploy & CI

V

Vercel

Edge config, env vars

C

Cloudflare Pages

Same edge network

N

Netlify

Build plugin support

R

Railway

Service deployment

SDKs optional. Lock-in impossible.

Our official SDKs make development faster, but they're not required. The upload API is standard REST and the CDN is a plain URL. If you can make an HTTP request and load an image, you can use Spronta.

# Any language, any framework
curl https://cdn.spronta.com/{projectId}/{imageId}?w=800&f=webp

Don't see your stack?

If it can make an HTTP request, it works with Spronta. Check the docs or reach out.