Skip to main content
GET
cURL

Authorizations

apiKey
string
query
required

Query Parameters

format
enum<string>
default:png

The image format. The value is case-sensitive, so jpg and JPEG are not valid.

Available options:
png,
jpeg,
webp
quality
integer

Encoder quality for the lossy formats (jpeg, webp), 1-100. Defaults to 90. Ignored for png.

Required range: 1 <= x <= 100
Example:

90

nocache

By default, Bannerify caches the rendered image at the edge for up to 7 days. Set this to true to skip the cache and render a new image on every request. Every uncached render counts toward your quota.

Example:

"true"

_debug
deprecated

Has no effect.

s3Config
object

Save the file to your own S3-compatible bucket. Without it, Bannerify saves the file in its own storage and serves it from its CDN. Only the stored endpoints use this field, and the Scale and Enterprise plans include it. Other plans get the error code FORBIDDEN.

templateId
string
required

The id of the template to render. In the dashboard, open the menu on a template card and choose Copy Template ID.

Example:

"tpl_xxx"

apiKeyMd5
string
deprecated

Deprecated alias of apiKeyHashed

apiKeyHashed
string

The SHA-256 hash of your API key, in hex. It tells Bannerify which key signed the URL, and it cannot sign anything. Send it with every request.

sign
string
required

The signature, in hex. It is the HMAC-SHA256 of the other query parameters, sorted by name and encoded like URLSearchParams, with your API key as the secret. See https://bannerify.co/docs/essentials/signed-urls.

modifications

The values to change in the template, as an array of modifications. Each modification names a layer and sets one or more fields, and a layer without a modification keeps the values from the template. An object keyed by layer name and a JSON string of either shape also work. See https://bannerify.co/docs/essentials/modifications.

Example:

Response

The image file. The Content-Type header tells the format. The RateLimit-Remaining and RateLimit-Reset headers show the state of your rate limit.

The binary of image file