API
Render Template
Render a template with dynamic variables
GET
This endpoint renders a template with the provided dynamic variables. The response is the rendered image file.
Path Parameters
The unique identifier of the template to render
Query Parameters
An object containing key-value pairs of variable names and their values. The keys should match the variable names defined in the template.
Response
The endpoint returns the rendered image file directly. On success, you’ll receive the image data with the appropriate content type header.
Examples
Here’s how to use the render endpoint with different variable types:
Error Responses
Path Parameters
The unique identifier of the template
Query Parameters
Dynamic variables for the template
Response
200
_mintlify/placeholder
The dynamically rendered image