curl -X POST https://api.bannerify.co/v1/templates/renderVideo \
-H "Content-Type: application/json" \
-d '{
"apiKey": "bnfy_xxx",
"templateId": "tpl_your_copy",
"modifications": [{ "name": "title", "text": "Your text here" }]
}'
import { Bannerify } from "bannerify-js"
const bannerify = new Bannerify("bnfy_xxx")
const { result: url, error } = await bannerify.renderAndWaitVideo("tpl_your_copy", {
modifications: [{ name: "title", text: "Your text here" }],
})