
This ComfyUI workflow, titled 'Inflation Lora Character Expansion Effect Video,' is designed to transform a static character image into an animated video with a unique inflation effect. By leveraging advanced AI models and custom nodes, this workflow allows users to input a character image and a descriptive prompt, which then guides the animation process. The workflow utilizes the 'wan2.2 Animate' model, known for its capability to produce dynamic and visually appealing animations. Key nodes such as 'ComfyUI-WanAnimatePreprocess' and 'ComfyUI-WanVideoWrapper' are employed to preprocess the input image and wrap it into a video format, respectively.
Technically, the workflow begins with the 'VHS_LoadVideo' node to handle video input, followed by 'GetImageRangeFromBatch' and 'ImageResizeKJv2' to prepare the image for processing. Pose and face detection are achieved using 'PoseAndFaceDetection' and 'OnnxDetectionModelLoader', ensuring that the character's features are accurately identified and animated. The 'WanVideoModelLoader' and 'WanVideoLoraSelectMulti' nodes are crucial for loading the animation models and selecting the appropriate Lora settings for the inflation effect. The workflow culminates in the 'WanVideoAnimateEmbeds' and 'WanVideoVAELoader' nodes, which generate the final animated video. This workflow is particularly useful for creating engaging content for social media, video games, or digital storytelling.
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 "Inflation Lora Character Expansion Effect Video" (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_ingi_infl8_api.json");
const job = await client.run(wf);
await job.getOutputs("43")[0].toFile("output.png"); // VHS_VideoCombineThe 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














