Templates
Render a template
Substitutes vars into the template's {{placeholders}} and renders it at the template's own width and height. Returns the image bytes.
post/v1/image/{id}
Request
- Base URL: https://api.ironfang.com/render
- URL: https://api.ironfang.com/render/v1/image/{id}
- Auth: HTTP bearer
Request body
Example request
{
"actions": [
{
"selector": "#show-more",
"type": "click"
},
{
"selector": "#details",
"type": "wait_for_selector"
}
],
"css": ".chat-widget { display: none !important; }",
"script": "document.querySelector('#pricing')?.click();"
}Response
The rendered image. png unless format: jpeg was requested.
Changes
No recorded changes to this operation across all 1 revision of this API.