ComfyUI Node
Prepare Repair Batch
A ComfyUI node in SplatKit with 8 inputs and 6 outputs.
Prepare Repair Batch
- damaged
- reference
- frame_name
- job
- remaining
- report
◄dataset_dir►
◄selection_methodrank_by_damage►
◄max_frames200►
◄every_nth8►
◄skip_featurelesstrue►
◄featureless_threshold8.0►
◄use_pose_matched_referencetrue►
◄auto_continuetrue►
CategorySplatKit
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| dataset_dir | STRING | The dataset to repair -- wire Dataset Project -> dataset_dir, or type the folder path / bare name under ComfyUI/output. Needs images/ and sparse/0/. | |
| selection_methodopt | COMBO | rank_by_damage | How to choose which faces to repair. rank_by_damage is the recommended default: it repairs only genuinely stretched faces and skips sky/floor automatically. |
| max_framesopt | INT | 2000–100000 | How many faces to repair (rank_by_damage / furthest). 0 = every eligible face. Ignored by every_nth. |
| every_nthopt | INT | 81–10000 | every_nth method only: keep every Nth eligible face. |
| skip_featurelessopt | BOOLEAN | true | Skip sky / blank-floor faces so a repair is never spent on them. Judged from each face's pristine REFERENCE (a flat reference = a sky direction), so a badly smeared wall is kept while true sky is dropped. Applies to every method. |
| featureless_thresholdopt | FLOAT | 8.00–1000 | Laplacian-variance below which the REFERENCE counts as featureless (measured at <=1024px). Raise it to skip more flat directions. |
| use_pose_matched_referenceopt | BOOLEAN | true | ON (recommended): image 2 is the pristine frame-0 face whose optical axis best matches this one -- the correct reference. OFF: reuse the damaged frame as its own reference (no COLMAP axis match); lower quality, use only if poses are unavailable. |
| auto_continueopt | BOOLEAN | true | Auto-queue the next frame after each one finishes, until all selected frames are repaired -- so one Queue press does the whole set (no batch-count needed). Needs the web UI open. Turn OFF to advance one frame per Queue press instead. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| damaged | IMAGE | — |
| reference | IMAGE | — |
| frame_name | STRING | — |
| job | STRING | — |
| remaining | INT | — |
| report | STRING | — |