Skip to main content
API Reference for meshy/rigging, served by Comfy Router from Meshy.

Quick start

Create a key at platform.comfy.org/profile/api-keys and export it as COMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk, npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP. Model ID: meshy/rigging Endpoint: POST https://api.comfy.org/v2/models/meshy/rigging

Schema

Input

number
default:"1.7"
The approximate height of the character model in meters. Must be a positive number.Range: 0 to
string
The input task that needs to be rigged. Required if model_url is not provided.
string
A publicly accessible URL or Data URI to a textured humanoid GLB file. Required if input_task_id is not provided.
string
The model’s UV-unwrapped base color texture image. Publicly accessible URL or Data URI. Supports .png format.
Generated from the schema Router serves at GET /v2/models/meshy/rigging/openapi.json, the same document it validates a call against before the request reaches the provider.

Output

integer
Timestamp of when the task was created, in milliseconds.Format: int64
integer
Timestamp of when the task result expires, in milliseconds.Format: int64
integer
Timestamp of when the task was finished, in milliseconds. 0 if not finished.Format: int64
string
required
Unique identifier for the task.
integer
The count of preceding tasks. Only meaningful when status is PENDING.
integer
Progress of the task (0-100). 0 if not started, 100 if succeeded.Range: 0 to 100
object
Contains the output asset URLs if the task SUCCEEDED.
object
Contains URLs for default animations.
string
Downloadable URL for running animation armature in GLB format.
string
Downloadable URL for running animation in FBX format (with skin).
string
Downloadable URL for running animation in GLB format (with skin).
string
Downloadable URL for walking animation armature in GLB format.
string
Downloadable URL for walking animation in FBX format (with skin).
string
Downloadable URL for walking animation in GLB format (with skin).
string
Downloadable URL for the rigged character in FBX format.
string
Downloadable URL for the rigged character in GLB format.
integer
Timestamp of when the task was started, in milliseconds. 0 if not started.Format: int64
string
required
Possible values: SUCCEEDED
object
Error object that contains the error message if the task failed.
string
Detailed error message.
string
Type of the Rigging task.Possible values: rig

Examples

Input

Output

Before you ship

The snippets above are the shortest working call. Three things are the same for every model and are documented once on the Comfy Router headers page: send an Idempotency-Key on every paid call and reuse it when you retry, expect the connection to be held up to Router’s 10 minute deadline, and keep X-Comfy-Request-Id from every response. The SDKs do all three for you; the cURL tab does none of them. On failure, X-Comfy-Error-Type names the bucket, and a 422 means the body failed the model’s schema and was never billed.

Headers

Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.

Quick Start

Typed error handling in Python and TypeScript, reading the 422, walking the catalog.

Limitations

What Router does not do today, and what to use instead.