from diffusers import DDPMPipeline pipeline = DDPMPipeline.from_pretrained('krasnova/ddim_afhq_64') image = pipeline().images[0] image