
「WAN2.6:リファレンスからビデオ生成」ワークフローは、キャラクターのアイデンティティを維持しつつ自然な動きとシネマティックな品質を持つ高品質な動画を生成するために設計されています。このワークフローは、動画生成に特化したWan2.6およびWanモデルの能力を活用し、シーケンス全体でキャラクターの特徴を保ちます。'WanReferenceVideoApi'ノードを使うことで、キャラクターリファレンスから一貫した特徴と動きを持つ動画を生成できます。
技術的には、まず'LoadVideo'ノードでリファレンス動画を読み込み、キャラクターの外観と動きを参照します。'WanReferenceVideoApi'ノードがこのリファレンスを処理し、生成動画でアイデンティティを維持。最後に'SaveVideo'ノードで完成動画を書き出し、シネマティック品質と自然な動きを保ちます。特定キャラクターの一貫性が求められる高品質な動画制作に最適です。
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.
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 "WAN2.6: 参照から動画" (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("api_wan_r2v_api.json");
const job = await client.run(wf);
await job.getOutputs("37")[0].toFile("output.png"); // SaveVideoThe 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.
FAQ














