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
| Feature | Traditional Server | imgapi (Edge) |
|---|---|---|
| Upload Path | Client → Server → Storage | Client → Storage |
| Bandwidth Cost | High (Billed twice) | Zero (Direct to R2) |
| Security | Server exposed to malware | Edge isolates malicious files |
| Orphan Management | Manual cron jobs | Automated 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 →