lowpoly verrà ritirato il 30 ott 2026. meshy-7 come modello di generazione 3D verrà ritirato il 31 dic 2026; come modello di texture resta disponibile. Cambia modello prima di queste date per evitare errori nelle richieste. Vedi tutte le deprecazioni

Rigging Check API

Find out before you rig whether Meshy can rig and animate a model, and which animation_type it fits. To rig the model, see the Rigging API.


POST/openapi/v1/rigging/check

Create a Rigging Check task

Creates a Rigging Check task. The task checks whether Meshy can rig and animate the model of one of your tasks, and which animation_type it fits. It runs in the background, as described in Task lifecycle.

The check is optional. You can create a Rigging task without it, and its answer doesn't change what Rigging does. It helps you skip models that Rigging doesn't support, such as a car or a bird.

The check looks at the task's preview image. riggable is true when the model meets all of these rules:

  • It has one character.
  • The character is a humanoid (biped) or a four-legged animal (quadruped).
  • It stands, and a four-legged animal stands on all four legs.
  • Its arms and legs are clear of the body and of each other.
  • It doesn't stand on a base or pedestal.
  • It faces the front.
  • It's within the face limit of Rigging.

Request

POST
/openapi/v1/rigging/check
# Check whether a model can be rigged
curl https://api.meshy.ai/openapi/v1/rigging/check \
  -X POST \
  -H "Authorization: Bearer ${YOUR_API_KEY}" \
  -H 'Content-Type: application/json' \
  -d '{
    "input_task_id": "018a210d-8ba4-705c-b111-1f1776f7f578"
  }'

Response

{
  "result": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70"
}

Parameters

  • Name
    input_task_id
    Type
    string
    Obbligatorio
    Description

    The ID of the task whose model you want to check. It must be one of your API tasks that has SUCCEEDED and has a preview image, for example a Text to 3D, Image to 3D, Remesh, or Retexture task.

Returns

202 Accepted. The result field of the response holds the ID of the new Rigging Check task.

Failure modes

  • Name
    400 - Bad Request
    Description

    The request can't run. The error message says which problem it found. For example:

    • Missing parameter: input_task_id wasn't sent.
    • Input task not found: input_task_id doesn't match any of your tasks.
    • Invalid input task: input_task_id doesn't refer to an API task.
    • Input task not ready: The input_task_id task hasn't reached SUCCEEDED. Wait until it succeeds, then retry.

    Fix the request, then send it again. See Errors.

  • Name
    401 - Unauthorized
    Description

    The API key is missing or invalid. Check the Authorization header.

  • Name
    402 - Payment Required
    Description

    For example:

    • Insufficient credits: The account doesn't have enough credits, or the account reached a credit limit. Check your credit balance, then retry.
    • Free plan: The check requires a paid plan. Upgrade your plan in your subscription settings, then retry.
  • Name
    403 - Forbidden
    Description

    input_task_id is a bas-relief model, which Meshy can't check. The message is This model type does not support this operation. Send a different model.

  • Name
    404 - Not Found
    Description

    Meshy can't find the preview image of the input_task_id task. One of these applies:

    • Meshy deleted the task's files after its expires_at. Create the task again, then send that task's ID.
    • The task has no preview image, for example a Convert, Resize, or Text to Image task. Check the task it came from.
  • Name
    429 - Too Many Requests
    Description

    You exceeded your rate limit, or you have too many pending tasks. Wait, then retry. See Rate limits.

A task that Meshy created can still fail. For the reasons, see task_error in the Rigging Check task object.


GET/openapi/v1/rigging/check/:id

Get a Rigging Check task

Returns a Rigging Check task by its ID.

Request

GET
/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70
curl https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"

Response

{
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": false,
    "animation_type": "biped",
    "animatable": false,
    "reasons": [
      {
        "code": "limbs_not_separated",
        "message": "The arms or legs touch the body or each other. Generate it in a T-pose or A-pose with the limbs clear of the body."
      }
    ]
  },
  "consumed_credits": 1
}

