Socket
Socket
Sign inDemoInstall

envisionreality.lumaapi

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    envisionreality.lumaapi

Luma AI API wrapper library and CLI


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc