How to generate several images at once - Abyssale REST API
Multiple images can be created at once by sending data and customisation parameters to the POST /async/banner-builder/{template_id}/generate endpoint, which will respond synchronously with only a generation_request_id property.
Supported template type: Static
Generation response type: Asynchronous (Webhooks or Polling)
The callback_url request parameter and the asynchronous mechanism
As this method is asynchronous you should provide a callback_url. The NewBannerBatch event will be POSTed to this URL when the generation batch finishes.
To discover globally how this system works, check out the following Webhooks guide:
Sample request
Do not forget to replace {YOUR-API-KEY} and {templateId}
Generate multiple formats of an image at once from a template designed in Abyssale.
This method is asynchronous and allows to generate several images with one API call.
Of course, it can also be used for single image generation (because of time-constraints for instance).
You can find available formats & elements of a template by calling the GET /templates/{templateId} route.