New • Token‑based image API
zapifyapi converts PNG & JPEG to WEBP (AVIF coming soon) with a single HTTP call. Use token packs or monthly plans that unlock premium APIs.
# cURL
curl -X POST https://api.zapifyapi.com/v1/convert \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-F "file=@/path/to/photo.jpg" \
-F "format=webp" \
-o output.webp
# JavaScript (fetch)
const form = new FormData();
form.append('file', fileInput.files[0]);
form.append('format', 'webp');
const res = await fetch('https://api.zapifyapi.com/v1/convert', {
method: 'POST',
headers: { Authorization: `Bearer ${API_KEY}` },
body: form,
});
const blob = await res.blob();
Optimized for CDNs • Built for CI pipelines • Works with S3/GCS • Free 500 conversions/month
Everything you need to ship faster images without juggling libraries or servers.
Upload a file, pick a format. We return the converted asset with sane defaults and proper headers.
Auto‑scales under load with global edge caching. Built with performance in mind.
Tune quality, lossless mode, resize, strip metadata, background fill, and more via params.
Per‑key rate limits, signed URLs, and S3‑style keys so your pipelines stay safe.
Direct ingest from S3/GCS/URL. Stream results back or push to your bucket.
Token packs + plans. Pay only for successful conversions.
Sign in and grab your API key from the dashboard.
Use token packs for core conversions, or choose a monthly plan that unlocks premium APIs and includes monthly tokens.
POST your image with format=webp
. Token usage is shown live in your dashboard.
Choose token packs for pay‑as‑you‑go, or monthly plans that unlock premium APIs and include a token stipend.
Token packs enable core conversions. Premium APIs require an active monthly plan (tokens alone cannot access premium endpoints).
Includes 2,000 tokens / mo
$9/mo
Includes 5,500 tokens / mo
$19/mo
Includes 20,000 tokens / mo
$49/mo
POST /v1/convert
webp
(more soon)quality, width, height, fit, background, strip
Bearer YOUR_API_KEY
Binary body (image/webp) with headers:
HTTP/1.1 200 OK Content-Type: image/webp X-RateLimit-Limit: 50000 X-RateLimit-Remaining: 49921 X-Request-Id: req_abc123 X-Tokens-Spent: 2 X-Tokens-Remaining: 5498
On error returns JSON with error
and message
.