Converts text descriptions into 3D models using:
[User Text Prompt] → [Bedrock Stable Image Core] → [Generated Image] → [Hi3DGen on EC2] → [3D Model (.glb)]
backend/bedrock_image_gen.py - Bedrock Stable Image Core integration (text → image)backend/hi3dgen_server.py - FastAPI server wrapping Hi3DGen (runs on EC2)frontend/app.py - Gradio UI with both Text-to-3D and Image-to-3D tabsinfra/deploy.py - EC2 deployment (g5.2xlarge with NVIDIA A10G GPU)infra/teardown.py - Clean up all AWS resourcespip install -r requirements.txt
python infra/deploy.py
python frontend/app.py
The Gradio UI opens at http://localhost:7860 with two tabs:
python infra/teardown.py
The config.json file (auto-generated by deploy.py) stores the EC2 instance details.
You can also set HI3DGEN_API_URL environment variable to override.
1 commits
Python
100.0%
Converts text descriptions into 3D models using:
[User Text Prompt] → [Bedrock Stable Image Core] → [Generated Image] → [Hi3DGen on EC2] → [3D Model (.glb)]
backend/bedrock_image_gen.py - Bedrock Stable Image Core integration (text → image)backend/hi3dgen_server.py - FastAPI server wrapping Hi3DGen (runs on EC2)frontend/app.py - Gradio UI with both Text-to-3D and Image-to-3D tabsinfra/deploy.py - EC2 deployment (g5.2xlarge with NVIDIA A10G GPU)infra/teardown.py - Clean up all AWS resourcespip install -r requirements.txt
python infra/deploy.py
python frontend/app.py
The Gradio UI opens at http://localhost:7860 with two tabs:
python infra/teardown.py
The config.json file (auto-generated by deploy.py) stores the EC2 instance details.
You can also set HI3DGEN_API_URL environment variable to override.
1 commits
Python
100.0%