
This ComfyUI workflow turns a single still image into a short, dynamic video using Runway’s Gen4 Turbo image-to-video model. It wires together four nodes: LoadImage to bring your source image into the graph, RunwayImageToVideoNodeGen4 to call the hosted Gen4 Turbo API and synthesize motion over time, SaveVideo to encode the result to a standard video file, and a MarkdownNote with links and setup guidance. Because the heavy lifting runs through the Runway partner node, the workflow stays lightweight and fast on your local machine.
Technically, the LoadImage node supplies the pixel data to RunwayImageToVideoNodeGen4, which sends the image (and your chosen settings like duration and frame rate) to the Runway API. The API returns a generated video stream compatible with ComfyUI’s SaveVideo node, which encodes the final clip (e.g., MP4) at your selected FPS. The partner node uses HTTPS and requires a secure network setup as noted in the Author Notes (see "About API Node"): run from localhost/127.0.0.1 and ensure outbound HTTPS is allowed. The result is a clean, reproducible image-to-video pipeline that’s easy to iterate: swap the input image, adjust motion/duration parameters, and re-run to explore different looks.
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 "Runway: Gen4 Turbo 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("api_runway_gen4_turo_image_to_video_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("4", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("6")[0].toFile("output.png"); // SaveVideoThe 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













