imgapi docs
Docs / Overview

Overview

imgapi is an edge-native image handling microservice. It allows your main application to securely offload all binary processing, storage, and bandwidth directly to Cloudflare's edge network.

Feature Comparison

FeatureTraditional Serverimgapi (Edge)
Upload PathClient → Server → StorageClient → Storage
Bandwidth CostHigh (Billed twice)Zero (Direct to R2)
SecurityServer exposed to malwareEdge isolates malicious files
Orphan ManagementManual cron jobsAutomated D1 Ledgers

Integration Options

Choose the integration path that best fits your technical requirements:

1. Widget Integration

Zero-code drag and drop iframe. Ideal for blog editors, SaaS avatars, and rapid deployment.

Read Guide →

2. Headless API

Full custom UI control. Build your own dropzones utilizing our secure REST endpoints.

Read Guide →