The 'Wan ATI Motion Control' workflow in ComfyUI is a sophisticated tool designed for creating dynamic video effects by animating paths over an input image. This workflow leverages the Animate Path node, which allows users to draw intricate paths that the motion will follow, creating a viral video effect that is both engaging and visually appealing. The workflow integrates several custom nodes such as comfyui-kjnodes, comfyui-videohelpersuite, and comfyui_fill-nodes, which enhance its functionality and flexibility.
Technically, this workflow uses the VHS_VideoCombine and FL_PathAnimator nodes to combine video frames and animate the specified paths, respectively. The LoadImage node is used to upload the initial image that will serve as the foundation for the animation. The workflow is particularly useful for content creators looking to add professional-grade motion effects to their videos without extensive manual editing. By utilizing the Wan ATI model, this workflow ensures high-quality output, making it a valuable tool for both amateur and professional video editors.
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 "Wan ATI Motion Control" (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_rob_wan_ati_motion_control_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("460", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("485")[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














