The Glimpse image API. Convert, optimize, resize, and inspect images with simple JSON requests. We recommend AVIF as the target format.
The image is sent as plain base64, and every endpoint needs a
bearer token: create one under Settings → API Tokens
(/settings/api-tokens). The guides explain
authentication, the formats, the quality scale, and each operation.
You do not have to write the HTTP calls yourself:
- The official PHP SDK,
mathiasgrimm/glimpse-php. - The glimpse CLI for your terminal, scripts, and CI.
Both cover all of the endpoints below.