This ComfyUI tutorial shows how to turn a single still image into a high‑fidelity video clip (up to ~30 seconds) using Wan 3.0. The workflow is compact and predictable: LoadImage reads your source frame, Wan3ImageToVideoApi sends it to the Wan 3.0 image‑to‑video endpoint for temporal generation, and SaveVideo writes the returned clip to disk. A MarkdownNote in the graph provides quick tips and points to a ready‑to‑use example input.

Technically, Wan3ImageToVideoApi conditions the model with your image and passes generation parameters such as duration and resolution to the API. The node then waits for the job to complete and returns the video for saving. This template focuses on the image input path (text/audio/document modalities supported by Wan 3.0 are not wired here), making it a straightforward way to animate concept art, product shots, or documentary stills while preserving subject identity and adding believable motion.

For best results, start with a clean, high‑resolution image that roughly matches your target aspect ratio. Keep the main subject well framed, avoid heavy compression artifacts, and choose a sensible duration—shorter clips render faster and typically produce more stable motion.

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.

473606b441c6.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.

查看所有工作流
Showing 30 of 30 templates