The proposed two-stage pipeline in the DiffBIR framework can be extended to other blind image restoration tasks by adapting the restoration modules and the generation module to suit the specific characteristics of the new tasks. For instance, for tasks like blind image deblurring, the restoration module can be trained to remove motion blur or defocus blur, while the generation module can focus on regenerating sharp details. Similarly, for tasks like blind image inpainting, the restoration module can be designed to fill in missing regions, while the generation module can generate realistic content to complete the image. By customizing the restoration and generation modules for different types of degradations and restoration requirements, the two-stage pipeline can be effectively applied to a wide range of blind image restoration tasks.