API Type | Description |
360° Panorama (Synchronous API) | A single call directly returns the generated result without polling. |
3D Scene Generation (Asynchronous API) | Time-consuming task (typically 10 to 20 minutes), called in two steps: 1. Submit a task: Call the capability API (text-to-scene/image-to-scene). A task id is returned upon success.2. Poll for results: Call the query task result API with the id. It is recommended to poll every 3 to 5 seconds until status = succeeded (generation successful).Note: Do not resubmit the task after it is created successfully. Obtain the result by polling. |
Model Name | model Parameter Value | Supported Capability | Model Description |
HY-World-2.1-scene | hy-world2-scene | 3D Scene Generation | Interactive, spatial 3D scene. |
HY-World-2.1-panorama | hy-world2-panorama | 360° Panorama Generation | Scene image viewable in 360 degrees. |
POST https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-video/world2-sceneParameter Name | Required | Type | Description |
prompt | Yes | string | Text prompt that describes the desired scene content. Value range: ≤ 600 characters. |
image_url | Conditionally required | string | Image URL. Pass a publicly accessible image URL. The minimum resolution is 512*512, and the file size cannot exceed 10M. Supported formats: JPG, JPEG, PNG, and WEBP. |
model | Conditionally required | string | Model version. Value range: hy-world2-scene |
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-video/world2-scene' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "hy-world2-scene","image_url": "https://example.com/input.jpg"}'
Field | Type | Description |
id | string | Task ID, used to poll for task status. |
request_id | string | Unique request identifier, used for troubleshooting. |
{"id": "251435731-WandVideo-b917b8211a264cd5a7aa9fb9d836c033","request_id": "02909efb-c5c8-44c6-97ed-bb2ce5e1618d"}
status field are as follows:status | Description | Handling Recommendation |
queued | Queued | Continue polling. |
running | Generating | Poll once every 3 to 5 seconds until status=succeeded. |
succeeded | Succeeded | Obtain the URLs of files in each format from data. |
failed | Generation failed. | Generation failed on the server. Retry. If the failure persists, contact technical support and provide the task id. |
cancelled | Canceled | The task has been canceled. Initiate it again. |
unknown | Unknown status. | Retry or contact technical support. |
POST https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-image/world2-panoramaParameter Name | Required | Type | Description |
prompt | Yes | string | Text prompt that describes the desired scene content. Value range: ≤ 600 characters. |
images | No | array of string | List of image URLs. Pass publicly accessible image URLs. The minimum resolution is 512*512, and the file size cannot exceed 10M. Supported formats: JPG, JPEG, PNG, and WEBP. |
model | Yes | string | Model version. Value range: hy-world2-panorama |
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-image/world2-panorama' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "hy-world2-panorama","prompt": "Interior panorama of a modern art museum, soft natural light"}'
Field | Type | Description |
id | string | Unique ID of this request. |
created | integer | Request creation time (Unix timestamp). |
status | string | Task status: succeeded / failed. |
data | array | List of generated results. |
data[].cover_image_url | string | Cover image URL for quick preview. |
data[].super_resolution_image_url | string | Super-resolution panoramic image URL (primary output). |
request_id | string | Unique request identifier, used for troubleshooting. |
tokenhub_usage | object | Usage consumption. |
tokenhub_usage.total_tokens | integer | Number of tokens consumed by this task, used for billing/reconciliation. |
{"created": 1787287171,"data": [{YOUR_SECRET_ID"super_resolution_image_url": "https://aigc-output-image-file-1326893053.cos.ap-guangzhou.myqcloud.com/1374200352/1374200352-WandImage-c763284ffc954a999329028a3a8a1013_0.png?q-sign-algorithm=sha1&q-ak=your-secret-id&q-sign-time=1787287164;1787330374&q-key-time=1787287164;1787330374&q-header-list=host&q-url-param-list=&q-signature=da7591e9deb002b9b7360fc8330083f19ea8d6c8"}],"id": "1374200352-WandImage-c763284ffc954a999329028a3a8a1013","status": "succeeded","version": "1","tokenhub_usage": {"total_tokens": 500000},"request_id": "9d73053a-cb9f-47fe-ab24-fdd2403eb7cf"}
status field are as follows:status | Description | Handling Recommendation |
succeeded | Succeeded | Obtain the panoramic image from data[].super_resolution_image_url. |
failed | Generation failed. | Check the input parameters and retry. If the failure persists, contact technical support and provide the id. |
GET https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-video/tasks/{task_id}{task_id} in the path is the id returned when the task is submitted (represented by YOUR_TASK_ID in the example). Generation takes approximately 10 to 20 minutes. It is recommended to poll every 3 to 5 seconds.Parameter Name | Required | Type | Description |
task_id | Yes | string | Task ID (path parameter), which is the id returned when the task is submitted. |
curl -X GET 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/hunyuan-video/tasks/YOUR_TASK_ID' \\-H 'Authorization: Bearer YOUR_API_KEY'
Field | Type | Description |
id | string | Unique ID of this request. |
created | integer | Request creation time (Unix timestamp). |
status | string | Task status: queued / running / succeeded / failed / cancelled / unknown. |
data | array | List of generated results (available when status=succeeded). |
data[].image_url | string | Scene rendering preview image URL. |
data[].scene_url | string | URL of the 3DGS scene file in SPZ format. |
data[].point_url | string | URL of the 3D point cloud file in PLY format. |
data[].mesh_url | string | URL of the complete collision mesh in PLY format. |
data[].mesh_simplified_url | string | URL of the simplified collision mesh in PLY format, used for real-time collision detection on the frontend. |
data[].position_info | string | JSON containing scene spatial position information, including up_direction, facing_direction, center_point, scale, and boundary coordinates. |
data[].super_resolution_image_url | string | Super-resolution rendered image URL. |
request_id | string | Unique request identifier, used for troubleshooting. |
tokenhub_usage | object | Usage consumption. |
tokenhub_usage.total_tokens | integer | Number of tokens consumed by this task, used for billing/reconciliation. |
{"created": 1787284437,"data": [{"air_wall": {"bbox": [-46.150852,47.925797,-6.937543,44.305508,-25.153587,22.927399,-0.67803955,-3.8229122,1.1482356,7.252456,4.407326,1.492669],"scene_type": "outdoor"},"image_url": "https://hunyuan-base-prod-1258344703.cos.ap-guangzhou.myqcloud.com/openapi/text2img/398ddefd8606e2da40d67fd0ba2c0339.png?q-ak\\u003dAKIDRl074nOsGdJ9zjMsCRWP3ShmgS3VtX4S\\u0026q-header-list\\u003d\\u0026q-key-time\\u003d1787283299%3B1787369699\\u0026q-sign-algorithm\\u003dsha1\\u0026q-sign-time\\u003d1787283299%3B1787369699\\u0026q-signature\\u003dcaa743408027047c27f9b58a5b3a997162ee5280\\u0026q-url-param-list\\u003d","mesh_simplified_url": "https://hunyuan-3d-1258344703.cos.ap-guangzhou.myqcloud.com/gen_tmp_test/05abab7cfa854ddf933d8cde043e50d3/d032b44f2d38203b0aef7cba6f4608e5.ply?q-sign-algorithm\\u003dsha1\\u0026q-ak\\u003dAKID17Naks8SJQhxaN5jNBpGduztbwAMRWtK\\u0026q-sign-time\\u003d1787284421%3B1787370821\\u0026q-key-time\\u003d1787284421%3B1787370821\\u0026q-header-list\\u003d\\u0026q-url-param-list\\u003d\\u0026q-signature\\u003d6ef9239ed9f6bc757ad8b148bbc1896eaff756b1","mesh_url": "https://hunyuan-3d-1258344703.cos.ap-guangzhou.myqcloud.com/gen_tmp_test/05abab7cfa854ddf933d8cde043e50d3/f8ba40403c32fa4702b0490235bbcd62.ply?q-sign-algorithm\\u003dsha1\\u0026q-ak\\u003dAKID17Naks8SJQhxaN5jNBpGduztbwAMRWtK\\u0026q-sign-time\\u003d1787284421%3B1787370821\\u0026q-key-time\\u003d1787284421%3B1787370821\\u0026q-header-list\\u003d\\u0026q-url-param-list\\u003d\\u0026q-signature\\u003d8f1d174827d6f8bf357a332c3bc0ece17d24a115","point_url": "https://hunyuan-3d-1258344703.cos.ap-guangzhou.myqcloud.com/gen_tmp_test/05abab7cfa854ddf933d8cde043e50d3/2900cb7bcfd123395c258af86e89f620.ply?q-sign-algorithm\\u003dsha1\\u0026q-ak\\u003dAKID17Naks8SJQhxaN5jNBpGduztbwAMRWtK\\u0026q-sign-time\\u003d1787284420%3B1787370820\\u0026q-key-time\\u003d1787284420%3B1787370820\\u0026q-header-list\\u003d\\u0026q-url-param-list\\u003d\\u0026q-signature\\u003d318af6155121913d1f9c9334d68812a344dcec8d","position_info": "{\\"up_direction\\": [0.08356333782703931, 0...","scene_url": "https://hunyuan-3d-1258344703.cos.ap-guangzhou.myqcloud.com/gen_tmp_test/05abab7cfa854ddf933d8cde043e50d3/e632c15fcf66db300e39fff9d71ab8b1.spz?q-sign-algorithm\\u003dsha1\\u0026q-ak\\u003dAKID17Naks8SJQhxaN5jNBpGduztbwAMRWtK\\u0026q-sign-time\\u003d1787284418%3B1787370818\\u0026q-key-time\\u003d1787284418%3B1787370818\\u0026q-header-list\\u003d\\u0026q-url-param-list\\u003d\\u0026q-signature\\u003d6bbe2526c4ac2f155d65e1e6908ca2907d4e87e6","super_resolution_image_url": "https://hunyuan-base-prod-1258344703.cos.ap-guangzhou.myqcloud.com/openapi/text2img/7fcbe0fe146d8d564fab2651886bab76.png?q-ak\\u003dAKIDRl074nOsGdJ9zjMsCRWP3ShmgS3VtX4S\\u0026q-header-list\\u003d\\u0026q-key-time\\u003d1787283327%3B1787369727\\u0026q-sign-algorithm\\u003dsha1\\u0026q-sign-time\\u003d1787283327%3B1787369727\\u0026q-signature\\u003d6eb63978c077a5637d77ba8bac558f9733f985c6\\u0026q-url-param-list\\u003d"}],"id": "4-WandVideo-01105813c9e443ed977daa511a0700b3","status": "succeeded","version": "1","tokenhub_usage": {"total_tokens": 8000000},"request_id": "450ffc9c-29fb-4549-80a7-ee48549189cd"}
status | Description | Handling Recommendation |
queued | Queued | Continue polling. |
running | Generating | Poll once every 3 to 5 seconds until status=succeeded. |
succeeded | Succeeded | Obtain the URLs of files in each format from data. |
failed | Generation failed. | Generation failed on the server. Retry. If the failure persists, contact technical support and provide the task id. |
cancelled | Canceled | The task has been canceled. Initiate it again. |
unknown | Unknown status. | Retry or contact technical support. |
フィードバック