Animate Diff High Res Loops

Animate Diff High Res Loops turns a single still image into a seamless, high‑resolution looping animation. The workflow anchors visual identity with IP-Adapter (via comfyui_ipadapter_plus) and drives motion using AnimateDiff Evolved (comfyui-animatediff-evolved). Frames are assembled with the Video Helper Suite’s VHS_VideoCombine node, so you get a ready-to-share MP4 or WEBM directly from ComfyUI. You only need to upload one image—the graph handles consistent styling, motion synthesis, and video export.

Technically, the pipeline starts with LoadImage, which feeds an IP-Adapter encoder to extract style and composition features from your reference. AnimateDiff Evolved applies a motion module on top of your diffusion backbone to generate a fixed number of frames with temporally coherent movement. The graph is configured for loop-friendly generation by aligning temporal context so the first and last frames match closely. A high‑res stage leverages comfyui_fill-nodes to upscale/clean details before assembly, maintaining crisp lines and textures over time. Finally, VHS_VideoCombine stitches the frames into a video with your chosen FPS and quality settings.

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.

5edd51bc1a25.json
Fetching workflow JSON…

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

Frequently Asked Questions