{
  "1": {
    "class_type": "WanVideoModelLoader",
    "inputs": {
      "model": "TI2V/Wan2_2-TI2V-5B_fp8_e4m3fn_scaled_KJ.safetensors",
      "base_precision": "bf16",
      "quantization": "fp8_e4m3fn_scaled",
      "load_device": "main_device",
      "attention_mode": "sdpa"
    }
  },
  "2": {
    "class_type": "LoadWanVideoT5TextEncoder",
    "inputs": {
      "model_name": "umt5-xxl-enc-fp8_e4m3fn.safetensors",
      "precision": "bf16",
      "load_device": "main_device",
      "quantization": "disabled"
    }
  },
  "3": {
    "class_type": "WanVideoTextEncode",
    "inputs": {
      "positive_prompt": "Vertical realistic cinematic documentary video. A cheap used red compact car in a dim independent garage at night, close-up from the front corner of the car. The camera slowly pushes in toward the headlight and hood. Subtle red warning light reflection, realistic car paint, dramatic shadows, shallow depth of field, high contrast, clean dark background, serious investigation mood. No readable text, no subtitles, no logo, no watermark, negative space for captions.",
      "negative_prompt": "readable text, subtitles, logos, watermark, fake UI, distorted car, deformed vehicle, extra wheels, cartoon, anime, static image, abstract colors, flickering lights only, blurry, low detail, melting shapes",
      "t5": ["2", 0],
      "force_offload": false,
      "model_to_offload": ["1", 0],
      "use_disk_cache": true,
      "device": "gpu"
    }
  },
  "4": {
    "class_type": "WanVideoEmptyEmbeds",
    "inputs": {
      "width": 416,
      "height": 736,
      "num_frames": 25
    }
  },
  "5": {
    "class_type": "WanVideoSampler",
    "inputs": {
      "model": ["1", 0],
      "image_embeds": ["4", 0],
      "text_embeds": ["3", 0],
      "steps": 8,
      "cfg": 3.5,
      "shift": 5.0,
      "seed": 22052301,
      "force_offload": false,
      "scheduler": "unipc",
      "riflex_freq_index": 0
    }
  },
  "6": {
    "class_type": "WanVideoVAELoader",
    "inputs": {
      "model_name": "Wan2_2_VAE_bf16.safetensors",
      "precision": "bf16"
    }
  },
  "7": {
    "class_type": "WanVideoDecode",
    "inputs": {
      "vae": ["6", 0],
      "samples": ["5", 0],
      "enable_vae_tiling": false,
      "tile_x": 256,
      "tile_y": 256,
      "tile_stride_x": 128,
      "tile_stride_y": 128,
      "normalization": "default"
    }
  },
  "8": {
    "class_type": "CreateVideo",
    "inputs": {
      "images": ["7", 0],
      "fps": 12.0
    }
  },
  "9": {
    "class_type": "SaveVideo",
    "inputs": {
      "video": ["8", 0],
      "filename_prefix": "autoshorts_wan22_scene01_416x736_t5legacy",
      "format": "mp4",
      "codec": "h264"
    }
  }
}
