ComfyUI 的多關鍵畫格影片串接流程,能將一系列靜態圖像轉換為流暢的影片序列。流程以 6 張關鍵畫格為基礎,自動產生過渡畫格,組成無縫影片。核心為 Wan2.2 模型,能精準預測並補足畫格間的動作,確保轉場自然。流程起始於 LoadImage 與 ImageBatch 節點,準備好關鍵畫格後,11ac0cb0-38fb-41d4-9a55-7c44422b2516 與 1c5f4533-5d1e-4449-97ca-9027b9ea9c11 等節點負責畫格插補,預測並填補動作路徑。最後,CreateVideo 與 SaveVideo 節點將所有畫格組成影片檔。

這個流程特別適合創作者將分鏡、概念圖等靜態圖像自動化生成動畫或影片內容,省去繁瑣手動編輯,並確保動作一致。結合進階節點與 Wan2.2 模型,能產出高品質影片,既保留原圖細節又呈現自然動態。

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

templates-6-key-frames.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "多關鍵幀影片銜接" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("templates-6-key-frames_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("62", "image", asset); // LoadImage

const job = await client.run(wf);
await job.getOutputs("146")[0].toFile("output.png"); // SaveVideo

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

常見問題

常見問題

查看所有工作流
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates