Back to Tool
🔄

Image Converter API

Convert images between formats (PNG, JPG, WebP, GIF)

Endpoint

POST/api/v1/image-converter

Authentication

Include your API key in the request header:

X-API-Key: your_api_key_here

Get your API key from the Dashboard

Request Body

Content-Type: multipart/form-data

FieldTypeRequiredDescription
imageFileYesImage file (JPEG, PNG, WebP, GIF, max 10MB)
formatstringYesTarget format: png, jpeg, webp

Response

FieldTypeDescription
successbooleanWhether the operation was successful
originalFormatstringOriginal image format
targetFormatstringConverted format
imagestringBase64 encoded converted image
mimeTypestringNew 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"

Pricing

First 100 free, then $0.01 per call

Get API Key

Rate Limits

  • • 100 requests per minute
  • • 10,000 requests per day
  • • Max request size: 10MB

Need Help?

Contact us at support@shubhambadgujar.com