Skip to main content

Luma API Python client

WARNING: We are no longer actively supporting this capture API. For Genie API, please contact us for information.

Installation

pip install lumaapi

Docs

https://lumalabs.ai/luma-api/client-docs/index.html

To build docs: go to docs/ and

make html

Need to install requirements first time (pip install -r docs/requirements.txt)

Release

First install deps pip install python-build twine

Then update the version in pyproject.toml and

python -m build
twine upload dist/lumaapi-<x.x.x>.tar.gz

For Luma employees: Please get the password from 1Password (search PyPI)

CLI usage

  • To submit a video: luma submit <path> <title>, where path can be a video, zip, or directory.
    • This outputs a slug.
  • To check status of the capture: luma status <slug>
  • To search user's captures: luma get <title>
  • To manually authenticate: luma auth (CLI will also prompt when required)
  • To check for credits: luma credits

Library usage

from lumaapi import LumaClient
client = LumaClient(api_key)
slug = client.submit(video_path, title)
print(client.status(slug))

Then use functions corresponding to the CLI

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumaapi-0.0.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

lumaapi-0.0.5-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file lumaapi-0.0.5.tar.gz.

File metadata

  • Download URL: lumaapi-0.0.5.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for lumaapi-0.0.5.tar.gz
Algorithm Hash digest
SHA256 16a18c038805b5448133e0ad39d5877bf08ccade68f4d2f871c2570b7f8defec
MD5 3a8d943761a63e02c1f664a05fe8c8e6
BLAKE2b-256 9f3a81e2db886e168c6d73966326abe5dc82de83cefcbd1d10c438e791340b6c

See more details on using hashes here.

File details

Details for the file lumaapi-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: lumaapi-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for lumaapi-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 739537c71ae3da9203ab93854582f82f6fad4e85a48f2877f5f098c00352f904
MD5 8fe4babc3fef19f2ac70ba2bdf7f2751
BLAKE2b-256 7ded04b047305452f897257b7e28507e9874d1ef509d624f3f2a4a5506f84bdc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

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