# Meshy Rigging Multi Animation

> Meshy auto-rigs a humanoid 3D model fitting a skeleton and binding the mesh, then applies several motion presets from its animation library


## Overview

- **Endpoint**: `https://fal.run/meshy/rigging/multi-animation`
- **Model ID**: `meshy/rigging/multi-animation`
- **Category**: 3d-to-3d
- **Kind**: inference
**Tags**: stylized, transform, 3D



## Pricing

**$0.20** per request. +**$0.12** per animation clip in `animation_action_ids` (e.g. 3 clips = **$0.56** total).

For more details, see [fal.ai pricing](https://fal.ai/pricing).

## API Information

This model can be used via our HTTP API or more conveniently via our client libraries.
See the input and output schema below, as well as the usage examples.


### Input Schema

The API accepts the following input parameters:


- **`model_url`** (`string`, _required_):
  URL of a 3D model in GLB format to rig and animate. Can be any publicly accessible URL — works with models generated by Hunyuan, Trellis, Meshy, or any other 3D generation tool. The model must be a humanoid character with clearly defined limbs.
  - Examples: "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb"

- **`height_meters`** (`float`, _optional_):
  Approximate height of the character in meters. Default value: `1.7`
  - Default: `1.7`

- **`skeleton_template`** (`Enum`, _optional_):
  Skeleton template for the rig. Animations made from the rig use the same skeleton. Leave unset for Meshy's default skeleton (meshyrig). Some models can only be rigged on meshyrig without fingers; those requests fail with a 422.
  - Options: `"mixamo"`, `"ue5_mannequin"`, `"unity_humanoid"`, `"maya_human_ik"`, `"blender_rigify_basic_human"`, `"max_biped"`, `"cc5_hd_neutral_base"`, `"daz_genesis9"`, `"meshyrig"`

- **`include_fingers`** (`boolean`, _optional_):
  Rig the character's fingers. Works with any skeleton template.
  - Default: `false`

- **`animation_action_ids`** (`list<integer>`, _required_):
  Animation preset IDs from Meshy's library. One animation clip is generated per ID against the same rig and returned in the 'animations' output array, in request order. Must contain at least one ID. Each ID must be in [0, 696], at most 10 distinct clips may be requested, and duplicate IDs are de-duplicated. See https://docs.meshy.ai/en/api/animation-library for available IDs.
  - Array of integer
  - Examples: [36,92]

- **`enable_safety_checker`** (`boolean`, _optional_):
  If set to true, input data will be checked for safety before processing. Default value: `true`
  - Default: `true`



**Required Parameters Example**:

```json
{
  "model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
  "animation_action_ids": [
    36,
    92
  ]
}
```

**Full Example**:

```json
{
  "model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
  "height_meters": 1.7,
  "animation_action_ids": [
    36,
    92
  ],
  "enable_safety_checker": true
}
```


### Output Schema

The API returns the following output format:

- **`rigged_character_glb`** (`File`, _optional_):
  Rigged character in GLB format.

- **`rigged_character_fbx`** (`File`, _optional_):
  Rigged character in FBX format.

- **`basic_animations`** (`BasicAnimations`, _optional_):
  Basic walking and running animations included with rigging.

- **`animations`** (`list<AnimationClip>`, _optional_):
  Animation clips generated against the rig — one entry per requested animation action ID, in request order.
  - Array of AnimationClip

- **`rig_task_id`** (`string`, _optional_):
  Meshy rigging task ID.



**Example Response**:

```json
{
  "animations": [
    {}
  ]
}
```


## Usage Examples

### cURL

```bash
curl --request POST \
  --url https://fal.run/meshy/rigging/multi-animation \
  --header "Authorization: Key $FAL_KEY" \
  --header "Content-Type: application/json" \
  --data '{
     "model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
     "animation_action_ids": [
       36,
       92
     ]
   }'
```

### Python

Ensure you have the Python client installed:

```bash
pip install fal-client
```

Then use the API client to make requests:

```python
import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "meshy/rigging/multi-animation",
    arguments={
        "model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
        "animation_action_ids": [36, 92]
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)
```

### JavaScript

Ensure you have the JavaScript client installed:

```bash
npm install --save @fal-ai/client
```

Then use the API client to make requests:

```javascript
import { fal } from "@fal-ai/client";

const result = await fal.subscribe("meshy/rigging/multi-animation", {
  input: {
    model_url: "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
    animation_action_ids: [36, 92]
  },
  logs: true,
  onQueueUpdate: (update) => {
    if (update.status === "IN_PROGRESS") {
      update.logs.map((log) => log.message).forEach(console.log);
    }
  },
});
console.log(result.data);
console.log(result.requestId);
```


## Deploy your own model

To run your own weights, a fine-tune or a custom pipeline on the GPUs that serve this API, deploy it on fal Serverless. GPUs from H100 (80GB) to B300 (288GB), billed per second; an H100 is $4.50/h list, as low as $2.49/h. Prices, GPU specs and deploy steps: [fal Serverless](https://fal.ai/serverless.md).

## Additional Resources

### Documentation

- [Model Playground](https://fal.ai/models/meshy/rigging/multi-animation)
- [API Documentation](https://fal.ai/models/meshy/rigging/multi-animation/api)
- [OpenAPI Schema](https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=meshy/rigging/multi-animation)

### fal.ai Platform

- [Platform Documentation](https://fal.ai/docs/documentation)
- [Python Client](https://fal.ai/docs/api-reference/client-libraries/python)
- [JavaScript Client](https://fal.ai/docs/api-reference/client-libraries/javascript)

### Other agent-readable surfaces

This file covers one model. To find anything else:

- [Platform overview](https://fal.ai/llms.txt): Entry points and representative endpoint IDs
- [Documentation index](https://fal.ai/docs/llms.txt): Every documentation page
- [Full documentation text](https://fal.ai/docs/llms-full.txt): The whole documentation inlined
- [Pricing](https://fal.ai/pricing.md): Model API and Serverless GPU prices
- [fal Serverless](https://fal.ai/serverless.md): Deploy your own models: GPU prices, specs and steps
- Any other model: `https://fal.ai/models/<endpoint-id>/llms.txt`
