Skip to content

Reimage API Documentation

Welcome to the Reimage API documentation. Reimage is a powerful image and video processing API that allows you to upload, transform, and manage your media files.

Features

  • Image Transformations - Resize, crop, and convert images on-the-fly with URL-based transformations
  • Background Removal - Remove backgrounds from static images and animated GIFs using AI
  • Video Processing - Upload and process videos with HLS streaming powered by Mux
  • AI-Powered Search - Search your images using natural language with semantic search
  • Cloud Storage - Automatic storage to Google Cloud Storage or Cloudflare R2 with CDN delivery
  • Secure & Scalable - API key authentication, subscription tiers, and usage tracking

Quick Example

Upload an image and get back a URL with on-demand transformations:

javascript
const formData = new FormData();
formData.append('file', imageFile);
formData.append('tags', 'product,hero');

const response = await fetch('https://api.reimage.dev/upload/', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: formData
});

const data = await response.json();

// Access transformed versions:
// https://files.reimage.dev/{bucket}/{object_id}/w-800.webp
// https://files.reimage.dev/{bucket}/{object_id}/h-400_w-400.webp

Get Started

  1. Get your API key
  2. Authenticate your requests
  3. Upload your first image

Released under the MIT License.