Back to Tool
🔄
Image Converter API
Convert images between formats (PNG, JPG, WebP, GIF)
Endpoint
POST
/api/v1/image-converterAuthentication
Include your API key in the request header:
X-API-Key: your_api_key_hereGet your API key from the Dashboard
Request Body
Content-Type: multipart/form-data
| Field | Type | Required | Description |
|---|---|---|---|
| image | File | Yes | Image file (JPEG, PNG, WebP, GIF, max 10MB) |
| format | string | Yes | Target format: png, jpeg, webp |
Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the operation was successful |
| originalFormat | string | Original image format |
| targetFormat | string | Converted format |
| image | string | Base64 encoded converted image |
| mimeType | string | New MIME type |
Code Examples
curl -X POST https://tools.shubhambadgujar.com/api/v1/image-converter \
-H "X-API-Key: your_api_key" \
-F "image=@/path/to/image.png" \
-F "format=webp"Rate Limits
- • 100 requests per minute
- • 10,000 requests per day
- • Max request size: 10MB
Need Help?
Contact us at support@shubhambadgujar.com