Python wrapper around Uthana's HTTP API
Project description
uthana-api
Python wrapper around uthana's http api.
Install
pip install uthana
Usage
Auto-Rig a Character
Upload a GLB or FBX mesh and get back a rigged character:
from uthana import Client
client = Client("your-api-key")
# Upload and auto-rig a mesh file
output = client.create_character("path/to/character.glb")
print(output.character_id) # character ID for use with other endpoints
print(output.auto_rig_confidence) # confidence score of the auto-rig
# Download the rigged character
data = client.download_character(output.character_id, output_format="glb")
with open("character_rigged.glb", "wb") as f:
f.write(data)
Text to Motion (v1)
Generate a motion clip from a text prompt:
from uthana import Client
client = Client("your-api-key")
# Generate motion from a text prompt
output = client.create_text_to_motion("vqvae-v1", "a person walking forward")
print(output.character_id)
print(output.motion_id)
# Download as GLB at 30 fps
data = client.download_motion(
output.character_id,
output.motion_id,
output_format="glb",
fps=30,
)
with open("walking_forward.glb", "wb") as f:
f.write(data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uthana-0.1.4.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uthana-0.1.4.tar.gz.
File metadata
- Download URL: uthana-0.1.4.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e34ea8161fdf7cfa6531f6dd2ac89399aefe7ea30bdd7b2d5d3e08f189968160
|
|
| MD5 |
4028be10972ddceaf47fece9a14beef6
|
|
| BLAKE2b-256 |
cb958786741c2d1dfe545aa06ca8da0fdb86e03765573b0256e0964756e7371c
|
File details
Details for the file uthana-0.1.4-py3-none-any.whl.
File metadata
- Download URL: uthana-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a6fd251e45f2059bda81afa23dbf3e88dd08ab95a94fb96bfb65433202d934
|
|
| MD5 |
4b4ff008158afa5a71ca771d48df8042
|
|
| BLAKE2b-256 |
a34662e3eca0a15e2967f212ab866053c4dc65007080efa242b2ed82cb7aae37
|