ComfyUI Node
Restore Crop Box V4 (Fast)
RestoreCropBox V4 - PyTorch 批处理优化版 性能优化: - 完全 PyTorch 实现,避免 Tensor ↔ PIL 转换 - 批量处理所有帧,10-100x 性能提升 - GPU 加速友好 - 直接输出 IMAGE batch,无需 ImageListToImageBatch 推荐配置: - device: GPU(批量处理时性能提升明显) - feathering: 30-60(中等分辨率) 注意: - 输入的 background_image 和 croped_image 必须批次大小相同 - 输出直接可用于 VideoCombine
Restore Crop Box V4 (Fast)
- background_image
- croped_image
- crop_box
- croped_mask
- image
- mask
◄feathering0►
◄deviceGPU►
CategorySwwan/Image
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| background_image | IMAGE | — | |
| croped_image | IMAGE | — | |
| crop_box | BOX | — | |
| feathering | INT | 00–256 | — |
| device | COMBO | GPU | 2 options: CPU, GPU |
| croped_maskopt | MASK | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |