🖼️
Image Resize API
Resize, crop, and transform images via API. Support for multiple fit modes, formats, and quality settings.
API Endpoint
POST /v1/image-resizeParameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | URL of the image to resize |
| width | integer | Yes | Target width in pixels |
| height | integer | No | Target height in pixels |
| fit | string | No | Fit mode: cover, contain, fill (default: cover) |
Quick Example
curl -X POST "https://api.toolcenter.dev/v1/image-resize" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/photo.jpg", "width": 400, "height": 300, "fit": "cover"}' \
--output resized.jpg
Features
- Resize to exact dimensions
- Multiple fit modes: cover, contain, fill, inside
- Auto-crop with smart focus
- Format conversion (PNG, JPEG, WebP)
- Quality and DPI control
Use Cases
Generate thumbnail images
Prepare images for responsive layouts
Create social media sized images
Batch resize product photos
Start Using Image Resize API for Free
500 free API calls per month. No credit card required.
Get Started Free