字幕樣式
使用 AI 剪輯 或 時刻搜尋 API 並開啟字幕功能時,可透過 cc_style_tpl 參數指定字幕樣式範本。以下列出所有可用樣式,包含較新的焦點效果樣式,如 smart-bg-focus、box-highlight、word-focus、underline-focus。
使用方式
提交任務時,將樣式 ID 作為 cc_style_tpl 的值傳入:
curl -X POST https://wayinvideo-api.wayin.ai/api/v2/clips \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-wayinvideo-api-version: v2" \
-d '{
"video_url": "https://www.youtube.com/watch?v=example",
"enable_caption": true,
"cc_style_tpl": "STYLE_ID"
}'
可用樣式
| Style ID | Preview |
|---|---|
smart-bg-focus | ![]() |
box-highlight | ![]() |
word-focus | ![]() |
underline-focus | ![]() |
temp-0 | ![]() |
temp-1 | ![]() |
temp-2 | ![]() |
temp-3 | ![]() |
temp-4 | ![]() |
temp-5 | ![]() |
temp-6 | ![]() |
temp-7 | ![]() |
temp-8 | ![]() |
temp-9 | ![]() |
temp-10 | ![]() |
temp-11 | ![]() |
temp-12 | ![]() |
temp-13 | ![]() |
temp-14 | ![]() |
temp-15 | ![]() |
temp-16 | ![]() |
temp-17 | ![]() |
temp-static-1 | ![]() |
temp-static-2 | ![]() |
temp-static-3 | ![]() |
temp-static-4 | ![]() |
temp-static-5 | ![]() |
temp-static-6 | ![]() |
game-streamer-1 | ![]() |
game-streamer-2 | ![]() |
game-streamer-3 | ![]() |
game-streamer-4 | ![]() |
game-streamer-5 | ![]() |
game-streamer-6 | ![]() |
game-streamer-7 | ![]() |
注意: 上方的預覽圖為近似效果,實際結果可能因影片內容與解析度略有差異。若未指定
cc_style_tpl,將套用預設字幕樣式。


































