All endpoints
Base64 to Image
POST
/api/v1/base64-to-imagePaste a Base64 string or data URL and decode it back into a downloadable image.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/base64-to-imageParameters
inputstringrequiredBase64 string or data: URL to decode into an image.
fallbackMimeTypestringoptionalMIME type to use when the input has no data: URL prefix. Default image/png.
image/pngimage/jpegimage/webpimage/gifimage/svg+xmlRequest body
{
"input": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
"fallbackMimeType": "image/png"
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/base64-to-image \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=","fallbackMimeType":"image/png"}'Response
binary image (Content-Type reflects the detected or fallback MIME type)
