usamaehsan/hunyuan3d-fast
Test: Hunyuan3D-2 with baked weights (cold-start)
Run usamaehsan/hunyuan3d-fast with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Input image for generating 3D shape
|
|
| steps |
integer
|
50
Min: 20 Max: 50 |
Number of inference steps
|
| guidance_scale |
number
|
5.5
Min: 1 Max: 20 |
Guidance scale for generation
|
| max_facenum |
integer
|
40000
Min: 10000 Max: 200000 |
Maximum number of faces for mesh generation
|
| num_chunks |
integer
|
200000
Min: 10000 Max: 200000 |
Number of chunks for mesh generation
|
| seed |
integer
|
1234
|
Random seed for generation
|
| octree_resolution |
None
|
512
|
Octree resolution for mesh generation
|
| remove_background |
boolean
|
True
|
Whether to remove background from input image
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 1234,
"x-order": 5,
"description": "Random seed for generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image for generating 3D shape"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 50,
"maximum": 50,
"minimum": 20,
"x-order": 1,
"description": "Number of inference steps"
},
"num_chunks": {
"type": "integer",
"title": "Num Chunks",
"default": 200000,
"maximum": 200000,
"minimum": 10000,
"x-order": 4,
"description": "Number of chunks for mesh generation"
},
"max_facenum": {
"type": "integer",
"title": "Max Facenum",
"default": 40000,
"maximum": 200000,
"minimum": 10000,
"x-order": 3,
"description": "Maximum number of faces for mesh generation"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 5.5,
"maximum": 20,
"minimum": 1,
"x-order": 2,
"description": "Guidance scale for generation"
},
"octree_resolution": {
"enum": [
256,
384,
512
],
"type": "integer",
"title": "octree_resolution",
"description": "Octree resolution for mesh generation",
"default": 512,
"x-order": 6
},
"remove_background": {
"type": "boolean",
"title": "Remove Background",
"default": true,
"x-order": 7,
"description": "Whether to remove background from input image"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "object",
"title": "Output",
"required": [
"mesh"
],
"properties": {
"mesh": {
"type": "string",
"title": "Mesh",
"format": "uri"
}
}
}