
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.
GET https://comfy.org/workflows/download/5f8b74d92e62.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "Wan 2.2 14B Text to Video" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("video_wan2_2_14B_t2v_api.json")
job = client.run(wf)
for output in job.get_outputs("80"): # SaveVideo
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














