{"id":23969755,"url":"https://github.com/ahmed5827/image_generation","last_synced_at":"2026-04-15T12:36:24.273Z","repository":{"id":270524770,"uuid":"910650070","full_name":"Ahmed5827/Image_Generation","owner":"Ahmed5827","description":"This application provides a graphical user interface (GUI) for generating images using the Stable Diffusion model. The GUI allows users to input a text prompt, and the application generates an image based on the prompt.","archived":false,"fork":false,"pushed_at":"2024-12-31T23:50:29.000Z","size":511,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T14:54:46.837Z","etag":null,"topics":["ai","cuda","generative-ai","image-generation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ahmed5827.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T23:38:49.000Z","updated_at":"2024-12-31T23:53:53.000Z","dependencies_parsed_at":"2025-01-01T00:32:57.240Z","dependency_job_id":null,"html_url":"https://github.com/Ahmed5827/Image_Generation","commit_stats":null,"previous_names":["ahmed5827/image_generation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ahmed5827/Image_Generation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed5827%2FImage_Generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed5827%2FImage_Generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed5827%2FImage_Generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed5827%2FImage_Generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahmed5827","download_url":"https://codeload.github.com/Ahmed5827/Image_Generation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed5827%2FImage_Generation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281731428,"owners_count":26551804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","cuda","generative-ai","image-generation"],"created_at":"2025-01-07T01:53:46.361Z","updated_at":"2025-10-30T01:47:15.101Z","avatar_url":"https://github.com/Ahmed5827.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Generation with CUDA\n\nThis application provides a graphical user interface (GUI) for generating images using the Stable Diffusion model. \nThe GUI allows users to input a text prompt, and the application generates an image based on the prompt.\n\n## Requirements\n- Python 3.8 or higher\n- `torch` library\n- `diffusers` library\n- `tkinter` library\n- `customtkinter` library\n- `Pillow` library\n- GPU with CUDA support\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Ahmed5827/Image_Generation.git\n   cd Image_Generation\n   ```\n\n2. Create a virtual environment and activate it:\n\n   On Linux/MacOS:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate\n   ```\n\n   On Windows:\n   ```bash\n   python -m venv venv\n   venv\\Scripts\\activate\n   ```\n\n3. Install the required packages:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\n1. Make sure you have a valid hugging face token in the file `Token.py` with the following content:\n\n   ```python\n   TOKEN = 'your_huggingface_token_here'\n   ```\n\n2. Run the application:\n\n   ```bash\n   python app.py\n   ```\n\n3. Enter your text prompt in the input field and click the **\"Generate\"** button. The application will display the generated image.\n\n## Troubleshooting\n\n- Ensure that your GPU supports CUDA and is properly configured.\n- Verify that the `Token.py` file exists and contains a valid token for accessing the Stable Diffusion model.\n- If you encounter any issues related to CUDA, make sure that your CUDA drivers and `torch` library are correctly installed and compatible.\n\n## How It Works\n\n1. The application uses `tkinter` and `customtkinter` for the GUI.\n2. The text prompt entered by the user is processed using the Stable Diffusion model from the `diffusers` library.\n3. The generated image is displayed directly in the GUI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmed5827%2Fimage_generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmed5827%2Fimage_generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmed5827%2Fimage_generation/lists"}