Skip to main content
Glama
opslon

BlenderMCP

by opslon

poll_rodin_job_status

Check completion status of Hyper3D Rodin generation tasks in Blender, using subscription keys or request IDs to monitor progress and determine when to proceed.

Instructions

Check if the Hyper3D Rodin generation task is completed.

For Hyper3D Rodin mode MAIN_SITE: Parameters: - subscription_key: The subscription_key given in the generate model step.

Returns a list of status. The task is done if all status are "Done".
If "Failed" showed up, the generating process failed.
This is a polling API, so only proceed if the status are finally determined ("Done" or "Canceled").

For Hyper3D Rodin mode FAL_AI: Parameters: - request_id: The request_id given in the generate model step.

Returns the generation task status. The task is done if status is "COMPLETED".
The task is in progress if status is "IN_PROGRESS".
If status other than "COMPLETED", "IN_PROGRESS", "IN_QUEUE" showed up, the generating process might be failed.
This is a polling API, so only proceed if the status are finally determined ("COMPLETED" or some failed state).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscription_keyNo
request_idNo

Implementation Reference

  • Tool implementation that polls for the status of a Hyper3D Rodin generation job, supporting both MAIN_SITE and FAL_AI modes.
    def poll_rodin_job_status(
        ctx: Context,
        subscription_key: str=None,
        request_id: str=None,
    ):
        """
        Check if the Hyper3D Rodin generation task is completed.
    
        For Hyper3D Rodin mode MAIN_SITE:
            Parameters:
            - subscription_key: The subscription_key given in the generate model step.
    
            Returns a list of status. The task is done if all status are "Done".
            If "Failed" showed up, the generating process failed.
            This is a polling API, so only proceed if the status are finally determined ("Done" or "Canceled").
    
        For Hyper3D Rodin mode FAL_AI:
            Parameters:
            - request_id: The request_id given in the generate model step.
    
            Returns the generation task status. The task is done if status is "COMPLETED".
            The task is in progress if status is "IN_PROGRESS".
            If status other than "COMPLETED", "IN_PROGRESS", "IN_QUEUE" showed up, the generating process might be failed.
            This is a polling API, so only proceed if the status are finally determined ("COMPLETED" or some failed state).
        """
        try:
            blender = get_blender_connection()
            kwargs = {}
            if subscription_key:
                kwargs = {
                    "subscription_key": subscription_key,
                }
            elif request_id:
                kwargs = {
                    "request_id": request_id,
                }
            result = blender.send_command("poll_rodin_job_status", kwargs)
            return result
        except Exception as e:
            logger.error(f"Error generating Hyper3D task: {str(e)}")
            return f"Error generating Hyper3D 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/opslon/blender-mcp-optimized'

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