在 AI 影片生成技術邁入成熟期的 2026 年,創作者對於影片動態邏輯的精確控制已不再滿足於單向的線性生成。在製作網頁背景影片、社群短影音或是動態展示時,「首尾相連、無縫循環」的效果一直具有極高的視覺吸引力與實用價值。開源界全模態旗艦模型 MiniMax H3 原生支援了強大的 FL2VA(First/Last Frame to Video & Audio)模式,能讓創作者同時指定影片的「起始第一幀」與「結束最後幀」,並由擴散模型在中間自動補齊合理的時空過渡軌跡與同步音效。
本文將深入介紹如何將我們先前搭建的 ComfyUI 雙重加速工作流(整合 Spectrum 頻域快取、SageAttention 機制與 Preview Override 即時預覽)升級改造為專屬的「FL2VA 無限循環影音工作流」。本次測試以震撼的「工程建造縮時攝影」為主題,輸入由 Nano Banana 2 生成的「已完工照片」作為起始與結尾的共通關鍵幀。透過精確的 Prompt 描述「時間倒流拆解至原始狀態,再超高速動工重建」,模型成功生成出一段畫面與立體聲音效皆能無縫首尾循環的 10 秒壯麗縮時影片!
📚 什麼是 FL2VA?核心機制與生成模式對照
FL2VA 是多模態影音生成架構中的一種生成任務模式,全稱為 First/Last Frame to Video & Audio(首幀/尾幀生音視訊)。
核心定義與運作機制
- 輸入內容:包含描述動態與氛圍的「文字提示詞(Text Prompt)」,以及指定的「引導影像(Keyframes)」,可靈活配置首幀、尾幀或首尾雙幀。
- 輸出內容:模型並非先生成畫面再外掛配樂,而是端到端(End-to-End)同時解碼生成動態畫面與對應的環境立體聲音訊(Video & Audio)。

▲ 此圖展示了在 ComfyUI 中升級後的 FL2VA 無限循環工作流完整截圖。本次採用 544 x 960 px(9:16、0.5 MP、Multiple = 32)規格生成 10 秒 24 fps 影片。透過將同一張 Nano Banana 2 生成的水庫完工圖同時接入 first_frame 與 last_frame,配合 Spectrum 與 SageAttention 雙加速,實現高效且完美的循環補間渲染。
📝 無限循環提示詞架構與設計解析
為了實現水庫從「完工 ➔ 倒流拆解 ➔ 重建蓄水 ➔ 完工」的循環過程,提示詞首行嚴格遵循 MiniMax 官方指南的 FL2VA 對齊宣告,並將畫面、環境縮時音效與管弦配樂進行清晰分區:
How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 10.00-second mark of the target video.
integrated_multimodal_description: [Shot 1] Live-action, cinematic, a wide aerial high-angle view frames the massive curved concrete arch dam, mountain gorge, reservoir, and downstream town established in Picture 1. The camera holds a static shot as the entire scene quickly rewinds in a time-lapse: the water recedes from the reservoir bed back into a natural flowing river winding through the dry valley, and the concrete dam superstructure dissolves down to foundation rock. Immediately, forward construction begins at hyper-speed: earthmovers excavate bedrock along the natural riverbed, yellow tower cranes and steel scaffolding rise, and fresh concrete pours layer by layer. As the concrete arch reaches its peak height, the upstream river basin fills with deep blue-green water creating the vast reservoir lake, while water discharges in turbulent white foam through the spillway into the downstream river gorge, before stabilizing into the fully completed, operating dam and scenery matching Picture 2 at the end of the shot.
overall_soundscape: Rapid time-lapse soundscape of mountain winds rushing, mechanical crane gears, heavy engine hums, concrete pouring rumbles, and the thunderous roar of rushing water bursting through dam spillways.
non_diegetic_music: An inspiring orchestral track driven by rhythmic staccato strings, building brass harmonies, and steady cinematic percussion, concluding on a bright, sustained chord.
🎬 實測成果:建造水庫示範生成動畫(工程建造縮時攝影)
▲ 影片以倒帶方式將龐大的弧形水壩拆解回乾涸峽谷河道,隨後吊車與怪手快速進駐重新灌漿築壩,最終水庫蓄水並開閘洩洪,流暢回歸初始首幀畫面,達成完美的無限循環播放效果!
💡 實測結論與工作流取得
MiniMax H3 的 FL2VA 模式在首尾幀過渡的幾何穩定性與時間軸對齊上展現了極高的成熟度。只要巧妙地將相同的影像指定為首幀與尾幀,並在提示詞中規劃好「起點 ➔ 變化發展 ➔ 回歸終點」的動態路徑,就能輕鬆製作出視覺上無斷點的無限循環短片。
👉 工作流下載:點擊此處前往下載(贊助方案)
希望能為大家的 AI 影音創作與縮時動畫製作帶來更多靈感!😁
《上一篇》【2026 年小房間整修工程】第十九集:馬桶滴水、牆面潮濕
《下一篇》Meta AI:生成指定角色在各種姿勢和動態鏡頭角度下的多樣變化圖像 









留言區 / Comments
萌芽論壇