from diffusers import StableDiffusionPipeline pipeline = StableDiffusionPipeline.from_pretrained('Sadik-Sikder/mini_sd') image = pipeline().images[0] image