風格在這裡改;每支片子的圖片、配音、字幕文字、時間軸由 Coze 送。
| 項目 | 填什麼 |
|---|---|
| 方法 | POST |
| URL | https://jianying-template-ui.pages.dev/v1/projects |
| 請求頭 | Content-Type: application/json |
| 請求體 | JSON。字串變數加引號 "{{title}}",陣列不要加引號 {{images}} |
| 逾時 | 300 秒 |
| 重試 | 先設 0 或 1 |
HTTP 節點輸出永遠是 body / 狀態碼 / 標頭。結束節點只取 body 裡的 ok、message,不要把整包上游資料再輸出。
{
"title": "{{title}}",
"images": {{images}},
"voices": "{{full_voice_url}}",
"subtitles": {{subtitle_lines}},
"background": "{{background_url}}",
"bgm": "{{bgm_url}}",
"cover": "{{cover_url}}"
}
字幕請送多行文字陣列,不必帶 start/end。本機會用 MFA 對完整旁白算出時間。旁白請給一支完整音檔。
| 固定名 | 意思 | 也接受 |
|---|---|---|
title | 草稿名稱 | name, draft_name, project_name |
images | 批量圖片 url + start/end | image, imgs, image_urls, shot_images |
voices | 批量旁白 url + start/end | voice, audio, mp3_urls, shot_voices |
subtitles | 批量字幕 text + start/end | captions, texts, shot_subtitles |
background | 背景底圖 | bg, background_url |
bgm | 背景音樂 | music, bgm_url |
cover | 開頭封面(風格檔決定時長,預設 0.5 秒) | thumbnail, cover_url |
單筆建議:{"url":"https://...","start":0,"end":3.2} 或字幕 {"text":"第一句","start":0,"end":2}。
時間可用秒、毫秒、微秒或 00:00:01.5。陣列、字串化 JSON、逗號分隔網址都收。
桌面:啟動剪映草稿接收器.bat / 停止剪映草稿接收器.bat
專案:C:\Users\Jimmy\jianying-assistant
草稿資料夾:%LOCALAPPDATA%\JianyingPro\User Data\Projects\com.lveditor.draft
只新增草稿,不會刪你舊專案。