
The 'Wan 2.1 Fun Camera 14B' workflow in ComfyUI is designed to generate high-quality videos with advanced camera controls using the powerful Wan2.1 model. This workflow leverages a series of sophisticated nodes, including KSampler, CLIPTextEncode, and VAEDecode, to create visually compelling video outputs. The process begins with loading necessary models through nodes like UNETLoader and VAELoader, which prepare the system for video generation. The workflow then uses the WanCameraImageToVideo and WanCameraEmbedding nodes to apply dynamic camera movements and settings, allowing for creative control over the video narrative. Finally, the CreateVideo and SaveVideo nodes compile and store the generated video, ensuring a seamless production process.
Technically, this workflow is valuable because it integrates the Wan2.1 model with advanced diffusion techniques to produce videos that are not only high in quality but also rich in detail and motion. The use of CLIPVisionLoader and CLIPVisionEncode nodes ensures that the visual elements are aligned with the desired style and narrative, guided by the prompts provided. This makes the workflow particularly useful for creators looking to produce cinematic video content with precise control over visual aesthetics and camera dynamics.
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 "Wan 2.1 Fun Camera 14B" (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_wan2.1_fun_camera_v1.1_14B_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("52", "image", asset); // LoadImage
wf.setInput("6", "text", "your prompt here"); // CLIPTextEncode
const job = await client.run(wf);
await job.getOutputs("59")[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













