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.
GET https://comfy.org/workflows/download/585c7006af9f.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 "Wan ATI Motion Control" (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("templates_rob_wan_ati_motion_control_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("460", "image", asset) # LoadImage
job = client.run(wf)
for output in job.get_outputs("485"): # 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














