Mocapless
v0.2.0Rig and animate 3D animals and characters from a sentence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
account
Who is signed in and how many credits are left. One credit is roughly one second of animation.
list_characters
The characters in the account, newest first. New accounts have a demo mannequin ready to animate.
upload_character
Upload a character and wait until its skeleton has been read (seconds for a normal file, a minute or two for a very heavy one). Returns the character id to animate.
| Parameter | Type | Description |
|---|---|---|
path * | string | Local path to an FBX, GLB, GLTF or DAE. Rigged or not - an un-rigged character gets a skeleton built for it. |
create_animal
No model yet: have a textured 3D animal made from a description and rigged. Costs about 30 credits; refunded if it fails.
| Parameter | Type | Description |
|---|---|---|
description * | string | The animal in a few words: 'a brown horse', 'a grey wolf', 'a golden retriever'. |
name | Optional name for it. | |
wait | boolean | Wait until it is ready (about five minutes). If false, returns at once; check list_characters. |
plan_motion
Free preview of what generate_animation would do for this prompt: the beats, the engine, the price in credits and the current balance. Nothing is generated or charged.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What the character should do, in plain English. Sequences are fine: 'trots forward, then sits down'. |
character_id | The character the plan is for; an animal and a person have different moves. Omit for the most recent one. |
generate_animation
Generate an animation from a sentence on the user's character, wait for it, and download the files. Charges credits (see plan_motion first if the price matters); a failed job is refunded automatically.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What the character should do, in plain English, in order. Best as one to four short present-tense beats about the body: 'trots forward, stops, looks around, then sits down.' |
character_id | A character id from list_characters or upload_character. Omit to use the most recent ready character. | |
download_dir | Where to save the files. Default: ~/mocapless/<job>/ (or MOCAPLESS_DOWNLOAD_DIR). | |
formats | array | Any of fbx, glb, bvh. |
loop | boolean | Make the clip loop seamlessly (for idles, walks, dances). |
quality | string | 'standard' (one take) or 'best' (two takes, keeps the steadier one; same credits, a little slower). |
wait | boolean | Wait for the result (usually 30-90 seconds). If false, returns the job id to check with get_job. |
get_job
Status of a generation, and its files once it has finished.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | A job id from generate_animation. |
download_dir | If set and the job succeeded, download the files here. |
recent_animations
The account's recent generations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many, newest first. |
character_pack
The full animation set of one character (idle, walk, trot, run, jump, sit, lie down and more, in one FBX and one GLB): whether it is unlocked, how each move is coming along, and the files once built.
| Parameter | Type | Description |
|---|---|---|
character_id * | string | A character id from list_characters. |
download_dir | If set and the pack is ready, save its zip here. |
unlock_character
A checkout link (one payment per character) for the person to open: it opens every animation of the character for download and builds its full set. You cannot pay; hand over the link.
| Parameter | Type | Description |
|---|---|---|
character_id * | string | A character id from list_characters. |