This project utilizes the DreamShaper XL model for text-to-image generation. Given a text prompt, the model generates an image corresponding to the input text. The project employs the diffusers
library for efficient generation and utilizes GPU acceleration for faster processing.
- Ensure you have Python installed on your system.
- Install the required libraries:
pip install matplotlib torch diffusers
- Run the provided script in your Python environment.
- Enter your desired text prompt when prompted.
- The script will generate and display the corresponding image.
- Ensure you have a CUDA-enabled GPU for faster image generation.
- Adjust
num_inference_steps
andguidance_scale
parameters for different image generation settings. - For any issues or inquiries, please refer to the documentation of
diffusers
or the respective model documentation.