Parameters

  • Name
    id
    Type
    path
    Description

    The task ID from the create response.

Returns

The Rigging Check task object. Its result field isn't present until the task is SUCCEEDED.


DELETE/openapi/v1/rigging/check/:id

Delete a Rigging Check task

Permanently deletes a Rigging Check task, including its answer. You can't undo a delete.

Request

DELETE
/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70
curl --request DELETE \
  --url https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"

Response

// 200 OK on success, with an empty body.
//
// 409 Conflict when the task is IN_PROGRESS. The task keeps running:
{
  "message": "Task is IN_PROGRESS and cannot be deleted. Credits for a task the worker has already started are not refundable; wait for it to reach SUCCEEDED, FAILED or CANCELED, then delete it."
}

Path parameters

  • Name
    id
    Type
    path
    Description

    The ID of the task to delete.

Task status

Deleting a PENDING task refunds the credit it used when you created it.

An IN_PROGRESS task can't be deleted. The request returns 409 Conflict, and the task keeps running. Meshy doesn't refund a task that has started, so deleting it would cost you both the credit and the answer. Wait for it to reach SUCCEEDED or FAILED, then delete it.

Deleting a task in a final status (SUCCEEDED or FAILED) doesn't refund its credit.

Returns

200 OK when the task is deleted, or 409 Conflict when the task is IN_PROGRESS.


GET/openapi/v1/rigging/check

List Rigging Check tasks

Returns a list of your Rigging Check tasks.

Request

GET
/openapi/v1/rigging/check
curl https://api.meshy.ai/openapi/v1/rigging/check?page_size=10 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"

Response

[
  {
    "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
    "type": "rig-check",
    "status": "SUCCEEDED",
    "progress": 100,
    "created_at": 1790640079880,
    "started_at": 1790640080112,
    "finished_at": 1790640086935,
    "expires_at": 1790899286935,
    "task_error": null,
    "result": {
      "riggable": true,
      "animation_type": "biped",
      "animatable": true,
      "reasons": []
    },
    "consumed_credits": 1
  }
]

Parameters

  • Name
    page_num
    Type
    integer
    predefinito 1
    Description

    The page number to return, starting at 1.

  • Name
    page_size
    Type
    integer
    predefinito 10
    Description

    The number of tasks per page, up to 100.

  • Name
    sort_by
    Type
    string
    Description

    The sort order.

    Available values:

    • +created_at: oldest first
    • -created_at: newest first

Returns

A paginated list of Rigging Check task objects.


GET/openapi/v1/rigging/check/:id/stream

Stream a Rigging Check task

Streams a Rigging Check task's updates as Server-Sent Events (SSE).

Request

GET
/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70/stream
curl -N https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70/stream \
  -H "Authorization: Bearer ${YOUR_API_KEY}"

Response Stream

// Error event example
event: error
data: {
  "status_code": 404,
  "message": "Task not found"
}

// Message event examples illustrate task progress.
// Every frame is the full task object.
// The following PENDING frame is abbreviated to the fields that change.
event: message
data: {
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "progress": 0,
  "status": "PENDING"
}

event: message
data: {
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": true,
    "animation_type": "quadruped",
    "animatable": true,
    "reasons": []
  },
  "consumed_credits": 1
}

Parameters

  • Name
    id
    Type
    path
    Description

    The task ID from the create response.

Returns

A stream of Rigging Check task objects as Server-Sent Events.

Each event holds the full task object, in the same shape the Get endpoint returns. While the task is PENDING or IN_PROGRESS, finished_at is 0. Meshy sends the result field only after the task is SUCCEEDED.


The Rigging Check task object

A Rigging Check task object describes one check of a model. It holds the status, the progress, and the answer when the task succeeds.

The Rigging Check Task Object

