Home
Available
Image Optimizer Translate Backup Vault Cookie Guard Live Chat
Coming 2026
SEO Boost Speed Cache Security Shield
Support
Language
LoginGet Started Free
API Documentation

Image Optimizer

Convert images to WebP & AVIF with up to 80% file size reduction. Complete REST API, WordPress plugin, and global CDN delivery.

80%
Avg. Savings
50ms
Response Time
20+
CDN Locations
99.9%
Uptime SLA

Overview

Jetweb Image Optimizer is a high performance image conversion service that transforms your images into modern WebP and AVIF formats. Our API processes images in milliseconds and delivers them through a global CDN for lightning fast loading.

Whether you're building a WordPress site, ecommerce platform, or custom web application, Jetweb provides the tools to deliver optimized images at any scale.

Features

WebP Conversion
97%+ browser support worldwide
AVIF Format
Next gen compression (Starter+)
Batch Processing
Up to 10 images per request
Global CDN
20+ edge locations worldwide
Signed URLs
Cryptographically secure delivery
WordPress Plugin
One click installation

Supported Formats

We support all major image formats with optimized compression algorithms:

Input FormatOutput FormatsTypical SavingsMax Size
JPEG (.jpg, .jpeg)WebP, AVIF50-70%50 MB
PNG (.png)WebP, AVIF60-80%50 MB
GIF (.gif)WebP (animated)40-60%50 MB
WebP (.webp)AVIF20-40%50 MB
BMP (.bmp)WebP, AVIF80-95%50 MB

WordPress Plugin

Get started in minutes with our official WordPress plugin. Automatically optimize all media uploads with zero configuration.

Installation

Download the plugin from your Jetweb Dashboard
Upload via WordPress Admin → Plugins → Add New → Upload Plugin
Activate the Jetweb Image Optimizer plugin
Configure in Settings → Jetweb Image Optimizer
Enter API Key from your API Keys page

Plugin Settings

SettingDescriptionDefault
API KeyYour Jetweb access token (starts with jw_)Required
Output FormatWebP (all plans) or AVIF (Starter+)WebP
QualityCompression quality 1-10085
Auto optimizeOptimize images on uploadEnabled
Use CDNServe from Jetweb CDNEnabled

REST API

Build custom integrations with our REST API. All requests require authentication via the X-Access Token header.

Authentication

headers
X-Access-Token: jw_your_api_key_here
Content-Type: multipart/form-data

Convert Single Image

POST /convert
# Request
POST https://image-optimizer.api.jetweb.app/convert

# Form Data
file:    [binary]     # Image file
format:  webp         # webp | avif
quality: 85           # 1-100

# Response Headers
X-Original-Size:  156789
X-Converted-Size: 45678
X-Savings:        71%
X-CDN-URL-WebP:   https://cdn.jetweb.app/abc123.webp?sig=...

Batch Conversion

POST /convert/batch
# Request (up to 10 images)
POST https://image-optimizer.api.jetweb.app/convert/batch

files[]: [image1.jpg]
files[]: [image2.png]
format:  webp
quality: 85

# Response
{
  "success": true,
  "results": [
    { "filename": "image1.jpg", "savings": "68%", "cdnUrl": "..." },
    { "filename": "image2.png", "savings": "75%", "cdnUrl": "..." }
  ],
  "totalProcessed": 2
}

CDN Integration

All converted images are automatically stored on our global CDN. Use the provided signed URLs directly in your HTML:

usage.html
<!-- Modern browsers with fallback -->
<picture>
  <source srcset="https://cdn.jetweb.app/abc.avif?sig=..." type="image/avif">
  <source srcset="https://cdn.jetweb.app/abc.webp?sig=..." type="image/webp">
  <img src="/original.jpg" alt="Description" loading="lazy">
</picture>

Quality Settings

Choose the optimal quality setting based on your use case:

QualityUse CaseFile SizeVisual Quality
90-100Photography, product imagesLargerLossless/Near lossless
80-90General web imagesBalancedExcellent (recommended)
60-80Thumbnails, backgroundsSmallerGood
<60Maximum compressionSmallestAcceptable

Rate Limits & Pricing

API rate limits and monthly quotas vary by plan:

Free
0€/mo
50 images/month
  • WebP only
  • 10 req/min
  • No CDN
Starter
2,99€/mo
500 images/month
  • WebP + AVIF
  • 30 req/min
  • CDN included
Business
9,99€/mo
10,000 images/month
  • All formats
  • 120 req/min
  • Priority support

Rate limit headers: X-RateLimit-Remaining, X-RateLimit-Reset

Error Codes

The API returns standard HTTP status codes with descriptive error messages:

CodeErrorDescription
400Bad RequestInvalid parameters or missing required fields
401UnauthorizedMissing or invalid API key
403ForbiddenPlan limit exceeded or feature not available
413Payload Too LargeFile exceeds 50MB limit
415Unsupported MediaFile format not supported
429Too Many RequestsRate limit exceeded
500Server ErrorInternal processing error

Troubleshooting

"Monthly conversion limit exceeded"
You've reached your plan's monthly quota. Upgrade your plan or wait for the next billing cycle (resets on the 1st).
"Invalid access token"
Verify your API key in the API Keys page. Keys must start with jw_.
"File too large"
Maximum file size is 50MB. Resize your image before uploading or use a compression tool first.
"Rate limit exceeded"
Wait for the rate limit window to reset (shown in X-RateLimit-Reset header) or upgrade your plan.

FAQ

WebP offers excellent compression with 97%+ browser support. AVIF provides 20-30% better compression but has ~92% browser support. We recommend WebP for maximum compatibility, AVIF when targeting modern browsers.
Converted images are stored for 30 days from last access. Active images (accessed within 30 days) are kept indefinitely. Signed URLs remain valid for 1 year.
Yes! Our REST API works with any framework. For Next.js, we recommend server side conversion during build or using our CDN URLs directly with next/image optimization disabled for Jetweb URLs.
By default, we strip EXIF metadata for smaller file sizes and privacy. Add preserve_metadata=true to your request to keep it.
Yes! For high volume needs (50,000+ images/month), contact us at [email protected] for custom pricing and dedicated support.

Ready to optimize?

Start converting images in minutes. Free plan includes 50 images/month.