Skip to main content

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.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uthana-0.1.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file uthana-0.1.3.tar.gz.

File metadata

  • Download URL: uthana-0.1.3.tar.gz
  • Upload date:
  • Size: 8.6 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

Hashes for uthana-0.1.3.tar.gz
Algorithm Hash digest
SHA256 68fc7fbc533e66e388c61c7bbd978bb16722a71ee890fe9acbff8a1a9ff43d16
MD5 027f2dde906118651f3c48c108bcf830
BLAKE2b-256 2c68bcbdf46d0b8d882cb978ffac56791d53668b6baf9a09486a04c82c07ce05

See more details on using hashes here.

File details

Details for the file uthana-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: uthana-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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

Hashes for uthana-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1908a5d55076d17793a23434937058899a6adad3b753156f93f7c2ba9d4e7009
MD5 b8243f125287b49e22446faeda583ac2
BLAKE2b-256 cf4ffcf61b6ca253b04afa73ad20834b9ce1902b9de95e68f46cfb80057cbc19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page