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.5.tar.gz
(9.0 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.5.tar.gz.
File metadata
- Download URL: uthana-0.1.5.tar.gz
- Upload date:
- Size: 9.0 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 |
2bffa3af7d02476a6dd2912bab1b211890ecd55a8d7f0cb901a522a918ede9e2
|
|
| MD5 |
bef3aa366792ee5dcef0e182a2ffc55f
|
|
| BLAKE2b-256 |
fa01b9fd01dd123ae8bb3bf45a2bd10ef56956e8351233ee51337c64be0200b2
|
File details
Details for the file uthana-0.1.5-py3-none-any.whl.
File metadata
- Download URL: uthana-0.1.5-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 |
0bd4b53d6ca89c9c73c3626f8a6630e2117bfb7b8a085c7cdd06147c6b818434
|
|
| MD5 |
91021e3dc7c779c7e40f782b9ea624ea
|
|
| BLAKE2b-256 |
abeaac93fff17b42ec4c457566083f323526cc7a3acd4a4d45752d5265bd7824
|