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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

uthana-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uthana-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0aa7c93b40bebb24305b868f4475621cf7d181e94bc1a194d2eab17754899811
MD5 a70b157dd820e5d35d7e5866b68f12dd
BLAKE2b-256 8d232082a6c9cda74635650a56bc73e4dcc466467c1c8e478a2bd8db67ea1f59

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