{
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": false,
    "animation_type": "biped",
    "animatable": false,
    "reasons": [
      {
        "code": "limbs_not_separated",
        "message": "The arms or legs touch the body or each other. Generate it in a T-pose or A-pose with the limbs clear of the body."
      }
    ]
  },
  "consumed_credits": 1
}
  • Name
    id
    Type
    string
    Description

    The task ID. Treat it as an opaque string, and don't rely on its format.

  • Name
    type
    Type
    string
    Description

    The task type, always rig-check.

  • Name
    status
    Type
    string
    Description

    The task status, one of PENDING, IN_PROGRESS, SUCCEEDED, or FAILED.

  • Name
    progress
    Type
    integer
    Description

    How much of the task is done, as a percentage. It's 0 until the task starts and 100 when it succeeds.

  • Name
    preceding_tasks
    Type
    integer
    Description

    The number of tasks ahead of this one in the queue. The value is meaningful only while the task is PENDING. The field is left out when the value is 0.

  • Name
    created_at
    Type
    timestamp
    Description

    Time the task was created, in Unix milliseconds.

  • Name
    started_at
    Type
    timestamp
    Description

    Time the task started, in Unix milliseconds. It's 0 until the task starts.

  • Name
    finished_at
    Type
    timestamp
    Description

    Time the task finished, in Unix milliseconds. It's 0 until the task finishes.

  • Name
    expires_at
    Type
    timestamp
    Description

    Time the task's answer expires, in Unix milliseconds. It's 0 until the task finishes.

  • Name
    task_error
    Type
    object
    Description

    The error details when the task fails. It's null unless the status is FAILED. A Rigging Check task fails for one of these reasons:

    • code is moderation_blocked: the model's preview image might not comply with Meshy's platform rules. Send a different model.
    • type is service_unavailable: Meshy couldn't check the model. Create the task again.

    Meshy refunds the credit of a failed task. See Errors.

    • Name
      type
      Type
      string
      Description

      The error category, for example invalid_input or service_unavailable.

    • Name
      code
      Type
      string
      Description

      The specific problem, such as moderation_blocked. Present when Meshy has more details.

    • Name
      message
      Type
      string
      Description

      A description of what went wrong.

  • Name
    result
    Type
    object
    Description

    The answer. It isn't present until the task is SUCCEEDED.

    • Name
      riggable
      Type
      boolean
      Description

      Whether the model meets all of the rules on this page. When it's false, reasons says why.

    • Name
      animation_type
      Type
      string
      Description

      The kind of character the model is, even when riggable is false.

      Available values:

      • biped: a humanoid character. Send it as animation_type when you create a Rigging task.
      • quadruped: a four-legged animal. Send it as animation_type when you create a Rigging task.
      • other: anything else, such as a bird, an octopus, or a prop. Rigging doesn't support it.
    • Name
      animatable
      Type
      boolean
      Description

      Whether the Animation API can animate the model after you rig it. It's never true when riggable is false.

    • Name
      reasons
      Type
      array
      Description

      Why riggable or animatable is false, in a fixed order. It's an empty array when both are true.

      • Name
        code
        Type
        string
        Description

        What's wrong with the model, for your code to act on. Meshy may add codes, so treat a code you don't recognize as a reason the model doesn't fit.

        Available values:

        • not_a_character: the model isn't a person or a creature, for example a vehicle or a prop.
        • unsupported_body_type: the creature is neither a humanoid nor a four-legged animal, for example a bird, a snake, or an octopus.
        • multiple_subjects: the model has more than one character.
        • has_base: the character stands on a base or pedestal.
        • not_standing: the character sits, lies, kneels, or crouches, or a four-legged animal isn't on all four legs.
        • limbs_not_separated: the arms or legs touch the body or each other.
        • facing_away: the character faces away from the front.
        • too_many_faces: the model is over the face limit of Rigging. Run the Remesh API on it first.
      • Name
        message
        Type
        string
        Description

        The same reason as a sentence for a person, with how to fix the model. For too_many_faces, it gives the model's triangle count and the Remesh settings to use. The wording can change, so branch on code, not on message.

  • Name
    consumed_credits
    Type
    integer
    Description

    The number of credits the task used. It's 1, or 0 for a FAILED task, because Meshy refunds the credit when a task fails.