by Meshy

Auto-rig a character and bake up to ten library motions into one GLB

meshy/tools/rig
Meshy 3D Tools AI Image Generator online
  • 3D Rigging
  • 3D Animation

About Meshy 3D Tools

Meshy's rig endpoint accepts one character mesh and returns a skinned GLB. Two fields shape the result: rig_type, biped or quadruped, and rigging_height_meters, which scales skeleton and mesh to a real-world height. Our 30,292-face explorer rigged in 33 seconds; the file grew from 4.9 to 5.7 MB, gained a 24-joint skin and a default clip, and kept its colour image. At that speed the job can sit behind a progress bar instead of a notification.

Call it with the model name meshy/tools/rig on POST /jobs/createTask, from $0.24.

Introduction

Overview

Meshy Auto Rig turns a static humanoid or four-legged character mesh into a rigged GLB ready for animation tools and game engines.

Example request

{
  "mesh_url": "https://example.com/character.glb",
  "rig_type": "biped",
  "rigging_height_meters": 1.7
}

Tested output

A humanoid astronaut GLB finished in 27 seconds and returned a 2.7 MB GLB with 24 skeleton joints, one default clip and all three PBR maps intact.

Request parameters

ParameterRequiredDescription
mesh_urlYesThe 3D model to work on, such as one you made in Image to 3D.
rig_typeNoSkeleton to add. auto picks one from the shape; choose another for animals and creatures. biped · quadruped · Default: biped
rigging_height_metersNoCharacter height in meters, used to size the skeleton. ≥ 0.1 · ≤ 100 · Default: 1.7

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
Standard$0.24

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the Meshy 3D Tools API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model meshy/tools/rig and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "meshy/tools/rig",
  "input": {
    "mesh_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "rig_type": "biped"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Meshy 3D Tools API

  • A character uploader for a browser game that rigs on import, plays the default clip as a sanity check, then offers the animation library. Persist the rigged GLB so later motion orders reuse the height the player chose.
  • Scale normalisation for user-made avatars: run every upload through rig with the same rigging_height_meters, so models from different generators stand at consistent heights in one multiplayer scene.
  • A pet or creature builder that rigs four-legged models as quadrupeds, then lets users browse the animal sections of the library filtered to the species they picked.

Meshy 3D Tools parameter notes

  • mesh_url is required and takes GLB, GLTF, FBX, OBJ or STL up to 90 MB. Existing materials stay on the mesh, so there is no reason to strip textures before rigging.
  • rig_type is a two-value enum with biped as the default. There is no auto mode, so your app decides: infer it from the asset's category, or ask the user before submission.
  • rigging_height_meters accepts 0.1 to 100 and defaults to 1.7. It changes the actual scale of the output, not only metadata: our explorer came back 1.7 m tall. Pass the real size for toys or giants, and convert units if your engine works in centimetres.
  • The rigged file includes one clip that exports as Armature|clip0|baselayer. Hide it in your clip picker or treat it as a rest pose, and strip the Armature| and |baselayer parts when you match clip names.

How Meshy 3D Tools API pricing adds up

Rigging is one flat fee per request; height and rig type do not change it. Animate has its own base fee that already covers rigging and the first motion, so if your users always animate, call animate directly and skip this endpoint. Show the quoted USD maximum before submission and reconcile costUsd once the webhook arrives.

  • 3D Rigging: $0.24 per run, $24.00 for 100 runs

Async jobs, webhooks and rate limits

Every Meshy 3D Tools request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for meshy/tools/rig never runs or bills twice.

Common Meshy 3D Tools API errors

errorCodeWhat it usually means and how to fix it
invalid_assetThe mesh failed to download or is not a supported format. Confirm public access, a size under 90 MB and one of GLB, GLTF, FBX, OBJ or STL.
generation_failedThe mesh could not be bound. Fused limbs and arms pressed against the body are the usual suspects; ask for a single figure in an A-pose or T-pose and resubmit.
invalid_requestrig_type outside biped and quadruped, or a height outside 0.1 to 100. Clamp numeric input in the form rather than relying on the API to reject it.
timeoutUnusual at this speed. Check recordInfo before you resubmit the same mesh, so a slow job does not turn into two charges.

Meshy 3D Tools API questions

How much does the Meshy 3D Tools API cost?

Meshy 3D Tools starts at $0.24 per run with 3D Rigging, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Meshy 3D Tools in the API?

Put meshy/tools/rig for 3D Rigging; meshy/tools/animate for 3D Animation in the model field of POST /jobs/createTask.

Does rigging repair skinning problems in the source?

No. It binds the geometry it receives. A thin-legged, untextured mannequin came back in our tests with both legs bound together; separating the geometry fixes that, a retry does not.

Can the endpoint return FBX?

There is no output_format field; results are GLB. Convert afterwards if a desktop tool requires FBX.

How many joints should a retargeting map expect?

24 for biped in our runs, without finger bones. The four-legged dog we animated carried 46.

What are the limits of the Meshy 3D Tools API?

Largest upload: 90 MB. Requests outside these limits are rejected before anything is charged.

Can I try Meshy 3D Tools without writing code?

Run Meshy 3D Tools in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Meshy models

Tripo 3D Tools builds a denser 78-joint skeleton with fingers, covers nine body plans, renames bones for engines and writes FBX, but offers 16 preset motions, five at a time. Meshy has 804 motions, takes ten per order, rigged our figure about four times faster and sticks to humanoids and four-legged animals.

More about Meshy 3D Tools