Skip to content

Pixelbin Transformation API

One Pixelbin transformation's docs: title, category, add-on it requires (or null), identifier (e.g. t.resize, erase.bg), description, every parameter (name, key, description, values, default), example transformation strings, output description (or null) and docs url.

GEThttps://api.maviapi.com/v1/sites/pixelbin/transformations/{category}/{name}1 credit per call

Parameters

NameRequiredExampleDescription
categorystring in pathRequiredbasic"basic", "ml" or "external" (from /transformations).One of basic, ml, external
namestring in pathRequiredresizetransformation name from /transformations, e.g. "resize".

Response fields

idstringe.g."basic/resize"
namestringe.g."resize"
titlestringe.g."Resize"
categorystringe.g."Basic"
requires_addonnull
identifierstringe.g."t.resize"
descriptionstringe.g."Resize transformation allows users to change the dimensions of an image. This can be done to make the image larger or smaller, to fit a certain aspect ratio, or to create different versions of the same image for different purposes. Resize your images by setting the width and/or height parameters, using different crop parameters like a cover, fill, etc. When resizing an image, it's important to be careful not to distort the aspect ratio or lose too much detail. Enlarging an image beyond its original size can lead to pixelation and blurriness while shrinking an image too much can result in a loss of detail and clarity. To minimize these issues, it's best to resize an image in small increments, rather than making large changes all at once."
paramsobject[]5 fields
namestringe.g."Height"
keystringe.g."h"
descriptionstringe.g."This parameter sets the height of the output image. If this parameter is omitted, and the width parameter is set, the output height is set automatically such that the aspect ratio is preserved. The maximum value for this is 10000 and any output which has more than this height will be scaled down to this value."
valuesstring[]
defaultnull
examplesstring[]
outputnull
urlstringe.g."https://www.pixelbin.io/docs/transformations/basic/resize/"
category_slugstringe.g."basic"
paginationobject3 fields
countintegere.g.7
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:05:17.671Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 1 credit per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/pixelbin/transformations/basic/resize' \
  -H "Authorization: Bearer $MAVI_KEY"

Pixelbin Transformation API questions

What you get, what it costs and how to call it.

What does the Pixelbin Transformation API return?

One Pixelbin transformation's docs: title, category, add-on it requires (or null), identifier (e.g. t.resize, erase.bg), description, every parameter (name, key, description, values, default), example transformation strings, output description (or null) and docs url. The response has id, name, title, category, requires_addon, identifier, description, params and 7 more.

Which parameters does the Pixelbin Transformation API take?

GET /transformations/{category}/{name} needs category (for example basic) and name (for example resize).

How much does one Pixelbin Transformation API call cost?

One successful call costs 1 credit. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.20. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Pixelbin Transformation API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/pixelbin/transformations/{category}/{name} with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Pixelbin Transformation API official?

No. It is an independent, hosted API from maviapi for the public data on pixelbin.io, and it is not made, endorsed or supported by Pixelbin. Its parameters and response fields are documented on this page.