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

Uploaded Python 3

File details

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

File metadata

  • Download URL: uthana-0.1.2.tar.gz
  • Upload date:
  • Size: 6.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.2.tar.gz
Algorithm Hash digest
SHA256 5eb956cd6a6ea6fa99b2b7a2536b291c7653d2eca2bb510dcaa8ce1c200b7623
MD5 271ed557d5c02caaf78f2b59bb918061
BLAKE2b-256 19aaca54b30a8ec17bf11f140b775348da1fa378167077af8486d105defbc765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uthana-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb3de9d12978cb0b5dad41d5dd2463b2b585e01fc1264fbc89489a40be5eb640
MD5 f5633f552722e38f1dbff20079186fc5
BLAKE2b-256 d989abdcb2aab16597502f6df74426bd21ea9e045ddd3ecc8121125bc23f0d6d

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