
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.
GET https://comfy.org/workflows/download/a8f813117159.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "Wan2.1 SCAIL" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("video-wan21_scail_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("390", "image", asset) # LoadImage
job = client.run(wf)
for output in job.get_outputs("399"): # SaveVideo
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














