CopySnap is a lightweight AI-powered tool that turns any Amazon product (via its ASIN) into ready-to-use marketing copy.
It can generate:
- ✅ Facebook Ad Copy
- ✅ Amazon A+ Content
- ✅ SEO Product Descriptions
All with just a few clicks.
- Frontend: HTML + Bootstrap + jQuery
- Backend: Python Flask
- AI Engine: Gemini (Google GenAI)
- Data Source: ScraperAPI Structured Data Endpoint for Amazon
- Fetch real-time product data using an ASIN
- Suggest multiple target audiences based on product details
- Generate personalized ad copy for your selected audience and format
- Markdown-to-HTML rendering for clean UI preview
Make sure you have Python 3.7+ and pip installed.
# Clone this repository
git clone https://github.com/your-username/copysnap.git
cd copysnap
# Install required packages
pip install Flask google-genaiSet up your environment variables (e.g., in .env or export manually):
export API_KEY=your_scraperapi_key
export GEMINI_API_KEY=your_gemini_keyRun the Flask app:
python app.py🎥 Watch the interactive demo on YouTube:
👉 https://www.youtube.com/watch?v=uInpt_kjyWQ
I’ve written a detailed walkthrough of how I built this project — from prompt engineering to frontend interaction.
📚 Read the full blog post:
👉 Building an AI-Powered Ad Copy Generator with Flask and Gemini
If you’d like to add support for other marketplaces or output formats, feel free to fork and submit a PR. Issues, improvements, and ideas are welcome!
MIT License
Built by Adnan Siddiqi Let me know if you build something similar or extend it!