← Workflows

Wan 2.2 Text-to-Video

Text → Video

Text-to-video with Wan 2.2 — generate a short clip directly from a prompt, no source image.

wan22_t2v12 GB VRAM38 GB of weights

Calling it

FlixML has no generate button: you tell your agent what you want and it calls the API on your install. The id is what names this workflow.

POST /api/video/generate
{
  "workflow": "wan22_t2v",
  "prompt": "..."
}

Parameters

promptstrrequired

Text prompt: subject, setting, and action. Describe big physical action with strong verbs (walks, jumps, turns). Words like subtle, slowly, or gently produce a near-still clip.

negative_promptstrdefault bright colors, overexposed, static, blurred details
widthintdefault 640
heightintdefault 640
lengthintdefault 81

Frame count

fpsintdefault 16
seedint
steps_highintdefault 2
steps_lowintdefault 2
total_stepsintdefault 4

steps_high + steps_low; passed to KSamplerAdvanced.steps

cfg_highfloatdefault 1
cfg_lowfloatdefault 1
shiftfloatdefault 5
samplerstrdefault euler
schedulerstrdefault simple
high_modelstrdefault wan2.2_t2v_high_noise_14B_fp8_scaled.safetensors

High-noise UNet model

low_modelstrdefault wan2.2_t2v_low_noise_14B_fp8_scaled.safetensors

Low-noise UNet model

vaestrdefault Wan2.1_VAE.safetensors
clipstrdefault umt5_xxl_fp8_e4m3fn_scaled.safetensors
lightx2v_high_lorastrdefault wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors
lightx2v_low_lorastrdefault wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors
lightx2v_high_strengthfloatdefault 1
lightx2v_low_strengthfloatdefault 1

Your install is the source of truth: GET /api/workflows returns these parameters as they are on your machine.

What it costs to run

UNTESTED: not yet run end-to-end with the default fp8_scaled UNets and T2V lightx2v LoRAs. The fp8 .safetensors defaults load through ComfyUI's Dynamic VRAM path, which streams weights from disk instead of holding them in RAM. GGUF files skip that path in ComfyUI-GGUF (PR #427 unmerged) and keep both experts in system RAM, so a GGUF swap needs its own RAM check.