Drag & drop your image here
Supports PNG, JPEG, WebP, AVIF (Up to 20MB)
Optimization Settings
80%
W
H
Upload an image to start optimizing
Set options and get real-time comparison analytics.
Developer API Integration
POST /api/resize
POST /api/remove-background
POST /api/crop
Integrate this image engine into your other scripts and websites:
// 1. Resize & Compress
const resizeData = new FormData();
resizeData.append('image', fileInput.files[0]);
resizeData.append('quality', '80');
resizeData.append('width', '800');
resizeData.append('format', 'webp');
resizeData.append('json', 'true');
fetch('http://localhost:3000/api/resize', {
method: 'POST',
body: resizeData
})
.then(res => res.json())
.then(data => myImage.src = data.imageData);
// 2. Remove Background (AI)
const bgData = new FormData();
bgData.append('image', fileInput.files[0]);
bgData.append('json', 'true');
fetch('http://localhost:3000/api/remove-background', {
method: 'POST',
body: bgData
})
.then(res => res.json())
.then(data => myImage.src = data.imageData);
// 3. Manual Crop
const cropData = new FormData();
cropData.append('image', fileInput.files[0]);
cropData.append('left', '150');
cropData.append('top', '100');
cropData.append('width', '400');
cropData.append('height', '400');
cropData.append('json', 'true');
fetch('http://localhost:3000/api/crop', {
method: 'POST',
body: cropData
})
.then(res => res.json())
.then(data => myImage.src = data.imageData);
import requests
# 1. Resize & Compress
res_resize = requests.post('http://localhost:3000/api/resize',
files={'image': open('photo.jpg', 'rb')},
data={'quality': '80', 'width': '800', 'format': 'webp', 'json': 'true'}
)
print(res_resize.json()['imageData'][:60] + "...")
# 2. Remove Background (AI)
res_bg = requests.post('http://localhost:3000/api/remove-background',
files={'image': open('photo.jpg', 'rb')},
data={'json': 'true'}
)
print(res_bg.json()['imageData'][:60] + "...")
# 3. Manual Crop
res_crop = requests.post('http://localhost:3000/api/crop',
files={'image': open('photo.jpg', 'rb')},
data={'left': '150', 'top': '100', 'width': '400', 'height': '400', 'json': 'true'}
)
print(res_crop.json()['imageData'][:60] + "...")
# 1. Resize & Compress (Get WebP file download)
curl -X POST \
-F "image=@photo.jpg" \
-F "quality=80" \
-F "width=800" \
-F "format=webp" \
-o optimized.webp \
http://localhost:3000/api/resize
# 2. Remove Background (Get transparent PNG file download)
curl -X POST \
-F "image=@photo.jpg" \
-o transparent.png \
http://localhost:3000/api/remove-background
# 3. Manual Crop (Get cropped image download)
curl -X POST \
-F "image=@photo.jpg" \
-F "left=150" \
-F "top=100" \
-F "width=400" \
-F "height=400" \
-o cropped.jpg \
http://localhost:3000/api/crop