Skip to main content
Glama

poll_hunyuan_job_status

Check the completion status of a Hunyuan3D generation task in Blender, returning the 3D model file path when ready.

Instructions

Check if the Hunyuan3D generation task is completed.

For Hunyuan3D: Parameters: - job_id: The job_id given in the generate model step.

Returns the generation task status. The task is done if status is "DONE". The task is in progress if status is "RUN". If status is "DONE", returns ResultFile3Ds, which is the generated ZIP model path When the status is "DONE", the response includes a field named ResultFile3Ds that contains the generated ZIP file path of the 3D model in OBJ format. This is a polling API, so only proceed if the status are finally determined ("DONE" or some failed state).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idNo

Implementation Reference

  • MCP tool handler for polling Hunyuan3D job status. Forwards the job_id to Blender addon via send_command.
    @mcp.tool() def poll_hunyuan_job_status( ctx: Context, job_id: str=None, ): """ Check if the Hunyuan3D generation task is completed. For Hunyuan3D: Parameters: - job_id: The job_id given in the generate model step. Returns the generation task status. The task is done if status is "DONE". The task is in progress if status is "RUN". If status is "DONE", returns ResultFile3Ds, which is the generated ZIP model path When the status is "DONE", the response includes a field named ResultFile3Ds that contains the generated ZIP file path of the 3D model in OBJ format. This is a polling API, so only proceed if the status are finally determined ("DONE" or some failed state). """ try: blender = get_blender_connection() kwargs = { "job_id": job_id, } result = blender.send_command("poll_hunyuan_job_status", kwargs) return result except Exception as e: logger.error(f"Error generating Hunyuan3D task: {str(e)}") return f"Error generating Hunyuan3D task: {str(e)}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ahujasid/blender-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server