02 簽署連結
在你的伺服器簽署連結,不需發出請求
const url = await bannerify.generateVideoSignedUrl("tpl_video_welcome_first_name",{modifications: [{ name: "first_name", text: "Thandiwe." }],},)所選名字的影片連結
https://api.bannerify.co/v1/templates/signedurl?apiKeyHashed=…&modifications=[{"name":"first_name","text":"Thandiwe."}]&sign=…&templateId=tpl_video_welcome_first_name只有名字會變。每個名字都是同一個範本生成的不同影片。
03 播放連結
這是 HLS 串流:影片生成時就開始播放,之後從快取播放。
使用方式
- 01
選一個影片範本
從範本庫的影片範本開始,或在編輯器製作自己的動畫。為要修改的圖層命名。
- 02
送出資料
從 REST API 或 SDK 呼叫 renderVideo,或在你的伺服器簽署影片連結。也支援 Google 試算表、Notion 與 MCP。
- 03
取得影片
renderVideo 會回傳 MP4 的網址。影片連結能在任何播放器以 HLS 播放,並在第一次觀看時生成。
功能
觀看時才生成的影片連結。
把生成的影片放進網頁、電子郵件與 App 所需的一切,不必自己維護影片處理流程。
幾秒內開始播放
影片連結回傳 HLS 播放清單。前幾秒先開始播放,其餘部分同時生成。
了解更多(幾秒內開始播放)每位觀眾一支影片
modifications 放在連結的查詢參數中,同一個範本就能給每位觀眾不同的名字、照片或優惠。
只重新生成變動的部分
Bannerify 會保存每個已生成的部分。只改一個圖層時,只會重新生成顯示它的那幾秒。
邊緣快取
開啟過的連結最長 30 天內從快取播放,不需重新生成,也不計入新的生成。
需要檔案時用 MP4
renderVideo 可生成任何長度的 MP4。在影片連結加上 format=mp4,可取得 15 秒以內影片的 MP4。
了解更多(需要檔案時用 MP4)免寫程式與 MCP
Google 試算表與 Notion 能為每一列或每一頁生成影片。你的 AI 助理可用 create_video 工具製作影片。
了解更多(免寫程式與 MCP)
curl -X POST https://api.bannerify.co/v1/templates/renderVideo \
-H "Content-Type: application/json" \
-d '{
"apiKey": "bnfy_xxx",
"templateId": "tpl_xxx",
"modifications": [{ "name": "headline", "text": "Hello, Ada" }]
}'import { Bannerify } from "bannerify-js"
const bannerify = new Bannerify("bnfy_xxx")
const { result: url, error } = await bannerify.renderAndWaitVideo("tpl_xxx", {
modifications: [{ name: "headline", text: "Hello, Ada" }],
})from bannerify import BannerifyClient
client = BannerifyClient("bnfy_xxx")
result = client.render_and_wait_video(
"tpl_xxx",
modifications=[{ "name": "headline", "text": "Hello, Ada" }],
)<?php
use Bannerify\Bannerify\BannerifyClient;
$client = new BannerifyClient('bnfy_xxx');
$result = $client->renderAndWaitVideo('tpl_xxx', [
'modifications' => [[ 'name' => "headline", 'text' => "Hello, Ada" ]],
]);import { Bannerify } from "bannerify-js"
const bannerify = new Bannerify("bnfy_xxx")
// Signed on your server, with no request to Bannerify
const url = await bannerify.generateVideoSignedUrl("tpl_xxx", {
modifications: [{ name: "headline", text: "Hello, Ada" }],
})<video id="video" muted playsinline controls></video>
<script type="module">
import Hls from "https://cdn.jsdelivr.net/npm/hls.js@1/+esm"
const url = "https://api.bannerify.co/v1/templates/signedurl?..."
const video = document.getElementById("video")
if (video.canPlayType("application/vnd.apple.mpegurl")) {
video.src = url
} else {
const hls = new Hls()
hls.loadSource(url)
hls.attachMedia(video)
}
</script>免寫程式
或者,完全不用寫程式。
不是開發者?也能為試算表的每一列或 Notion 資料庫的每一頁生成影片。
無程式碼自動化
每一列新資料、每筆表單回覆、每張訂單,都能自動生成圖片或 PDF,完全不用寫程式。
透過你的工作流程工具連接
Google Sheets
Airtable
Tally
Shopify
Webhooks
Slack
Google Drive
Dropbox
用 MCP 串接 AI Agent
只要在助理中加入一個網址,登入一次即可,不必複製 API 金鑰。
$ claude mcp add --transport http bannerify https://api.bannerify.co/mcp
> 用我的 Product Hunt 範本做一張上線橫幅
✓ list_templates · 12 個範本
✓ create_image · launch-banner.png
Claude Code
Claude Desktop
Cursor
VS Code
常見問題
找不到答案嗎?請寄信到 an@bannerify.co,創辦人會親自回覆。
什麼是影片連結?
影片連結是影片範本的簽署網址,查詢參數中帶有你的 modifications。它回傳 HLS 播放清單,所以播放器能在影片生成時幾秒內開始播放。每組 modifications 都是一支不同的影片。
如何取得 MP4 檔案?
從 REST API 呼叫 renderVideo,或在 SDK 呼叫 renderAndWaitVideo。生成結束時會取得 MP4 的網址。在影片連結加上 format=mp4,也能取得 15 秒以內影片的 MP4。
哪些方案包含影片?
renderVideo 適用於所有方案,包括 Free 方案。影片連結與影片連結的 MP4 屬於 Scale 與 Enterprise 方案。影片每一秒計為一次生成,60 fps 則每秒計為兩次。
只改一個圖層會怎樣?
只有顯示該圖層的部分會重新生成,其他部分會立即從儲存空間播放。以相同 modifications 開啟過的連結,不需生成就能播放。
重複觀看會計入生成嗎?
不會。影片連結只在以新的 modifications 組合開啟時計數。30 天內再次開啟同一個連結,會播放已儲存的影片,不計入新的生成。
我的 AI 助理能製作影片嗎?
可以。Bannerify 的 MCP 伺服器有 create_video 工具。請 Claude、Cursor 或 VS Code 用你的範本製作影片,就會回傳 MP4。
