Skip to content

SRINIVASTA/gemini-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Google Gemini AI Image Generator

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!


🚀 Features

  • 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)

💻 Getting Started

Prerequisites

  • 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

About

🎨 Google Gemini AI Image Generator Generate stunning AI-powered images using Google Gemini’s generative models. Customize with prompts, styles, and aspect ratios — all through a simple Streamlit interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages