You're looking at a specific version of this model. Jump to the model overview.

daanelson /motion_diffusion_model:3e2218c0

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
the person walked forward and is picking up his toolbox.
None
num_repetitions
integer
3
How many
output_format
string (enum)
animation

Options:

animation, json_file

Choose the format of the output, either an animation or a json file of the animation data. The json format is: {"thetas": [...], "root_translation": [...], "joint_map": [...]}, where "thetas" is an [nframes x njoints x 3] array of joint rotations in degrees, "root_translation" is an [nframes x 3] array of (X, Y, Z) positions of the root, and "joint_map" is a list mapping the SMPL joint index to the corresponding HumanIK joint name

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'animation': {'items': {'format': 'uri', 'type': 'string'},
                              'title': 'Animation',
                              'type': 'array'},
                'json_file': {'title': 'Json File'}},
 'title': 'ModelOutput',
 'type': 'object'}