
The 'Wan 2.2 14B Text to Video' workflow in ComfyUI is a sophisticated tool designed to convert text prompts into high-quality videos with a cinematic aesthetic. This workflow leverages the Wan2.2 model, known for its dynamic motion generation and control over video aesthetics, to produce visually engaging content from textual descriptions. The workflow incorporates several key nodes, including the CLIPLoader and CLIPTextEncode for text processing, VAELoader for latent space manipulation, and the UNETLoader for image synthesis.
Technically, the workflow is structured into several groups that handle different stages of video generation. The 'Step1 - Load models' group initializes the necessary models, while 'Step2 - Video size' configures the output dimensions. The 'Wan2.2 T2V fp8_scaled' group is crucial for the text-to-video conversion process, utilizing advanced sampling techniques with the KSamplerAdvanced node. This structured approach ensures that users can generate videos with precise control over quality and style, making it an invaluable tool for creators looking to produce cinematic video content from simple text prompts.
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.2 14B Text 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_wan2_2_14B_t2v_api.json");
const job = await client.run(wf);
await job.getOutputs("80")[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













