
Image to Three.js 3D Model
Rebuilds the object in one photo as a 3D model written in Three.js code
by img2threejs
by Comfy OrgWorkflowMake visuals
Turns a single picture of an object into a textured 3D model on your own computer
An official ComfyUI workflow template that turns one picture of an object into a textured 3D model on your own computer, using Pixal3D or Microsoft's TRELLIS.2, with background removal and mesh clean-up.
For ComfyUI users3D hobbyists
Comfy Org is the company behind ComfyUI, an open-source tool for building image, video, audio and 3D AI workflows, which also has desktop, cloud and API versions.
From the project's own repository.
This is an official ComfyUI workflow template that turns one image into a textured 3D model. You load a picture of an object; it removes the background, builds the shape with either Pixal3D or Microsoft's TRELLIS.2 (one switch picks the model), then cleans up the mesh and bakes color, normal and ambient-occlusion maps. ComfyUI offers to download about 14 GB of model files the first time. It suits ComfyUI users and 3D hobbyists who want models from a picture with no per-generation charge.
Both 3D models are open under the MIT license and run on your own graphics card, and the template includes the full mesh clean-up and texture baking.
Start with the first one: it is a small task you can check easily.
Example prompts written by Agent Flows Hub.
From the creator's documentation.
| Step | What happens | Data goes to |
|---|---|---|
| 1 · Background removal | BiRefNet cuts the object out of your picture | Your computer |
| 2 · Shape | Pixal3D or TRELLIS.2 builds the 3D shape; one switch picks the model | Your computer |
| 3 · Texture | A texture stage paints the surface of the model | Your computer |
| 4 · Mesh clean-up | Remesh, decimate and UV unwrap, then bake base color, normal and ambient occlusion maps | Your computer |
| 5 · Save | Shows the model in a 3D preview and saves it to ComfyUI's output folder | Your computer |
Turn a single product or prop photo into a textured 3D model with ComfyUI's official template. One switch chooses Pixal3D or TRELLIS.2, and the same graph removes the background, cleans the mesh and bakes the texture maps.
Notes by Agent Flows Hub (original project name: Pixal3D & TRELLIS.2: Image to Model (3d_pixal3d_trellis2_image_to_model)), written from the creator's documentation, not from running it ourselves. ComfyUI TRELLIS.2 and Pixal3D tutorial · Pixal3D & TRELLIS.2: Image to Model template file
Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.