This ComfyUI workflow turns a single still image into a short video guided by a text prompt. It uses LoadImage to bring in your source frame, passes it to a dedicated Image-to-Video generator node (ID: 770dde0e-f342-49aa-ad1e-184724671c5d), and then encodes the resulting frame sequence with SaveVideo. The generator node conditions on both the input image (as a visual anchor) and your prompt (to suggest motion, style, or scene changes), producing a coherent set of frames that evolve over time.

Technically, the generator node synthesizes a batch of images (frames) from the static input by sampling with a controllable seed and typical parameters such as number of frames, motion/denoise strength, guidance, and resolution. SaveVideo then assembles those frames into a playable clip at your chosen FPS and output format (e.g., MP4 or WebM). You control duration via frame count and playback feel via FPS, while the seed lets you repeat or iterate on results consistently. This makes the workflow useful for quick motion studies, cinemagraph-like clips, and social-ready animations without needing full video capture.

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.

3515c5083027.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

View all workflows
Showing 30 of 30 templates