Skip to content

Hunyuan World

POST/v1/run

Hunyuan_world Image To World 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_world/image-to-world.

Default: tencent/hunyuan_world/image-to-world

stringimagerequired

The URL of the image to convert to a world.

Optional<string>classes

Classes to use for the world generation.

Optional<string>labels_fg2

Labels for the second foreground object.

Optional<boolean>export_drc

Whether to export DRC (Dynamic Resource Configuration).

Default: false

Optional<string>labels_fg1

Labels for the first foreground object.

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