Skip to content

rashee1997/ai-wallgen

Repository files navigation

🎨 AI Wallpaper Generator


Gemini Logo

Powered by Google's Imagen 3 and Gemini API.
This project uses Google AI services for image generation.
All generated images are subject to Google's terms of service.

Disclaimer: This tool uses experimental AI technology that may sometimes provide inaccurate or unexpected content.
Use discretion when generating and using the wallpapers.
The generated content does not represent Google's views.


A terminal-based tool for generating wallpapers using Google's Imagen 3 model via the Gemini API. Create desktop wallpapers with customizable prompts and settings.


🧑‍💻 Project Architecture & Codebase Overview

This project features a modular Python structure with a service-oriented design. The main entry point is run_wallgen.py, and the core logic resides in the wall_gen/ package.

For a detailed breakdown of the architecture, components, and operational flows, please see the Project Overview & Architecture document.


🔍 Development & Contribution

The codebase is designed for modularity. Contributions are welcome! Please refer to our Git Commit Guide for commit standards. Bug reports and feature suggestions can be made via GitHub Issues.


FeaturesPrerequisitesQuick UsageDocumentationLicense

#ai-image-generation#gemini-api#imagen3#wallpaper-generator#python-ai


🎭 Showcase

Here are some examples of wallpapers generated using this tool:

Palace Corridor
Ancient Palace Corridor
Mosque Street
Middle Eastern Street View
Garden Art
Topiary Garden Art
Taj Mahal
Taj Mahal at Sunset

✨ Key Features

  • AI-Powered Generation: Create unique wallpapers using Google's Imagen 3 model via the Gemini API.
  • Multiple Generation Methods: Choose from AI-generated, random, or custom user prompts.
  • Advanced Settings & Customization: Fine-tune generation with detailed Imagen settings (camera, lighting, composition, color), manage presets, and personalize user preferences. See Dynamic Configuration for advanced customization.
  • AI Preset Generation: Automatically generate coherent setting presets using AI. Full details in the AI Preset Generation Guide.
  • AI Style Generation: Generate unique artistic styles using AI. See the AI Style Generation Guide.
  • Logo Generation: Create distinctive logos with various style templates including minimalist, emblem, wordmark, lettermark, abstract, mascot, illustrative, and 3D designs.
  • Detailed Prompt Engineering: Utilizes sophisticated prompt enhancement techniques for optimal results. Learn more in the Prompt Engineering Guide.
  • GUI Image Preview: Preview generated images in a graphical window (Qt or Tkinter).
  • Cross-Platform Wallpaper Setting: Automatically sets wallpapers on Windows, macOS, and various Linux desktop environments. More details in Other Key Features.
  • Generation History: Keep track of and view previously generated wallpapers and their settings. More details in Other Key Features.
  • Terminal-Based UI & CLI: Offers both an interactive menu for ease of use and a comprehensive command-line interface for advanced control. See the Installation and CLI Guide for all CLI options.

🚀 Prerequisites

  • Python 3.8+
  • A Google Gemini API Key is required. You can obtain one from Google AI Studio.

For complete setup instructions, installation steps for different operating systems, and detailed command-line usage, please refer to the comprehensive Installation and CLI Guide.


⚡ Quick Usage

After installation and setting up your API key, run the application:

python run_wallgen.py

This will start the interactive menu.

For command-line operations, here are a couple of basic examples:

# Generate a wallpaper with a random prompt
python run_wallgen.py --random

# Generate with a custom prompt
python run_wallgen.py --prompt "a serene beach at sunset"

For a full list of all CLI commands, options, and detailed examples for run_wallgen.py, ai_preset_generator.py, and ai_style_generator.py, please consult the Installation and CLI Guide.


📚 Documentation


📝 License

This project is licensed under the MIT License — see the LICENSE file for details.


About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages