Site icon DigiAlps LTD

Tencent Drops Hunyuan3D-DiT-v2-mv to Create Ultra-Realistic 3D Shapes in Seconds

Tencent Drops Hunyuan3D-DiT-v2-mv to Create Ultra-Realistic 3D Shapes in Seconds

Tencent Drops Hunyuan3D-DiT-v2-mv to Create Ultra-Realistic 3D Shapes in Seconds

In today’s world of digital creation, 3D modelling has always been a tough skill to master. Artists and designers spend years learning complex software just to create basic models. But things are changing fast. AI-powered tools like Trellis 3D, GEN3C by NVIDIA, Stable Fast 3D, etc., are making it easier than ever to turn ideas into 3D shapes without the huge learning curve. Recently, Tencent has also released one such amazing 3D tool, Hunyuan3D-2.0. Building upon it, the company dropped a new 3D tool, the Hunyuan3D-DiT-v2-mv model, with added powers. Let’s explore this tool and learn how to get started!

What is Hunyuan3D-DiT-v2-mv?

Hunyuan3D-DiT-v2-mv or Hunyuan3D-2mv is Tencent’s newest multiview 3D generation model. It’s specially designed to create detailed 3D shapes from multiple 2D images. As discussed above, this powerhouse tool is actually a fine-tuned version of the original Hunyuan3D-2 model but with added support for multiview-controlled shape generation.

What makes this 3D model stand out is how it can understand different angles of the same object. You can feed it front, back, and side views of something, and it will build a complete 3D model that matches all those perspectives. This is huge for anyone who needs to create 3D content quickly and accurately.

How Hunyuan3D-DiT-v2-mv Works

As this model is a part of Tencent’s larger Hunyuan3D 2.0 system, the whole setup includes two main parts:

1. Hunyuan3D-DiT

 This is the shape generation model that creates the basic 3D geometry

2. Hunyuan3D-Paint

 This is the texture synthesis model that adds realistic surfaces to the shapes

Together, these models work like a digital sculptor and painter team. First, Hunyuan3D-DiT-v2-mv creates the shape based on your images, and then Hunyuan3D-Paint adds all the colours and textures that make it look real.

The Architecture Behind Hunyuan3D-DiT-v2-mv

This multiview 3D model is built on something called a “scalable flow-based diffusion transformer.” It uses advanced AI techniques to understand what makes a 2D image work in 3D space. What’s really cool about this tool is how it can take multiple views of an object and combine them into one accurate 3D model. The model is also designed to create geometry that properly aligns with your input images. 

Hunyuan3D-2mv Model Series

Tencent has released two versions of this multiview 3D generation tool. 

1. Hunyuan3D-DiT-v2-mv (Basic)

This is the main multiview image-to-shape model that can handle multiple input images. Access it here.

2. Hunyuan3D-DiT-v2-mv-Fast (Fast)

This is a faster version using guidance distillation to speed up the process. Access it here.

Both of these models are 1.1B in size and can be downloaded from Huggingface.

Getting Started with Hunyuan3D-DiT-v2-mv

Want to try this model yourself? Here’s a simple guide to get you started:

1. Installation Requirements

First, you’ll need to install PyTorch from the official site. Then, install the other requirements with:

pip install -r requirements.txt

# for texture

cd hy3dgen/texgen/custom_rasterizer

python3 setup.py install

cd ../../..

cd hy3dgen/texgen/differentiable_renderer

python3 setup.py install

2. Using Hunyuan3D-DiT-v2-mv

Here’s a basic example of how to use this tool:

from hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline

pipeline = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained(

    'tencent/Hunyuan3D-2mv',

    subfolder='hunyuan3d-dit-v2-mv',

    use_safetensors=True,

    device='cuda'

)

mesh = pipeline(

    image={

        "front": "your front view image.png",

        "left": "your left view image.png",

        "back": "your back view image.png"

    },

    num_inference_steps=30,

    octree_resolution=380,

    num_chunks=20000,

    generator=torch.manual_seed(12345),

    output_type='trimesh'

)[0]

This code loads the model and creates a 3D model from three different views of your object.

Ways to Use Hunyuan3D-DiT-v2-mv

There are several ways you can use this amazing tool:

1. Direct Code Integration

As shown above, you can import the model directly into your Python code. This gives you the most control over how the model works.

2. Gradio App

You can run a local web interface using Gradio:

python3 gradio_app.py --model_path tencent/Hunyuan3D-2mv --subfolder hunyuan3d-dit-v2-mv --texgen_model_path tencent/Hunyuan3D-2

This creates a user-friendly interface where you can upload images and generate 3D models without writing code.

3. API Server

You can set up a local API server:

python api_server.py --host 0.0.0.0 --port 8080

Then you can make API calls to generate models:

img_b64_str=$(base64 -i assets/demo.png)

curl -X POST "http://localhost:8080/generate" \

     -H "Content-Type: application/json" \

     -d '{

           "image": "'"$img_b64_str"'",

         }' \

     -o test2.glb

4. Blender Addon

If you use Blender, you can install the Hunyuan3D addon and access the model directly in your 3D workflow. This lets you generate models right inside Blender without switching between different programs.

5. Official Website

Don’t want to install anything? Visit the official Hunyuan3D website to try it out online.

Hunyuan3D-DiT-v2-mv MultiView Model Demo

The multiview capabilities of Hunyuan3D-DiT-v2-mv are pretty amazing. In the Hugging Face demo, you can upload up to four images showing different views of your object:

After uploading your images, you just click “Gen Shape”, and the AI does its magic. 

Once you’re happy with your 3D model, you can download it and use it in any 3D software.

Key Benefits of Hunyuan3D-2mv

This model stands out from other 3D generation tools in several ways:

1. Multiview Input

Unlike many other tools that work with just one image, it can understand multiple views of the same object.

2. High Detail

The model creates geometry with impressive detail, capturing the small features that make objects look realistic.

3. Fast Generation

Especially with the fast version, you can get results in seconds rather than minutes.

4. Easy Integration

Whether you’re a developer or a 3D artist, there are multiple ways to use the model in your existing workflow.

Wrapping Up

Hunyuan3D-DiT-v2-mv is indeed a creative 3d modelling tool that opens up new possibilities for digital artists and designers. The multiview approach solves one of the biggest problems in AI-generated 3D: getting the back of an object to look right when you only have a front view.

With this model, you can control how every side of your model looks, making it much more useful for serious projects. Moreover, you can create complete, production-ready 3D assets in a fraction of the time it would take using traditional methods.

| Latest From Us

Exit mobile version