Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.7 KB

File metadata and controls

37 lines (22 loc) · 1.7 KB

StableDiffusionXLSuperResolution

Open In Colab

This project generates ultra-realistic images using Stable Diffusion XL and enhances them with super-resolution through Real-ESRGAN.

Usage

A preconfigured Colab notebook is provided, requiring GPU access. Simply load it, run the cells, and generate images from textual descriptions.

image

  • "A vibrant carnival at night, with colorful lights illuminating Ferris wheels, carousels, and food stalls, children laughing, and a fireworks display lighting up the starry sky, ultra-realistic."

super_resolved_image_1_A_vibrant_carnival_at_night__w_1426 (1)

  • "An alien jungle filled with luminescent plants and strange creatures, with a glowing waterfall cascading into a turquoise pool, surreal and otherworldly."

super_resolved_image_2_An_alien_jungle_filled_with_to_4146 (1)

Running Without Super-Resolution

Image without super-resolution Image with super-resolution
generate_and_save_image(
    pipeline, 
    prompt=prompt, 
    super_resolution=False, 
    width=1024, 
    height=576
)