{"id":31901084,"url":"https://github.com/raghul-m/gemini-image-app","last_synced_at":"2025-10-13T12:52:31.874Z","repository":{"id":316580273,"uuid":"1052689633","full_name":"Raghul-M/Gemini-Image-app","owner":"Raghul-M","description":"Image Generator Application Using Gemini Nano AI Model","archived":false,"fork":false,"pushed_at":"2025-09-25T11:52:08.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-25T13:27:32.871Z","etag":null,"topics":["devops","gemini-ai","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://nanogpt.onrender.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raghul-M.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T12:13:45.000Z","updated_at":"2025-09-25T11:56:00.000Z","dependencies_parsed_at":"2025-09-25T13:27:34.676Z","dependency_job_id":"5a1ed258-aac0-4540-b3b2-be0644a3c590","html_url":"https://github.com/Raghul-M/Gemini-Image-app","commit_stats":null,"previous_names":["raghul-m/gemini-image-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Raghul-M/Gemini-Image-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raghul-M%2FGemini-Image-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raghul-M%2FGemini-Image-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raghul-M%2FGemini-Image-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raghul-M%2FGemini-Image-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raghul-M","download_url":"https://codeload.github.com/Raghul-M/Gemini-Image-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raghul-M%2FGemini-Image-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015087,"owners_count":26085644,"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-13T02:00:06.723Z","response_time":61,"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":["devops","gemini-ai","streamlit-webapp"],"created_at":"2025-10-13T12:52:19.722Z","updated_at":"2025-10-13T12:52:31.868Z","avatar_url":"https://github.com/Raghul-M.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gemini Image Generator App - Nano GPT 🎋\n\nA Streamlit web application that generates amazing images using Google's Gemini Nnao AI model. This project is designed for workshop demonstrations and learning purposes.\n\n![Streamlit -app (1)](https://github.com/user-attachments/assets/a2e2a7e5-cf9d-4dc8-bb85-001ddf8685d6)\n\n\n\n## Features\n\n-  Generate images from text prompts using Google Gemini AI\n-  Beautiful and intuitive web interface built with Streamlit\n-  Download generated images in PNG format\n-  Secure API key management\n-  Docker support for easy deployment\n\n## Prerequisites\n\n- Python 3.8 or higher\n- Google Gemini API key\n- Docker (optional, for containerized deployment)\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/Raghul-M/Gemini-Image-app\ncd Gemini-Image-app\n```\n\n### 2. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n3. You can enter your API key directly in the application's sidebar.\n\n### 4. Run the Application Locally\n\n```bash\nstreamlit run app.py\n```\n\nThe application will be available at `http://localhost:8501`\n\n## Docker Deployment\n\n### Build Docker Image\n\n```bash\ndocker build -t gemini-image-app .\n```\n\n### Run Docker Container\n\n```bash\ndocker run -d --name nanogpt -p 8501:8501 -e  gemini-image-app\n```\n\n### Push to Docker Registry\n\n```bash\n# Tag the image\ndocker tag gemini-image-app docker.io/raghulm/gemini-image-app:latest\n\n# Push to registry\ndocker push docker.io/raghulm/gemini-image-app:latest\n```\n\n## Usage\n\n1. Open the application in your web browser\n2. Enter your Gemini API key in the sidebar (or set it as an environment variable)\n3. Type your image prompt in the text input field\n4. Click \"Generate Image\" and wait for the AI to create your image\n5. Download the generated image using the download button\n\n## Example Prompts\n\n- \"A beautiful sunset over a calm ocean\"\n- \"A futuristic city with flying cars\"\n- \"A cute cat wearing a space helmet\"\n- \"Abstract art with vibrant colors\"\n\n## Project Structure\n\n```\nGemini-Image-app/\n├── app.py              # Main Streamlit application\n├── requirements.txt    # Python dependencies\n├── Dockerfile         # Docker configuration\n├── .env              # Environment variables (create this)\n└── README.md         # This file\n```\n\n## Technologies Used\n\n- **Streamlit** - Web application framework\n- **Google Gemini AI** - Image generation API\n- **Pillow (PIL)** - Image processing\n- **Python-dotenv** - Environment variable management\n- **Docker** - Containerization\n\n## API Key Setup\n\nTo get your Gemini API key:\n\n1. Visit [Google AI Studio](https://makersuite.google.com/app/apikey)\n2. Sign in with your Google account\n3. Create a new API key\n4. Copy the key and add it to your `.env` file or enter it in the app\n\n## Troubleshooting\n\n- **API Key Error**: Make sure your Gemini API key is valid and has the necessary permissions\n- **Image Generation Fails**: Check your internet connection and API key status\n- **Docker Issues**: Ensure Docker is running and you have sufficient permissions\n\n## Contributing\n\nThis is a workshop project. Feel free to fork and modify for your own learning purposes!\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n\nBuilt with ❤️ By Raghul-M using Streamlit and Google Gemini AI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghul-m%2Fgemini-image-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraghul-m%2Fgemini-image-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghul-m%2Fgemini-image-app/lists"}