
The Wan2.1 SCAIL workflow in ComfyUI is designed to seamlessly transfer motion and pose information from a video source onto a reference image, while maintaining the original composition of the image. This is achieved using the Wan2.1 SCAIL model, which excels in adapting pose data to fit the proportions and framing of the reference image. The workflow utilizes several custom nodes, including ComfyUI-WanAnimatePreprocess and ComfyUI-WanVideoWrapper, to preprocess and wrap video data efficiently. These nodes work in conjunction with the comfyui-scail-pose node, which is responsible for the precise scaling and alignment of pose data. By leveraging these tools, users can create dynamic animations that preserve the aesthetic qualities of the original reference image.
This workflow is particularly useful for applications that require high fidelity in pose transfer, such as creating animated sequences from static images or enhancing video content with consistent stylistic elements. The integration of nodes like LoadImage, SaveVideo, and LoadVideo ensures a smooth workflow from input to output, allowing users to easily import their media, apply the SCAIL technique, and export the final animated video. This makes the workflow not only technically robust but also user-friendly, providing a one-touch solution for complex pose control tasks.
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.1 SCAIL" (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("video-wan21_scail_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("390", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("399")[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













