A web application that offers virtual tours of ancient Rome, allowing users to explore iconic landmarks and learn about Roman history through AI-generated images.
- Generate AI images based on user prompts related to ancient Rome
- Choose tour themes: Emperors, Gladiators, or Citizens
- Live-updating credit balance system
- Stripe integration for purchasing additional credits
- Session-based user experience
- Clone the repository
- Install the required dependencies:
pip install fasthtml replicate stripe python-dotenv
- Set up environment variables in a
.env
file:- REPLICATE_API_KEY
- STRIPE_KEY
- STRIPE_WEBHOOK_SECRET
- DOMAIN