Skip to content

Hunyuan3D

POST/v1/run

Hunyuan 3d V2 is Tencent's image-to-3D AI model. Transform photographs into production-ready 3D meshes with accurate geometry and texture mapping.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to tencent/hunyuan-3d/v2.

Default: tencent/hunyuan-3d/v2

stringimagerequired

URL of image to use while generating the 3D model.

Optional<number>guidance_scale

Guidance scale for the model.

Range: 0 to 20

Default: 7.5

Optional<integer>num_inference_steps

Number of inference steps to perform.

Range: 1 to 50

Default: 50

Optional<boolean>textured_mesh

If set true, textured mesh will be generated and the price charged would be 3 times that of white mesh.

Default: false

Optional<integer>octree_resolution

Octree resolution for the model.

Range: 1 to 1024

Default: 256

Optional<integer>seed

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

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-3d

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async