Kala Kaksh is a revolutionary platform that bridges the gap between traditional Indian artisans and modern buyers through the power of AI. Our platform combines authentic handcrafted treasures with cutting-edge technology, offering AI-generated room visualizations powered by Google's Vertex AI and Imagen 3.0.
[TRY IT HERE: ] (https://eureka-hacks-kala-kaksh-k694.vercel.app/)
"Where tradition meets technology, shaping the majestic future of artisan shopping"
For better understanding of the complete project implementation, this contains the backend as well that handles core functionalities:
- Database management and API endpoints
- Product catalog and inventory management
This repository focuses on the AI-powered frontend features as well as the backend which handles core functionalities.
- Digital Showcase: Create beautiful profiles to display your craft and story
- Product Management: Easily add and manage your handcrafted products
- AI Enhancement: Leverage Vertex AI to enhance product descriptions
- Collaboration Network: Connect with fellow artisans for partnerships
- Story Telling: Share your artistic journey and cultural heritage
- AI Room Generation: Visualize products in custom-generated rooms using Imagen 3.0
- Curated Discovery: Browse authentic handcrafted items by category
- Artisan Stories: Learn about the makers behind each product
- Smart Shopping: Cart management and purchase history
- Personalized Experience: Save preferences and wishlist items
- Real-time Image Generation: Generate custom room designs
- Enhanced Descriptions: AI-powered product and story enhancement
- Visual Commerce: See how products look in beautifully designed spaces
Connect with fellow artisans and build meaningful partnerships
Custom room generated with traditional Indian handicrafts using Google Imagen
Discover authentic handcrafted products by category
Browse pottery and ceramics in AI-generated traditional settings
Beautiful introduction to the world of Indian handicrafts
- Python 3.8 or higher
- Google Cloud Project with Vertex AI enabled
- Flask development environment
-
Clone the repository
git clone https://github.com/yourusername/kala-kaksh.git cd kala-kaksh -
Set up virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Configure Google Cloud
# Set up your Google Cloud credentials export GOOGLE_APPLICATION_CREDENTIALS="path/to/your/service-account-key.json"
-
Update configuration Edit
app.pyand update:PROJECT_ID = "your-google-cloud-project-id" LOCATION = "your-preferred-location" # e.g., "asia-south1"
-
Run the application
cd Kala-kaksh_genai python app.py -
Access the application Open your browser and navigate to
http://localhost:5000
Kala-kaksh_genai/
βββ app.py # Main Flask application
βββ generate_images.py # AI image generation utility
βββ static/ # Static assets
β βββ style.css # Main stylesheet
β βββ script.js # Client-side JavaScript
β βββ images/ # Product images
β βββ jewellery/
β βββ painting/
β βββ saree/
βββ templates/ # HTML templates
βββ login.html # Authentication page
βββ art_home.html # Artisan dashboard
βββ buy_home.html # Buyer dashboard
βββ loading.html # AI generation loading page
βββ product_detail.html # Product gallery
- Flask: Web framework for Python
- Google Vertex AI: AI/ML platform for image generation
- Imagen 3.0: State-of-the-art image generation model
- HTML5 & CSS3: Modern web standards
- JavaScript (ES6+): Interactive functionality
- Responsive Design: Mobile-first approach
- Vertex AI SDK: Google Cloud AI platform integration
- Real-time Generation: Dynamic image creation
- Base64 Encoding: Efficient image data transfer
- Google Sign-In integration
- Role-based access (Artisan/Buyer)
- Secure session management
- Story Creation:
art_home.html - Product Management: Add, edit, and showcase products
- AI Enhancement: Improve descriptions with Vertex AI
- Collaboration: Connect with other artisans
- Product Discovery:
buy_home.html - AI Room Generation: Visualize products in custom spaces
- Shopping Cart: Manage purchases and wishlist
- Artisan Profiles: Learn about creators
- Image Generation:
/api/generate-realtimeendpoint - Custom Prompts: Dynamic room generation based on product types
- Real-time Processing: Live image generation and display
- π₯» Handwoven Sarees: Traditional silk and cotton sarees
- π¨ Paintings & Art: Miniature paintings, folk art, contemporary pieces
- π Handcrafted Jewelry: Silver, brass, and traditional jewelry
- πΊ Pottery & Ceramics: Terracotta, blue pottery, ceramic crafts
- π₯ Handwoven Rugs: Traditional carpets, dhurries, floor coverings
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Artisan Community: For preserving traditional crafts and inspiring this platform
- Google Cloud: For providing cutting-edge AI capabilities through Vertex AI
- Flask Community: For the robust web framework
- Open Source Contributors: For making this project possible
Made with β€οΈ for preserving traditional Indian craftsmanship
"Connecting hearts through hands, bridging tradition with technology"
For detailed workflow and technical documentation, see workflow.md




