Skip to content

Hunyuan3d V3

POST/v1/run

Hunyuan 3d V3 Sketch To 3d by Tencent - convert 2D images into 3D models with AI. Generate textured 3D assets from single photos for games, AR/VR, e-commerce, and digital content creation.

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/v3/sketch-to-3d.

Default: tencent/hunyuan-3d/v3/sketch-to-3d

stringpromptrequired

Text prompt describing the 3D content attributes such as color, category, and material.

stringimagerequired

URL of sketch or line art image to transform into a 3D model. Image resolution must be between 128x128 and 5000x5000 pixels.

Optional<integer>face_count

Target face count. Range: 40000-1500000

Range: 40000 to 1500000

Default: 500000

Optional<boolean>enable_pbr

Whether to enable PBR material generation.

Default: false

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

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

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