GenerateImageSignedURL builds a link that renders an image when someone opens it. It makes no network request: the SDK signs the URL on your server with your API key.
Request
It takes a template id and a*CreateImageOptions. A nil value uses the defaults.
The values to put into the template’s layers. They travel in the URL, so keep them short. Modifications lists the fields each layer accepts.
The image format:
png, jpeg, or webp. The method returns an error for any other value.nocache option. Signed URLs shows how to skip the cache when you build the URL yourself.
Response
The method returns the URL as a string:apiKeyHashed tells Bannerify which key signed the URL. sign is an HMAC-SHA256 of the other parameters, keyed with your API key. Nobody can change the template or the modifications in a signed URL without breaking the signature, so you can put the URL in a page, an email, or a meta tag.