🎨 AdSnap Studio
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
🚀 Quick Start
- Clone the repository:
git clone https://github.com/yourusername/adsnap-studio.git
cd adsnap-studio
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory:
BRIA_API_KEY=your_api_key_here
- Run the app:
streamlit run app.py
💡 Usage
- Enter a product description or upload an image
- Configure generation options in the sidebar:
- Enhance prompt with AI
- Remove background
- Add shadows
- Generate lifestyle shots
- Adjust advanced settings like background color and shadow intensity
- Click "Generate Ad" to create your images
- Download the results
🔧 Configuration
The app supports various configuration options through the UI:
- Prompt Enhancement: Improve your text prompts with AI
- Background Removal: Remove backgrounds with custom colors
- Shadow Effects: Add realistic shadows with adjustable intensity
- Lifestyle Shots: Place products in context using text or reference images
- CTA Text: Add optional call-to-action text overlays
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.