PolyCraft
Generate, edit, and export 3D models with AI.
The problem PolyCraft solves
The steep learning curve of traditional 3D software: Professional tools like Blender or Maya take months or years to master. Your platform completely removes this technical barrier, allowing anyone to generate professional-grade models using just natural language or a simple reference image.
The high cost and slow turnaround time of 3D asset creation: Commissioning a 3D artist for product mockups, packaging design, or web assets can take weeks and cost thousands of dollars. Your platform condenses a multi-week workflow into mere minutes, drastically cutting overhead costs for businesses and independent creators.
Friction in the prototyping and iteration process: In a standard workflow, making a small adjustment to a 3D model (like changing a material or adjusting a shape) requires going back to the designer and waiting for new renders. Your platform solves this through AI-driven iterative editing, allowing users to tweak and refine models instantly with text commands.
The disconnect between 2D conceptualization and 3D reality: Marketers and founders often have great ideas, mood boards, or flat sketches, but struggle to visualize how the actual product or packaging will look in physical space. Your platform bridges this gap by instantly turning flat ideas into interactive, production-ready 3D assets that can be viewed from any angle.
Challenges we ran into
The Hurdle:
The core feature of this platform requires a multi-step generative pipeline: taking a text prompt, generating an initial reference image using Gemini 3 Image, and then passing that image to Trellis (via fal.ai) to reconstruct the 3D mesh.
Initially, we had the FastAPI backend handling this synchronously. The user would submit a prompt, and the server would hold the HTTP connection open while waiting for both AI models to finish. Because 3D generation can take 15 to 30 seconds, this approach was a disaster. The browser would constantly hit HTTP timeouts, the UI would freeze, and if the connection dropped, the heavy .glb file was lost, causing React Three Fiber to crash when trying to load a broken blob.
The Solution:
We had to completely decouple the AI generation from the client request cycle. We restructured the backend to be fully asynchronous using Redis.
Here is how we solved it:
Job Queuing: When a user submits a prompt, FastAPI immediately generates a unique task_id, stores the initial "pending" state in Redis, and returns the ID to the Next.js frontend. The user instantly sees a loading state, completely eliminating UI freezing.
Background Processing: FastAPI handles the heavy lifting (calling Gemini, then Trellis) in a background task.
Smart Polling & State Management: The Next.js frontend uses the task_id to gently poll a separate status endpoint. Once Trellis successfully generates the 3D model, the backend updates Redis with the final asset URL.
Seamless Rendering: Only when the status is marked "complete" does React Three Fiber attempt to mount and render the .glb file, ensuring a smooth, crash-free interactive preview.
Tracks Applied (3)
AI/ML
Open Innovation
Algorand
Algorand

