{
  "1": {
    "class_type": "UnetLoaderGGUF",
    "inputs": {
      "unet_name": "Wan2.2-S2V-14B-Q3_K_M.gguf"
    }
  },
  "2": {
    "class_type": "LoraLoaderModelOnly",
    "inputs": {
      "model": [
        "1",
        0
      ],
      "lora_name": "wan2.2_i2v_A14b_low_noise_lora_rank64_lightx2v_4step_1022.safetensors",
      "strength_model": 1.0
    }
  },
  "3": {
    "class_type": "ModelSamplingSD3",
    "inputs": {
      "model": [
        "2",
        0
      ],
      "shift": 3.0
    }
  },
  "7": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
      "type": "wan"
    }
  },
  "8": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "Wan2.1_VAE.safetensors"
    }
  },
  "9": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "text": "A young woman at a kitchen table is talking to the camera, she speaks the words of the soundtrack out loud, her lips and jaw move in sync with every word she says, natural head movements, calm friendly expression.",
      "clip": [
        "7",
        0
      ]
    }
  },
  "10": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "text": "camera shake, jitter, warping, morphing, distorted geometry, overexposed, blurred details, low quality, extra limbs, cluttered background",
      "clip": [
        "7",
        0
      ]
    }
  },
  "11": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "pb_wf2_portret.png"
    }
  },
  "31": {
    "class_type": "AudioEncoderLoader",
    "inputs": {
      "audio_encoder_name": "wav2vec2_large_english_fp16.safetensors"
    }
  },
  "32": {
    "class_type": "LoadAudio",
    "inputs": {
      "audio": "pb_wf_golos.wav"
    }
  },
  "33": {
    "class_type": "AudioEncoderEncode",
    "inputs": {
      "audio_encoder": [
        "31",
        0
      ],
      "audio": [
        "32",
        0
      ]
    }
  },
  "34": {
    "class_type": "WanSoundImageToVideo",
    "inputs": {
      "positive": [
        "9",
        0
      ],
      "negative": [
        "10",
        0
      ],
      "vae": [
        "8",
        0
      ],
      "width": 480,
      "height": 832,
      "length": 81,
      "batch_size": 1,
      "audio_encoder_output": [
        "33",
        0
      ],
      "ref_image": [
        "11",
        0
      ]
    }
  },
  "13": {
    "class_type": "KSamplerAdvanced",
    "inputs": {
      "model": [
        "3",
        0
      ],
      "positive": [
        "34",
        0
      ],
      "negative": [
        "34",
        1
      ],
      "latent_image": [
        "34",
        2
      ],
      "add_noise": "enable",
      "noise_seed": 2026,
      "steps": 8,
      "cfg": 1.0,
      "sampler_name": "euler",
      "scheduler": "simple",
      "start_at_step": 0,
      "end_at_step": 10000,
      "return_with_leftover_noise": "disable"
    }
  },
  "15": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "13",
        0
      ],
      "vae": [
        "8",
        0
      ]
    }
  },
  "20": {
    "class_type": "UpscaleModelLoader",
    "inputs": {
      "model_name": "4x-UltraSharp.pth"
    }
  },
  "21": {
    "class_type": "ImageUpscaleWithModel",
    "inputs": {
      "upscale_model": [
        "20",
        0
      ],
      "image": [
        "15",
        0
      ]
    }
  },
  "22": {
    "class_type": "ImageScale",
    "inputs": {
      "image": [
        "21",
        0
      ],
      "upscale_method": "lanczos",
      "width": 1080,
      "height": 1920,
      "crop": "center"
    }
  },
  "23": {
    "class_type": "FrameInterpolationModelLoader",
    "inputs": {
      "model_name": "rife_v4.26_heavy.safetensors"
    }
  },
  "24": {
    "class_type": "FrameInterpolate",
    "inputs": {
      "interp_model": [
        "23",
        0
      ],
      "images": [
        "22",
        0
      ],
      "multiplier": 3
    }
  },
  "16": {
    "class_type": "SaveWEBM",
    "inputs": {
      "images": [
        "24",
        0
      ],
      "filename_prefix": "pb_wf2_s2v",
      "codec": "vp9",
      "fps": 48.0,
      "crf": 18.0
    }
  }
}