Introduction

Learn how imgfast helps you deliver perfectly optimized images to your users at the speed of light.

bolt

Quick Start

The fastest way to use imgfast is by simply prepending our CDN domain to your existing image URLs. We'll handle the compression and formatting automatically.

terminalExample Request
// Original URL
"https://my-site.com/assets/banner.jpg"

// Optimized via imgfast
"https://cdn.imgfast.io/my-account/banner.jpg?w=800&format=avif"
auto_fix_high

Auto Optimization

We automatically select the best format (AVIF, WebP) for each browser.

cloud_sync

Global Delivery

Images are cached at 120+ edge locations globally for minimal latency.

Using the React SDK

For deeper integration and better developer experience, use our native SDKs.

image-component.tsx
React
import { ImgFast } from "@imgfast/react";

export default function Hero() {
  return (
    <ImgFast
      src="products/sneaker-01.png"
      width={1200}
      aspectRatio="16:9"
      quality="high"
      loading="eager"
    />
  );
}