· 1 min read
How to Generate Images With An API
Learn how to use Templated to render Images using our simple API.
To create an image programmatically, initiate a POST request to the /render endpoint, providing a template UID (Unique Identifier) and a list of desired template changes, such as text changes, image replacements, or color adjustments.
Retrieving the Completed Render
You can monitor the status and retrieve the resulting Render object by polling the GET endpoint at /images/:uid .
Utilizing Webhooks
By utilizing webhooks, you can receive timely notifications when the image rendering process is finished. Specify the webhook_url parameter to indicate where to send a POST request containing the complete Render object in JSON format upon rendering completion.
For more information, consult the API Documentation page.