Luma AI API wrapper library and CLI
Reason this release was yanked:
pre-release
Project description
Luma API Python client
Installation
pip install lumaapi
Docs: https://captures.lumalabs.ai/luma-api/client-docs
To build docs: go to docs/ and
make html
Need to install requirements first time (pip install -r docs/requirements.txt
)
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
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(7.2 kB
view hashes)