跳到正文
CuteGuy☣️· 来源· @cutetoxicguy · X·· 4 小时前AI 评分70
正文 · 原文

A new ComfyUI custom pack can turn a single photo into a 3D mesh and recover the exact camera that shot it. 🎥

It's called ComfyUI-Cupid3D, a wrapper around CUPID, the CVPR 2026 Highlight project for generative 3D reconstruction via joint object and pose modeling.

That camera part is what makes it especially interesting.

A lot of image-to-3D tools can reconstruct an object, but getting the result to sit perfectly back inside the original plate usually takes extra alignment work.

Cupid3D tries to solve both problems at once: reconstruct the object and recover the input camera.

🧠 What does it do?

Give it:

▪️ an input image

▪️ an optional mask for the object

And it returns:

▪️ a 3D mesh

▪️ camera_info describing the camera that matches your original frame

That means you can render the reconstructed object back over the same image and keep the alignment intact.

According to the author, the recovered camera works directly with Preview3D, Load3D, and NKD VFX Tools, with no padding, reframing, or letterboxing.

⚙️ The workflow is intentionally simple

Main controls:

▪️ seed

▪️ steps with a default of 25

▪️ cfg_strength with a default of 5.0

There are also a few useful options:

▪️ crop_to_content: crops to the subject before solving, then maps the camera back to the full frame

▪️ place_on_ground: places the mesh on the floor plane while moving the recovered camera with it, so the photo alignment still holds

▪️ mask support: expects a white-on-black subject mask, with automatic background removal through rembg if no mask is supplied

🧩 The output is not a fully baked textured asset

This is important.

The returned mesh contains:

▪️ vertex colors

▪️ normals

But not a baked UV texture by default.

If you want a more conventional textured asset, the recommended next steps are:

▪️ UnwrapMesh

▪️ BakeTextureFromViews

That makes the node more useful for look development, scene reconstruction, and VFX blocking than for instantly producing a game-ready asset.

🎬 Why this matters for ComfyUI users

The integration with NKD VFX Tools makes this more than a simple image-to-mesh utility.

You can reconstruct an object from a still photo, keep the original camera, place the result back into the shot, and then continue working with camera-aware VFX nodes.

That opens up some interesting workflows for:

▪️ plate-aligned object insertion

▪️ relighting

▪️ rough compositing

▪️ layout and matchmove-style experiments

▪️ AI-assisted VFX shot prep

💻 Requirements

▪️ NVIDIA GPU

▪️ CUDA 12.x toolkit

▪️ approximately 7 GB of weights downloaded on first run from hbb1/Cupid

▪️ approximately 11.5 GB VRAM peak, measured by the author on a 719×719 image

The wrapper was verified on Windows 11 with torch 2.10+cu130 and an RTX 5090.

That is notable because the original CUPID repository is officially tested on Linux and recommends at least 16 GB of GPU memory.

The wrapper vendors and patches parts of upstream CUPID to reduce installation friction.

⚠️ Limitations

This is still marked as experimental.

The upstream CUPID project also notes that multi-object scene reconstruction currently supports non-occluded assets.

And since the geometry is not delivered with a ready-made texture bake, some extra work is still needed depending on your final target.

Still, this is one of the more interesting ComfyUI bridges between single-image 3D reconstruction and camera-aware VFX workflows.

🔗 ComfyUI wrapper: https://github.com/Nekodificador/ComfyUI-Cupid3D

🔗 CUPID: https://github.com/cupid3d/Cupid

🔗 NKD VFX Tools: https://github.com/Nekodificador/ComfyUI-NKD-VFX-Tools

#ComfyUI #AI3D #VFX #GenerativeAI #GameDev

来源:CuteGuy☣️ · x.com