Call it
curl https://api.peume.com/v1/call/animate-rigged-character \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"rig_run_id": "your rig run id"
}
}'const res = await fetch("https://api.peume.com/v1/call/animate-rigged-character", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"rig_run_id": "your rig run id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/animate-rigged-character",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"rig_run_id": "your rig run id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: animate-rigged-character.
Parameters
rig_run_idRequiredstringrun id of YOUR OWN successful /model/rig run. A quadruped rig takes only actions whose rig_type is quadruped.
action_idintegerOne preset action from /animation/library whose rig_type matches the rig.
action_idsarray1–10 preset actions merged into one file, one clip per action, in this order.
motion_run_idstringrun id of YOUR OWN successful /animation/text-to-motion run whose clip to retarget (biped rigs only; Meshy refuses it on a quadruped rig).
post_processobjectOptional post-processing of the animation file.
