Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.9 KB

README.md

File metadata and controls

48 lines (26 loc) · 1.9 KB

📷 Faster Image Generation with StableDiffusionXL

Welcome to the Text to Image Generation project using the StableDiffusionXL model! 🖼️

This project allows you to generate images from text prompts with the help of the StableDiffusionXL model, making it a fun and creative way to bring your ideas to life.

📝 Introduction

This project is built using the following technologies:

  • Gradio: A Python library for building user interfaces for machine learning models.

  • StableDiffusionXL: A powerful model for generating images from text prompts.

🛠 Setup

Before using this Text to Image Generation project, make sure you have the necessary environment and dependencies set up:

  1. Python Environment: Ensure that you have a Python environment set up on your machine. You can download Python from python.org.

  2. Dependencies: Install the required dependencies by running:

    pip install gradio torch diffusers
  3. GPU Support: This project utilizes GPU for faster image generation. Make sure you have a CUDA-compatible GPU and the appropriate drivers installed.

🚀 Usage

To use this Text to Image Generation project, follow these steps:

  1. Run the provided Python script. This script initializes the StableDiffusionXL model and sets up a Gradio interface for easy interaction.

  2. Input your desired prompts into the "Prompt" and "Negative Prompt" text boxes. These prompts will guide the image generation process.

  3. Click the "Generate Image" button to initiate the image generation process.

  4. The generated image will be displayed on the interface for your review and download.

🤖 Example

Here's an example of using the Text to Image Generation interface:

  • Prompt: "a painting of a cute cat sitting on a chair"
  • Negative Prompt: "ugly, blurry"

You can experiment with different prompts to generate a wide variety of images!