Overview

Upload images from your app and deliver exactly the version each page needs.

img2site stores your images per project, serves them from the project's delivery host, and renders resized, cropped, reformatted and watermarked versions on request. Use the SDKs for uploads in a few lines, or the REST API at https://api.img2.site from any language.

New here? Start with one image.

Follow the dashboard walkthrough to create a project and publish your first image without writing code.

Working with an AI assistant? Share llms.txt for a guide index or llms-full.txt for the full public documentation. Keep your credentials private.

Upload from your app

Mount an upload router on your server and drop an upload button into your page. Bytes go straight from the browser to storage; your API key stays on the server.

Deliver any size and format

Every project gets a delivery host such as my-store.i2scd.net. Put a transform chain in the URL (resize, crop, format, quality, watermark) and the image is rendered and cached at the edge.

Hear what happened

Signed webhooks tell your server when an upload is ready, when a file is blocked or unblocked, and when your credit balance runs out or is restored.

What you can rely on

  • Uploaded images are sanitized: re-encoded with orientation applied and embedded metadata removed
  • Public or protected (signed-URL-only) delivery per project
  • Re-uploading a slug updates what its URLs serve, without cache-busting query strings
  • Usage is rolled up hourly and credits are charged once a day

Quickstart

An upload router with @img2site/sdk-server and an upload button with @img2site/sdk-react in five minutes.

Open the quickstart

REST reference

Every operation, its authentication, parameters and responses, generated from the OpenAPI contract.

Open the reference