A web application that converts text descriptions into 3D models using AI.
- Convert text prompts into 3D models
- View and interact with 3D models in the browser
- User authentication and model storage
- Download and share generated models
- Frontend: Next.js, TypeScript, Tailwind CSS, Three.js (React Three Fiber)
- Backend: Python Flask API, Hugging Face Stable Diffusion
- Authentication: Firebase Authentication
- Database: Firebase Firestore
- Storage: Cloudinary
- Node.js 18.x or higher
- Python 3.9 or higher
- Firebase account
- Cloudinary account
- Hugging Face account
- Clone the repository:
git clone https://github.com/yourusername/text-to-3d-converter.git
cd text-to-3d-converter- Install frontend dependencies:
npm install- Install Python API dependencies:
cd python-api
pip install -r requirements.txt
cd ..-
Create environment variables:
- Create a
.env.localfile in the root directory for Next.js - Create a
.envfile in thepython-apidirectory for the Flask API
- Create a
-
Start the development servers:
# Start the Next.js frontend
npm run dev
# In a separate terminal, start the Python API
cd python-api
python app.py- Open http://localhost:3000 in your browser.
- Sign in or create an account
- Enter a text prompt describing the 3D model you want to create
- Wait for the AI to generate your model
- View, interact with, and download your 3D model
- Access your previously created models from the dashboard
See DEPLOYMENT.md for detailed deployment instructions.
This project is licensed under the MIT License - see the LICENSE file for details.
- React Three Fiber for 3D rendering
- Hugging Face for AI models
- Firebase for authentication and database
- Cloudinary for media storage
- Tailwind CSS for styling