{"id":20492396,"url":"https://github.com/letsdoitbycode/text-to-image-generator","last_synced_at":"2026-02-13T07:38:44.385Z","repository":{"id":262511744,"uuid":"887461959","full_name":"letsdoitbycode/Text-to-Image-Generator","owner":"letsdoitbycode","description":"The Text-to-Image Generator is an AI-powered web application that generates high-quality images from user-provided text prompts. Leveraging Hugging Face's Stable Diffusion model, the application transforms descriptive text into vivid and detailed visuals, making it ideal for creative projects, concept visualization, and artistic experimentation.","archived":false,"fork":false,"pushed_at":"2024-11-12T19:59:54.000Z","size":1008,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T15:40:33.785Z","etag":null,"topics":["deep-learning","gpu-computing","neural-networks","stable-diffusion","text-to-image","web-application"],"latest_commit_sha":null,"homepage":"https://letsdoitbycode-text-to-image-generator.hf.space","language":"Jupyter Notebook","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/letsdoitbycode.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-11-12T19:34:34.000Z","updated_at":"2025-01-13T17:13:52.000Z","dependencies_parsed_at":"2024-11-12T20:35:18.291Z","dependency_job_id":"3aa33f0f-48eb-4a20-b4f4-ccdac892d979","html_url":"https://github.com/letsdoitbycode/Text-to-Image-Generator","commit_stats":null,"previous_names":["letsdoitbycode/text-to-image-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/letsdoitbycode/Text-to-Image-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsdoitbycode%2FText-to-Image-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsdoitbycode%2FText-to-Image-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsdoitbycode%2FText-to-Image-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsdoitbycode%2FText-to-Image-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsdoitbycode","download_url":"https://codeload.github.com/letsdoitbycode/Text-to-Image-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsdoitbycode%2FText-to-Image-Generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deep-learning","gpu-computing","neural-networks","stable-diffusion","text-to-image","web-application"],"created_at":"2024-11-15T17:28:53.914Z","updated_at":"2026-02-13T07:38:44.347Z","avatar_url":"https://github.com/letsdoitbycode.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Text-to-Image Generator with Real-Time Emotion Detection: FaceVibe\n\n### Project Link: - https://letsdoitbycode-text-to-image-generator.hf.space\n\nThe Text-to-Image Generator is an AI-powered web application that generates high-quality images from user-provided text prompts. Leveraging Hugging Face's Stable Diffusion model, the application transforms descriptive text into vivid and detailed visuals, making it ideal for creative projects, concept visualization, and artistic experimentation.\n\n### Key Features\nKey Objectives\n- Seamless Text-to-Image Conversion: Allow users to input descriptive prompts and receive corresponding images that visually interpret the text.\n- Accessible Web Interface: Provide an easy-to-use, interactive platform where users can generate images directly from their browser.\n- Flexible Prompting for Visual Exploration: Enable users to experiment with different prompts to explore a wide variety of generated visualizations.\n- AI-Powered Image Generation: Uses Hugging Face’s Stable Diffusion model to create high-quality images based on textual prompts.\n- Interactive Image Generation: Users can experiment with different prompts to explore various visualizations.\n\n### How It Works\n- Text Input: Users enter a descriptive text prompt, like \"a futuristic city skyline at sunset.\"\n- Text-to-Image Model: The prompt is processed by Hugging Face's Stable Diffusion model, which uses embeddings and a generative neural network to create a corresponding image.\n- Image Display: The generated image is displayed on the app interface, available for download.\n\n\n### Installation\n1. Clone the repository\n   ```sh\n   git clone https://github.com/letsdoitbycode/Text-to-Image-Generator.git\n   cd Text-to-Image-Generator\n   ```\n\n3. Create a virtual environment and activate it:\n   ```sh\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n   \n\n4. Install the required packages:\n   ```sh\n   pip install flask torch diffusers transformers accelerate gunicorn python-dotenv\n   pip install requirements.txt\n   ```\n\n5. API key setup for Application:\n  \n    ```sh touch .env ```\n   paste your API key in ```plaintext.env``` file as ```plaintext AUTH_TOKEN='API_KEY'```\n    ```sh touch .gitignore ```\n   add ```plaintext .env``` in the file to secure the API key\n   To test the API key, follow below mentioned steps\n   ```\n\n### API Key Setup\n\nTo run the Text-to-Image Generator, you’ll need a Hugging Face API Token:\n\n- Go to the Hugging Face website https://huggingface.co .\n- Sign in or create an account.\n- Navigate to Account Settings \u003e API token and click Generate new token.\n- Copy the generated token and add it in your Python code (StableDiffusionImage.ipynb) file in place of ```plaintext self.authorization_token = \"\" ```.\n\n   \n6. Run the Flask app:\n    ```sh\n    python app.py\n    ```\n\n\n### Project Structure\n```plaintext\nYouTube-Video-Summarization-App/\n│\n├── app.py                                              # Main Flask application\n├── templates/\n│   └── index.html                                      # Main HTML file\n├── static/\n│   ├── style.css                                       # CSS styles\n├── .gitignore\n├── StableDiffusionImage.ipynb                          # python file for the execution\n├── requirements.txt                                    # requirements for the project\n└── README.md                                           # This README file\n```\n\n## Demo Application Interface\n\n![Screenshot (23)](https://github.com/user-attachments/assets/3aaea3a9-ee95-4a76-9c29-14516b66f633)\n\n\n\n## Contributing\nContributions are welcome! Please open an issue or submit a pull request for any changes or improvements.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsdoitbycode%2Ftext-to-image-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsdoitbycode%2Ftext-to-image-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsdoitbycode%2Ftext-to-image-generator/lists"}