
Restores a degraded Image with the two-stage DiffBIR model — a SwinIR restorer feeds an IRControlNet-guided diffusion prior — and emits a super-resolved Image at outscale. Tiling bounds VRAM; min-size gates skip small frames.
Restore and enlarge a heavily degraded photo from disk.
Low-resolution restoration before OCR.
device, and CPU inference is impractically slow.outscale is the final factor relative to the input — the input is pre-enlarged by it before restoration and the result is resampled to exactly that factor. steps, cfg_scale, sampler, and seed trade quality, prompt adherence, trajectory, and reproducibility.max_input_side caps the longest input side before inference and the stage-1, VAE and control-branch tiling options bound VRAM at a small quality cost. precision selects the compute precision on CUDA.pos_prompt and neg_prompt steer the diffusion prior, with an empty positive prompt running unconditioned. min_width and min_height gate the skip jointly — upscaling is skipped only when every non-zero floor is met — while max_width and max_height clamp the output.seed and the input are held fixed.Automated release