The 'Wan ATI Trajectory Control' workflow is designed to offer precise manual control over animation trajectories, making it an invaluable tool for creators looking to refine complex animations. At its core, the workflow utilizes a combination of nodes such as VHS_VideoCombine, FL_KsamplerPlus, and FL_PathAnimator, which work together to allow users to edit and control animation paths with precision. The Path Editor Node is particularly noteworthy, as it enables users to manually adjust trajectories, offering a level of customization that is often required in professional animation production.
This workflow is especially useful because it bridges the gap between static image manipulation and dynamic video creation. By using nodes like VHS_DuplicateImages and LoadImage, users can start with a single image or a series of images and transform them into a fluid animation. The PrimitiveInt node is employed to handle integer values that might be needed for various parameters, ensuring that the workflow remains flexible and adaptable to different project requirements. This makes the workflow not only technically robust but also highly practical for a range of animation 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 this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The 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














