web

Image

Quickly upload, resize, and convert images

Introduction

The image service provides upload, resize, and image conversion. It provides a CDN for uploaded images and a simple API.

Features

See the features of the image service below along with related pricing details

Endpoint Description Pricing (per request)
Convert Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), or by uploading the conversion result. Free
Resize Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. If one of width or height is 0, the image aspect ratio is preserved. Optional cropping. Free
Upload Upload an image by either sending a base64 encoded image to this endpoint or a URL. To resize an image before uploading, see the Resize endpoint. Free

Examples

Convert a png image to a jpeg, taken from a URL and saved to a URL on Micro's CDN

{
    "url": "somewebsite.com/cat.png",
    "name": "cat.jpeg",
    "outputURL": true
}
{
    "url": "cdn.images.m3o.com/your-account-id/cat.jpeg"
}

Visit the API page to get started.