The 'Capybara: Image to Video' workflow is designed to transform a static image into a dynamic video based on user-provided text instructions. This workflow leverages the Capybara model, which excels in maintaining the structure and temporal coherence of the original image while introducing the specified changes. Technically, the process begins with the 'LoadImage' node, which imports the initial image. The core transformation is handled by the Capybara model node (4f4ddf39-1508-4d34-a35c-ff10e6ce995b), which interprets the text instructions to edit the image progressively across frames, creating a seamless video output. Finally, the 'SaveVideo' node compiles these frames into a coherent video file.

This workflow is particularly useful for content creators and digital artists who wish to animate static images with specific thematic or stylistic changes. By preserving the original image's structure, the workflow ensures that the resulting video remains true to the source material, while the temporal coherence feature prevents jarring transitions between frames. The Capybara model's ability to handle various resolutions and aspect ratios, as detailed in the resolution configuration, adds versatility to this tool, making it suitable for different platforms and display requirements.

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.

video_capybara_v0_1_image_to_video.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 "Capybara: Image to 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("video_capybara_v0_1_image_to_video_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("126", "image", asset); // LoadImage

const job = await client.run(wf);
await job.getOutputs("114")[0].toFile("output.png"); // SaveVideo

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