Hunyuan Part

circle-info

This documentation is valid for the following list of our models:

  • tencent/hunyuan-part

Model Overview

The model analyzes a 3D mesh and performs high-fidelity, structure-coherent shape decomposition, splitting the original mesh into multiple parts that can then be used independently in 3D editors, for example for texturing or animation.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guidearrow-up-right.

API Schema

post
Body
modelstring · enumRequiredPossible values:
mesh_urlstring · uriRequired

URL of the 3D model file (.glb or .obj) to process for segmentation.

point_prompt_xnumber · min: -1 · max: 1Optional

X coordinate of the point prompt for segmentation.

point_prompt_ynumber · min: -1 · max: 1Optional

Y coordinate of the point prompt for segmentation.

point_prompt_znumber · min: -1 · max: 1Optional

Z coordinate of the point prompt for segmentation.

point_numintegerOptional

Number of points to sample from the mesh.

Default: 100000
use_normalbooleanOptional

Whether to use normal information for segmentation.

Default: true
noise_stdnumberOptional

Standard deviation of noise to add to sampled points.

seedinteger · min: 1Optional

The same seed and the same prompt given to the same version of the model will output the same image every time.

Responses
chevron-right
200Success
application/json
post
/v1/images/generations
200Success

Quick Example

Let's generate an image using a simple prompt.

chevron-rightResponsehashtag

Last updated

Was this helpful?