Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

4.0 KB
Raw Blame
{
  "1": {
    "class_type": "VHS_LoadVideoFFmpeg",
    "inputs": {
      "video": "input.mp4",
      "force_rate": 0,
      "custom_width": 0,
      "custom_height": 0,
      "frame_load_cap": 0,
      "start_time": 0,
      "format": "None",
      "meta_batch": [
        "2",
        0
      ]
    },
    "_meta": {
      "title": "Clip, decoded framesPerBatch frames per pass"
    }
  },
  "2": {
    "class_type": "VHS_BatchManager",
    "inputs": {
      "frames_per_batch": 33
    },
    "_meta": {
      "title": "Meta batch: re-queue every framesPerBatch frames (4n+1: SeedVR2 pads a pass to 4n+1 frames)"
    }
  },
  "3": {
    "class_type": "ResizeImageMaskNode",
    "inputs": {
      "input": [
        "1",
        0
      ],
      "resize_type": "scale shorter dimension",
      "resize_type.shorter_size": 1080,
      "scale_method": "lanczos"
    },
    "_meta": {
      "title": "To the target size first: the shorter edge becomes shortSide px"
    }
  },
  "4": {
    "class_type": "SeedVR2Preprocess",
    "inputs": {
      "resized_images": [
        "3",
        0
      ]
    },
    "_meta": {
      "title": "Pad to 4n+1 frames and multiples of 16"
    }
  },
  "5": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "seedvr2_ema_vae_fp16.safetensors"
    },
    "_meta": {
      "title": "SeedVR2 VAE"
    }
  },
  "6": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "seedvr2_3b_int8_convrot.safetensors",
      "weight_dtype": "default"
    },
    "_meta": {
      "title": "SeedVR2 3B int8"
    }
  },
  "7": {
    "class_type": "VAEEncodeTiled",
    "inputs": {
      "pixels": [
        "4",
        0
      ],
      "vae": [
        "5",
        0
      ],
      "tile_size": 512,
      "overlap": 128,
      "temporal_size": 64,
      "temporal_overlap": 8
    },
    "_meta": {
      "title": "Encode this pass"
    }
  },
  "8": {
    "class_type": "SeedVR2Conditioning",
    "inputs": {
      "model": [
        "6",
        0
      ],
      "vae_conditioning": [
        "7",
        0
      ]
    },
    "_meta": {
      "title": "Condition on the pass"
    }
  },
  "9": {
    "class_type": "KSampler",
    "inputs": {
      "model": [
        "6",
        0
      ],
      "positive": [
        "8",
        0
      ],
      "negative": [
        "8",
        1
      ],
      "latent_image": [
        "7",
        0
      ],
      "seed": 959948902156062,
      "steps": 1,
      "cfg": 1,
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 1
    },
    "_meta": {
      "title": "One-step restoration"
    }
  },
  "10": {
    "class_type": "VAEDecodeTiled",
    "inputs": {
      "samples": [
        "9",
        0
      ],
      "vae": [
        "5",
        0
      ],
      "tile_size": 512,
      "overlap": 128,
      "temporal_size": 64,
      "temporal_overlap": 8
    },
    "_meta": {
      "title": "Decode"
    }
  },
  "11": {
    "class_type": "SeedVR2PostProcessing",
    "inputs": {
      "images": [
        "10",
        0
      ],
      "original_resized_images": [
        "3",
        0
      ],
      "color_correction_method": "none"
    },
    "_meta": {
      "title": "Crop the padding back off"
    }
  },
  "12": {
    "class_type": "VHS_VideoInfo",
    "inputs": {
      "video_info": [
        "1",
        3
      ]
    },
    "_meta": {
      "title": "Source frame rate"
    }
  },
  "13": {
    "class_type": "VHS_VideoCombine",
    "inputs": {
      "images": [
        "11",
        0
      ],
      "audio": [
        "1",
        2
      ],
      "frame_rate": [
        "12",
        5
      ],
      "loop_count": 0,
      "filename_prefix": "fuobe/upscale-video-seedvr2-chunked",
      "format": "video/h264-mp4",
      "pix_fmt": "yuv420p",
      "crf": 17,
      "save_metadata": true,
      "trim_to_audio": false,
      "pingpong": false,
      "save_output": true,
      "meta_batch": [
        "2",
        0
      ]
    },
    "_meta": {
      "title": "Encode as the passes come (the last pass writes the file, with the source's sound)"
    }
  }
}