
Turning photos into a 3D model today works in two ways – both free and local on your PC. Option A needs just one photo: An AI calculates a model with texture from it and invents the back side on its own. Option B, photogrammetry, builds a real object from many photos and measures it at the same time. In the end, you get a GLB or OBJ file that you can keep working on in Blender or prepare for your 3D printer. Time needed: about one hour for the first run.
Which option is right for you?
| Option A: one photo, AI | Option B: many photos, photogrammetry | |
|---|---|---|
| What you need | one photo or an AI image | 40 to over 100 photos of a real object |
| Back side | invented by the AI | actually captured |
| True to size | no | yes, if you set the scale |
| Programs | ComfyUI with TRELLIS.2 or Pixal3D | Meshroom or RealityScan |
| Good for | figures, game objects, ideas, decor | replacement parts, sculptures, keepsakes |
What you need
- Windows 10 or 11
- A graphics card, preferably from NVIDIA. For option A there is no official minimum; one test ran on an RTX 5070 with 12 GB, and with smaller settings users also report 8 GB, but without guarantee. For Meshroom, you need an NVIDIA card for full quality; since version 2.2, RealityScan can also use AMD.
- At least 16 GB RAM, for photogrammetry 32 GB is better
- For 3D printing: Blender (free)
Important licensing note: Hunyuan3D from Tencent is technically good, but according to the license it may not be used in the EU, Great Britain, or South Korea. This guide therefore uses TRELLIS.2 from Microsoft (MIT license). Pixal3D from TencentARC is also under MIT, but Tencent has marked the model page as “not for the EU” – the legal situation is unclear, so we recommend TRELLIS.2.
Option A: From one photo with TRELLIS.2 or Pixal3D
Since ComfyUI v0.34.0 (August 2026), TRELLIS.2 and Pixal3D are built directly into ComfyUI. You don't need any extra nodes and don't have to compile anything. Pixal3D is built on TRELLIS.2 and shares some files with it.
1. Install or update ComfyUI
- If you don't have ComfyUI yet: Follow the guide Install ComfyUI on Windows. The easiest way is ComfyUI Desktop from comfy.org/download. On first start, choose the local installation.
- If you already have ComfyUI: Update it. In the portable version, start
update\update_comfyui.batfor this. You need at least v0.34.0, better v0.35.0 or newer – from that version on, the 3D template needs less VRAM.
2. Open the template
- In ComfyUI, open the templates (Workflow → Browse Templates).
- Search for “Pixal3D & TRELLIS.2: Image to Model” and open the template.
- The template starts with Pixal3D. Set the “Switch to Trellis2” switch to
true, and it will use TRELLIS.2 from Microsoft (see the licensing note above).
3. Get the model files
ComfyUI Desktop usually offers missing files for download itself when you open the template and places them in the correct folder. If that doesn't work (for example, a “Save As” window opens), copy the link and place the file manually:
| File | Folder in ComfyUI/models |
|---|---|
pixal3d_int8_convrot.safetensors | diffusion_models |
trellis_2_int8_convrot.safetensors | diffusion_models |
trellis_2_shape_vae_bf16.safetensors | vae |
trellis_2_texture_vae_bf16.safetensors | vae |
dino_v3_L_naf_fp32.safetensors | clip_vision |
birefnet.safetensors | background_removal |
The files are on Hugging Face at Comfy-Org (pages “TRELLIS.2”, “Pixal3D”, and “BiRefNet”). According to the ComfyUI docs, both diffusion models must be present, even if you only use one of them. With 16 GB or more, you can use the larger bf16 versions instead of the int8 files.
4. Prepare the photo
- One object per image, well lit, not cut off.
- A calm background helps. You don't need to cut it out: The template removes the background itself with BiRefNet (MIT license) and centers the object in the image.
- An AI image works just as well as a photo. Practical: First create a figure “on a white background” with FLUX.2 or another image model, then turn that into a 3D model.
5. Generate the model
- Load your image in the Load Image node.
- Start with Ctrl + Enter.
- You can see the result in the preview window and rotate it. The preview only shows rough colors – the real texture is in the saved file.
If the VRAM is not enough (error “out of memory”, see CUDA out of memory):
- Lower texture resolution from 4096 to 2048 or 1024.
- Lower the shape resolution to 512 and reduce the value for “Decimate” (polygon count).
- Do not start ComfyUI with
--use-ck-attention– according to test reports, it makes the shapes faulty without you noticing.
6. Find the result
The finished file is saved as GLB (mesh with PBR texture, see Mesh and PBR) in the folder ComfyUI/output/3d/ComfyUI/. Use GLB or OBJ – in one test, the FBX output was corrupted.
According to Comfy, the built-in version no longer contains any parts with a non-commercial license (the original version of TRELLIS.2 still needed nvdiffrast, which may only be used non-commercially). So you may also use the results commercially. Still check the current licenses on the model pages before selling anything (see Sell AI images).
Option B: From many photos with photogrammetry
With photogrammetry, the program calculates from many overlapping photos where the camera was each time, and from that it derives the shape of the object. This is not AI in the strict sense, but it produces real, measurable models.
1. Photograph it correctly
The photos decide the result:
- Lots of overlap: Every detail has to be visible in several images. The Meshroom manual calls for at least 60% sideways and 80% forward overlap.
- All around and from several heights: one round at eye level, then one from above at an angle and one from below at an angle. On a turntable, take a photo about every 9 to 10 degrees – so around 40 images per rotation.
- Soft, even light: cloudy sky or several lamps, no flash, and as few hard shadows as possible.
- Keep the camera fixed: don't zoom, use the same exposure and white balance, low ISO, no blurry images.
- The object should fill the frame, but not be cut off.
- Tricky subjects are: shiny, reflective, transparent, and completely solid-color surfaces. On a turntable, the background must be pattern-free.
2a. With Meshroom (open source)
- Download Meshroom 2025.1 as a ZIP from the GitHub releases page, unzip it, and start
Meshroom.exe. - First save the project (File → Save As).
- Drag all photos into the Images area.
- Click Start. The boxes for the processing steps change color: green = done, orange = running, red = error. Depending on the number of photos, this takes minutes to hours.
- Right-click the Texturing step → Open Containing Folder: That's where the model is, as OBJ with texture files.
Without an NVIDIA card, Meshroom can only calculate a rough “Draft Mesh”.
2b. With RealityScan (Epic Games)
- Install RealityScan through the Epic Games Launcher. For private users and companies with under 1 million US dollars in annual revenue, it's free.
- Drag the photos in and click Align Images.
- Adjust the reconstruction area and click Create Mesh (first Preview, then Normal or High Detail).
- Calculate the texture and export the model as OBJ.
- Scale: With Define Distance (F4), set two points and enter the measured distance between them – then the size will be correct.
You can also use the free mobile app RealityScan Mobile on the go (up to 300 photos).
And Gaussian Splatting? Programs like Postshot or Brush create very realistic 3D views from photos or videos. But the result is a cloud of color spots, not a closed mesh – so it is not suitable for 3D printing. More on that in the glossary under Gaussian Splatting and in the guide Gaussian Splatting at home.
From model to 3D print
Here's the short version. More details on size, base, hollowing, and slicer tips: Print an AI 3D model.
- Open Blender and import the file (File → Import → glTF 2.0 for GLB, or OBJ).
- Install the 3D Print Toolbox add-on (Edit → Preferences → Get Extensions, search for “3D Print”).
- Set the size: An AI model has no real measurements. With the toolbox, you scale it to the size you want, or you enter the dimensions in the side panel (N key).
- Check: In the toolbox section, click Check All. The important thing is that the model is watertight – that is, it has no holes.
- Repair: Make Manifold closes small holes and errors. If the model has very many polygons, reduce them with the Decimate modifier.
- Export: as STL through the toolbox or File → Export → STL. For 3MF you need the “3MF Import/Export” add-on. Which format is best for what is explained under 3D file formats.
- Open the file in your slicer (for example PrusaSlicer, OrcaSlicer, Bambu Studio, or Cura), add supports, and print.
Common problems
- Option A, the back side looks strange: The AI guesses it. Use a photo taken from an angle from the front (three-quarter view), so it can see more of the shape.
- Option A, error “out of memory”: Lower texture resolution and polygon count (see above) and close other programs.
- Option B, holes in the model: Those areas were visible in too few photos. Take more pictures from the missing angle.
- Option B, cameras won't align: too little overlap, blurry photos, or a smooth, solid-color surface. One trick is to stick on patterns with painter's tape.
- Printing doesn't work: The model is not watertight. Check and repair it in Blender with the 3D Print Toolbox.
Sources
- ComfyUI Docs: TRELLIS.2 and Pixal3D (template, files, folders)
- Comfy Blog: TRELLIS.2 and Pixal3D are now native
- ComfyUI Releases (v0.34.0, v0.35.0)
- Microsoft TRELLIS.2 (GitHub, license)
- Comfy-Org/TRELLIS.2 (Hugging Face)
- TencentARC/Pixal3D (Hugging Face, MIT license, marking “extra_gated_eu_disallowed”)
- Comfy-Org/BiRefNet (Hugging Face)
- Impress Forest Watch: Test on RTX 5070 12 GB (Japanese)
- NextDiffusion: TRELLIS.2 and Pixal3D in ComfyUI (tips with low VRAM)
- Hunyuan3D 2.1 license (territorial exclusion EU, UK, South Korea)
- Meshroom Releases
- Meshroom manual: Photographing
- Meshroom manual: Workflow and Draft Mesh
- RealityScan license
- RealityScan hardware requirements
- RealityScan 2.2 with AMD support
- RealityScan: Set scale
- Sketchfab: Tips for photogrammetry (turntable)
- Blender add-on 3D Print Toolbox
- Blender add-on 3MF Import/Export
- Brush (Gaussian Splatting, open source)
As of: Oct 26, 2026