Skip to content

dipanshurdev/ai-snaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 AI Snaps

A powerful Streamlit app for generating professional product ads using Bria AI's advanced image generation and manipulation APIs.

🌟 Features

  • 🖼️ Generate HD product images from text prompts
  • 🎯 Remove backgrounds with custom colors
  • 🌅 Add realistic shadows
  • 🏠 Create lifestyle shots with text or reference images
  • ✨ AI-powered prompt enhancement
  • 📝 Optional CTA text overlay
  • 🎮 Intuitive UI controls
  • 💾 Easy image download

💡 Usage

  1. Enter a product description or upload an image
  2. Configure generation options in the sidebar:
    • Enhance prompt with AI
    • Remove background
    • Add shadows
    • Generate lifestyle shots
  3. Adjust advanced settings like background color and shadow intensity
  4. Click "Generate Ad" to create your images
  5. Download the results
# ai snaps

Lightweight Streamlit tools for generating professional product ad images using AI-powered image generation and editing.

## Features

- Generate HD product images from text prompts
- Remove or replace backgrounds
- Add realistic shadows and CTAs
- Create lifestyle shots from text or reference images
- Optional prompt enhancement via AI
- Download generated images

## Quick Start

1. Clone the repository:
```bash
git clone https://github.com/dipanshurdev/ai-snaps.git
cd ai-snaps
  1. Create and activate a virtual environment:
python -m venv .venv
.\\.venv\\Scripts\\Activate.ps1
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root and add any required API keys:
BRIA_API_KEY=your_api_key_here
  1. Run the app (Streamlit):
streamlit run app.py

Configuration

  • Prompt enhancement and generation settings are available in the UI.
  • Store secrets in a local .env file (do not commit) and use GitHub Secrets for CI.

Contributing

Contributions are welcome. Suggested workflow:

  1. Fork the repo
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Commit changes: git commit -m "Add feature"
  4. Push and open a PR

License

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

Acknowledgments

  • Bria AI for image generation APIs
  • Streamlit for the web UI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages