Skip to content

anushka436/txt_to_image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This project is a simple Python script that generates an image from a text prompt using the pre-trained Stable Diffusion v1-4 model by CompVis, via the Hugging Face diffusers library. Features Uses the powerful Stable Diffusion model to create images from text.

Automatically detects GPU (CUDA) for faster generation.

Saves the output image as generated_image.png.

About

vThis Python script allows users to generate images from text prompts using the Stable Diffusion v1-4 model via the Hugging Face diffusers library. It is designed for simplicity and ease of use — just run the script, input a prompt, and receive a high-quality AI-generated image. The script includes: Automatic GPU detection: Uses CUDA if available

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages