图像修复: SUPIR

利用SUPIR的生成先验和文本指导来恢复和增强图像。接受图像和可选的文本提示,实现智能修复,获得高质量结果。

Input

The photo to restore. Framing is kept; detail is re-synthesised.

Used when auto caption is off: what the image shows, in keywords.

Let the graph describe the image with Qwen 3.5 and use that as the guidance prompt.

Advanced settings

Guidance scale. The graph ships 1.5.

Default: 1.5

Leave empty for a new result each run. Enter a number to repeat one.

Sampler steps. The graph ships 10 on a lightning checkpoint.

Default: 10

Output

Your output will appear here.

关于此工作流

SUPIR restores rather than merely enlarges: it re-synthesises detail the source lost, guided by a prompt, then colour-transfers the result back onto the original so the grade survives. The shipped case is a night-time neon street of horses, described by the prompt and lifted to about 2.3 megapixels at the same framing.

Graph: LoadImage -> ResizeImageMaskNode (scale total pixels to 2.25 MP) -> SUPIRApply (SUPIR-v0Q_fp16, strength 1 -> 0.9, restore_cfg 4) -> SamplerCustom (dpmpp_2m_sde, sgm_uniform, 10 steps, cfg 1.5) -> VAEDecode -> ColorTransfer (mkl_lab, per frame) -> SaveImage. A caption branch feeds the prompt: a Qwen 3.5 4B TextGenerate describes the image, and a switch (on by default) chooses that over the hand-written prompt in the PrimitiveStringMultiline.

Runs on open weights in the cloud worker; no partner API.