{"openapi":"3.0.2","info":{"title":"meshy/rigging","description":"The request body Comfy Router accepts for the model \"meshy/rigging\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"50626537cf50"},"paths":{"/v2/models/meshy/rigging":{"post":{"operationId":"runRouterModel","summary":"Run meshy/rigging synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for Meshy's rigging operation (docs.meshy.ai/en/api/rigging): fit a skeleton to an existing humanoid mesh. Supply exactly one of input_task_id or model_url; Meshy requires no single field, so the only structural narrowing is that an empty body is refused.","example":{"height_meters":1.8,"input_task_id":"0193abcd-0000-0000-0000-000000000000"},"minProperties":1,"oneOf":[{"required":["input_task_id"]},{"required":["model_url"]}],"properties":{"height_meters":{"default":1.7,"description":"The approximate height of the character model in meters. Must be a positive number.","exclusiveMinimum":true,"minimum":0,"type":"number"},"include_fingers":{"default":false,"description":"Whether to add finger bones to the character's hands. Biped rig only; with texture_image_url, a quadruped rig, or a quad-topology input_task_id, Meshy refuses the request with 400, and a model it can rig only without fingers with 422 (not charged). Finger bones don't change the credit cost. Defaults to false.","type":"boolean"},"input_task_id":{"description":"The input task that needs to be rigged. Required if model_url is not provided.","type":"string"},"model_url":{"description":"A publicly accessible URL or Data URI to a textured humanoid GLB file. Required if input_task_id is not provided.","type":"string"},"skeleton_template":{"default":"meshyrig","description":"The skeleton for the rigged character, setting its bone names and hierarchy. Biped rig only. With a value other than meshyrig (or include_fingers true), output files are in meters and use that skeleton's bones instead of the default 24-bone meshyrig files in centimeters; an animation task made from this rig uses the same skeleton. Any other value is refused. Defaults to meshyrig.","enum":["meshyrig","mixamo","ue5_mannequin","max_biped","unity_humanoid","maya_human_ik","blender_rigify_basic_human","cc5_hd_neutral_base","daz_genesis9"],"type":"string"},"texture_image_url":{"description":"The model's UV-unwrapped base color texture image. Publicly accessible URL or Data URI. Supports .png format.","type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"OK - the model's native JSON output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/MeshyRiggingTask"},{"properties":{"status":{"enum":["SUCCEEDED"],"type":"string"}},"required":["status"],"type":"object"}],"description":"Comfy Router output schema for Meshy's rigging operation: the terminal `GET /proxy/meshy/openapi/v1/rigging/{task_id}` task document, forwarded unchanged. The operation is SUBMIT-AND-POLL — `POST /proxy/meshy/openapi/v1/rigging` answers a `MeshyRiggingCreateResponse` handle whose `result` is the task id and which carries no asset, and Router polls on the caller's behalf — so the body a caller receives is the finished task document rather than that handle.\n`meshy/rigging` names an OPERATION rather than a model version: it adds a skeleton to a mesh the caller already has (a preceding task's id or a model URL), so it consumes a 3D asset and produces one. It is not one of the text-to-3D generations.\nThe output is under `result`, and this operation shares NO output key with the other Meshy operations. `result.rigged_character_glb_url` and `result.rigged_character_fbx_url` are the rigged character itself. `result.basic_animations` carries six further URLs — a walking and a running clip, each as a skinned GLB, a skinned FBX and an armature GLB. Which of the eight are populated depends on the request, so read the one that is present. Comfy Router draws that line: a `SUCCEEDED` task carrying none of those eight URLs is answered as a Comfy Router error rather than with this document. Note that `result.basic_animations` being present is NOT itself evidence of output — an empty object is representable and carries nothing loadable.\n`status` is the shared Meshy UPPERCASE vocabulary — `PENDING`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, `CANCELED` — forwarded unchanged. `SUCCEEDED` is the one terminal success; `FAILED` and `CANCELED` reach a Router caller as a Comfy Router error with Meshy's own reason in `task_error.message`. `progress` runs 0..100. `expires_at` is when Meshy stops serving the result URLs, so fetch them rather than storing the document.","example":{"created_at":1767225600000,"expires_at":1767830400000,"finished_at":1767225712000,"id":"018f2c7a-4b1e-7c3d-9a05-6e2f8b41d0c9","progress":100,"result":{"basic_animations":{"running_glb_url":"https://example.invalid/meshy/rigging/running.glb","walking_glb_url":"https://example.invalid/meshy/rigging/walking.glb"},"rigged_character_fbx_url":"https://example.invalid/meshy/rigging/character.fbx","rigged_character_glb_url":"https://example.invalid/meshy/rigging/character.glb"},"started_at":1767225601000,"status":"SUCCEEDED","type":"rig"}}}}}}}}},"components":{"schemas":{"MeshyRiggingBasicAnimations":{"description":"Contains URLs for default animations.","properties":{"running_armature_glb_url":{"description":"Downloadable URL for running animation armature in GLB format.","type":"string"},"running_fbx_url":{"description":"Downloadable URL for running animation in FBX format (with skin).","type":"string"},"running_glb_url":{"description":"Downloadable URL for running animation in GLB format (with skin).","type":"string"},"walking_armature_glb_url":{"description":"Downloadable URL for walking animation armature in GLB format.","type":"string"},"walking_fbx_url":{"description":"Downloadable URL for walking animation in FBX format (with skin).","type":"string"},"walking_glb_url":{"description":"Downloadable URL for walking animation in GLB format (with skin).","type":"string"}},"type":"object"},"MeshyRiggingResult":{"description":"Contains the output asset URLs if the task SUCCEEDED.","properties":{"basic_animations":{"$ref":"#/components/schemas/MeshyRiggingBasicAnimations"},"rigged_character_fbx_url":{"description":"Downloadable URL for the rigged character in FBX format.","type":"string"},"rigged_character_glb_url":{"description":"Downloadable URL for the rigged character in GLB format.","type":"string"}},"type":"object"},"MeshyRiggingTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task (0-100). 0 if not started, 100 if succeeded.","maximum":100,"minimum":0,"type":"integer"},"result":{"$ref":"#/components/schemas/MeshyRiggingResult"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"type":{"description":"Type of the Rigging task.","enum":["rig"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyTaskError":{"description":"Error object that contains the error message if the task failed.","properties":{"message":{"description":"Detailed error message.","type":"string"}},"type":"object"},"MeshyTaskStatus":{"description":"Status of the task.","enum":["PENDING","IN_PROGRESS","SUCCEEDED","FAILED","CANCELED"],"type":"string"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"meshy/rigging","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["3d"],"x-comfy-router-output-modalities":["3d"]}
