A Streamlit app that lets you generate AI-powered images using Google Gemini's generative AI model.
Enter your prompt, pick an artistic style and aspect ratio, and get stunning images — all from your browser!
- Generate images based on natural language prompts
- Choose from multiple artistic styles (Photorealistic, Pixel Art, Fantasy, etc.)
- Select aspect ratio hints (Square, Portrait, Landscape)
- Download generated images in PNG or JPEG format
- User-friendly interface powered by Streamlit
- API key securely entered at runtime (no hardcoded keys)
- Python 3.7+
- A Google API Key with access to Google Gemini models
🛠 Deployment This app is ready to deploy on Streamlit Cloud:
Push your code to GitHub
Connect the repo on Streamlit Cloud
Deploy the app directly
🔐 API Key You need a valid Google API key with permissions for Gemini models. Keep your key secure and do not share it publicly.
🎨 Prompt Tips Be descriptive: mention subjects, mood, colors, style, lighting
Example: "A serene bioluminescent mushroom forest at night, fantasy art style"
Experiment with different artistic styles and aspect ratios for best results
📄 License This project is licensed under the MIT License — see the LICENSE file for details.
🙏 Credits Built with ❤️ using:
Google Generative AI SDK Streamlit Pillow Github
📬 Contact For questions or suggestions, open an issue or contact me at: email:tasrinivass@gmail.com