Metadata-Version: 2.5
Name: runapi-luma
Version: 0.5.0
Summary: RunAPI Luma SDK for video modification workflows in JavaScript, Python, Ruby, Go, Java, and PHP
Project-URL: Homepage, https://runapi.ai/models/luma
Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
Project-URL: Source, https://github.com/runapi-ai/luma-sdk
Project-URL: Issues, https://github.com/runapi-ai/luma-sdk/issues
Project-URL: Changelog, https://github.com/runapi-ai/luma-sdk/blob/main/CHANGELOG.md
Project-URL: Release Notes, https://github.com/runapi-ai/luma-sdk/releases/tag/python%2Fv0.5.0
Author-email: RunAPI <contact@runapi.ai>
License-Expression: Apache-2.0
Keywords: api,golang,gradle,java,luma,luma-ai-api,maven,python,ruby,runapi,runapi-ai,sdk,text-to-video,typescript,video-api,video-generation
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: runapi-core~=0.10.1
Description-Content-Type: text/markdown

# Luma API Python SDK for RunAPI

Luma Modify Video (`luma-modify-video`) was retired on 2026-10-14. New requests return HTTP 410 before task creation or balance deduction. The old ID does not map to a replacement. This package remains available for historical task lookup.

This README is the Python package guide inside the public `luma-sdk` repository. For the repository overview, start at `../README.md`; for model details, use https://runapi.ai/models/luma; for API reference, use https://runapi.ai/docs/api/luma/modify-video; for SDK docs, use https://runapi.ai/docs/resources/sdks.

## Install

```bash
pip install runapi-luma
```

## Historical task lookup

```python
from runapi.luma import LumaClient

client = LumaClient()
status = client.modify_video.get("existing-task-id")
```

Use `get` for an existing task ID. Luma has no callable model for new tasks. Do not use `create` or `run` to submit Luma work.

RunAPI-generated file URLs are temporary. Store files from historical results in your own durable storage.

## Language notes

Keep `RUNAPI_API_KEY` in the environment or your secret manager. Use the task-status response to inspect historical results and errors.

## Links

- Model page: https://runapi.ai/models/luma
- SDK docs: https://runapi.ai/docs/resources/sdks
- Product docs: https://runapi.ai/docs/api/luma/modify-video
- Retirement reference: https://runapi.ai/models/luma
- Provider comparison: https://runapi.ai/providers/luma
- Full catalog: https://runapi.ai/models
- Repository: https://github.com/runapi-ai/luma-sdk

## License

Licensed under the Apache License, Version 2.0.
