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