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.6.tar.gz (9.1 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.6-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uthana-0.1.6.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

Hashes for uthana-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ffda6e03f7fee77616f6eb4648ea61800eea6ba5f365f9a70184c9c389fb1f85
MD5 1ccd17deab6f3c7677ecc21f8719cae5
BLAKE2b-256 4efb3ad11501f5ad695856a00a08f2b0a44455ed8abf1a3cc02b2c01717f0ab2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uthana-0.1.6-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

Hashes for uthana-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1710fe6d2a8ef55a8ac961e4bf6e65e5a1d1f70f5b74d7ac52bd36f46b90551b
MD5 21f2a2a127c3fcd10da047ac1ee4c43a
BLAKE2b-256 7057e40bdc7b1d9df3deecf356ca148f6d561061e418ebde907388a1f4a596c8

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