runapi-luma 0.3.0__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.5
2
+ Name: runapi-luma
3
+ Version: 0.6.0
4
+ Summary: RunAPI Luma SDK for video modification workflows in JavaScript, Python, Ruby, Go, Java, and PHP
5
+ Project-URL: Homepage, https://runapi.ai/models/luma
6
+ Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
7
+ Project-URL: Source, https://github.com/runapi-ai/luma-sdk
8
+ Project-URL: Issues, https://github.com/runapi-ai/luma-sdk/issues
9
+ Project-URL: Changelog, https://github.com/runapi-ai/luma-sdk/blob/main/CHANGELOG.md
10
+ Project-URL: Release Notes, https://github.com/runapi-ai/luma-sdk/releases/tag/python%2Fv0.6.0
11
+ Author-email: RunAPI <contact@runapi.ai>
12
+ License-Expression: Apache-2.0
13
+ Keywords: api,golang,gradle,java,luma,luma-ai-api,maven,python,ruby,runapi,runapi-ai,sdk,text-to-video,typescript,video-api,video-generation
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Requires-Python: >=3.10
21
+ Requires-Dist: runapi-core~=0.12.0
22
+ Description-Content-Type: text/markdown
23
+
24
+ # Luma API Python SDK for RunAPI
25
+
26
+ 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.
27
+
28
+ 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.
29
+
30
+ ## Install
31
+
32
+ ```bash
33
+ pip install runapi-luma
34
+ ```
35
+
36
+ ## Historical task lookup
37
+
38
+ ```python
39
+ from runapi.luma import LumaClient
40
+
41
+ client = LumaClient()
42
+ status = client.modify_video.get("existing-task-id")
43
+ ```
44
+
45
+ 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.
46
+
47
+ RunAPI-generated file URLs are temporary. Store files from historical results in your own durable storage.
48
+
49
+ ## Language notes
50
+
51
+ Keep `RUNAPI_API_KEY` in the environment or your secret manager. Use the task-status response to inspect historical results and errors.
52
+
53
+ ## Links
54
+
55
+ - Model page: https://runapi.ai/models/luma
56
+ - SDK docs: https://runapi.ai/docs/resources/sdks
57
+ - Product docs: https://runapi.ai/docs/api/luma/modify-video
58
+ - Retirement reference: https://runapi.ai/models/luma
59
+ - Provider comparison: https://runapi.ai/providers/luma
60
+ - Full catalog: https://runapi.ai/models
61
+ - Repository: https://github.com/runapi-ai/luma-sdk
62
+
63
+ ## License
64
+
65
+ Licensed under the Apache License, Version 2.0.
@@ -0,0 +1,42 @@
1
+ # Luma API Python SDK for RunAPI
2
+
3
+ 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.
4
+
5
+ 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.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pip install runapi-luma
11
+ ```
12
+
13
+ ## Historical task lookup
14
+
15
+ ```python
16
+ from runapi.luma import LumaClient
17
+
18
+ client = LumaClient()
19
+ status = client.modify_video.get("existing-task-id")
20
+ ```
21
+
22
+ 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.
23
+
24
+ RunAPI-generated file URLs are temporary. Store files from historical results in your own durable storage.
25
+
26
+ ## Language notes
27
+
28
+ Keep `RUNAPI_API_KEY` in the environment or your secret manager. Use the task-status response to inspect historical results and errors.
29
+
30
+ ## Links
31
+
32
+ - Model page: https://runapi.ai/models/luma
33
+ - SDK docs: https://runapi.ai/docs/resources/sdks
34
+ - Product docs: https://runapi.ai/docs/api/luma/modify-video
35
+ - Retirement reference: https://runapi.ai/models/luma
36
+ - Provider comparison: https://runapi.ai/providers/luma
37
+ - Full catalog: https://runapi.ai/models
38
+ - Repository: https://github.com/runapi-ai/luma-sdk
39
+
40
+ ## License
41
+
42
+ Licensed under the Apache License, Version 2.0.
@@ -4,14 +4,22 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "runapi-luma"
7
- version = "0.3.0"
7
+ version = "0.6.0"
8
8
  description = "RunAPI Luma SDK for video modification workflows in JavaScript, Python, Ruby, Go, Java, and PHP"
9
9
  readme = "README.md"
10
- requires-python = ">=3.9"
10
+ requires-python = ">=3.10"
11
+ classifiers = [
12
+ "Programming Language :: Python :: 3",
13
+ "Programming Language :: Python :: 3.10",
14
+ "Programming Language :: Python :: 3.11",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ "Programming Language :: Python :: 3.14",
18
+ ]
11
19
  license = "Apache-2.0"
12
20
  authors = [{ name = "RunAPI", email = "contact@runapi.ai" }]
13
21
  keywords = ["runapi", "runapi-ai", "luma", "api", "sdk", "typescript", "python", "ruby", "golang", "java", "maven", "gradle", "video-generation", "text-to-video", "video-api", "luma-ai-api"]
14
- dependencies = ["runapi-core~=0.10.0"]
22
+ dependencies = ["runapi-core~=0.12.0"]
15
23
 
16
24
  [project.urls]
17
25
  Homepage = "https://runapi.ai/models/luma"
@@ -19,7 +27,7 @@ Documentation = "https://runapi.ai/docs/resources/sdks"
19
27
  Source = "https://github.com/runapi-ai/luma-sdk"
20
28
  Issues = "https://github.com/runapi-ai/luma-sdk/issues"
21
29
  Changelog = "https://github.com/runapi-ai/luma-sdk/blob/main/CHANGELOG.md"
22
- "Release Notes" = "https://github.com/runapi-ai/luma-sdk/releases/tag/python%2Fv0.3.0"
30
+ "Release Notes" = "https://github.com/runapi-ai/luma-sdk/releases/tag/python%2Fv0.6.0"
23
31
 
24
32
  [tool.hatch.build.targets.wheel]
25
33
  packages = ["src/runapi"]
@@ -1,76 +0,0 @@
1
- Metadata-Version: 2.5
2
- Name: runapi-luma
3
- Version: 0.3.0
4
- Summary: RunAPI Luma SDK for video modification workflows in JavaScript, Python, Ruby, Go, Java, and PHP
5
- Project-URL: Homepage, https://runapi.ai/models/luma
6
- Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
7
- Project-URL: Source, https://github.com/runapi-ai/luma-sdk
8
- Project-URL: Issues, https://github.com/runapi-ai/luma-sdk/issues
9
- Project-URL: Changelog, https://github.com/runapi-ai/luma-sdk/blob/main/CHANGELOG.md
10
- Project-URL: Release Notes, https://github.com/runapi-ai/luma-sdk/releases/tag/python%2Fv0.3.0
11
- Author-email: RunAPI <contact@runapi.ai>
12
- License-Expression: Apache-2.0
13
- Keywords: api,golang,gradle,java,luma,luma-ai-api,maven,python,ruby,runapi,runapi-ai,sdk,text-to-video,typescript,video-api,video-generation
14
- Requires-Python: >=3.9
15
- Requires-Dist: runapi-core~=0.10.0
16
- Description-Content-Type: text/markdown
17
-
18
- # Luma API Python SDK for RunAPI
19
-
20
- The Luma Python SDK is the language-specific package for Luma on RunAPI. Use this package for video generation, animation, and video editing workflows when your application needs request bodies, task status lookup, and consistent RunAPI errors in Python.
21
-
22
- 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.
23
-
24
- ## Install
25
-
26
- ```bash
27
- pip install runapi-luma
28
- ```
29
-
30
- ## Quick start
31
-
32
- ```python
33
- from runapi.luma import LumaClient
34
-
35
- client = LumaClient() # reads RUNAPI_API_KEY, or pass api_key="sk-..."
36
-
37
- task = client.modify_video.create(
38
- model="luma-modify-video",
39
- prompt="Make it cinematic with warm golden tones",
40
- source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
41
- )
42
- status = client.modify_video.get(task.id)
43
- ```
44
-
45
- Use `create` when you want to submit a task and return quickly, `get` when you need the latest task state, and `run` when a script should create and poll until completion:
46
-
47
- ```python
48
- result = client.modify_video.run(
49
- model="luma-modify-video",
50
- prompt="Restyle as a hand-painted animation",
51
- source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
52
- )
53
- print(result.videos[0].url)
54
- ```
55
-
56
- In web request handlers, prefer `create` plus webhook or later `get` polling so a worker is not held open.
57
-
58
- RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.
59
-
60
- ## Language notes
61
-
62
- Pass parameters as keyword arguments and catch the `runapi.luma` error classes when building video jobs, workers, or scripts. The available resource is `modify_video`. Keep `RUNAPI_API_KEY` in the environment or your secret manager; never commit API keys or callback secrets.
63
-
64
- ## Links
65
-
66
- - Model page: https://runapi.ai/models/luma
67
- - SDK docs: https://runapi.ai/docs/resources/sdks
68
- - Product docs: https://runapi.ai/docs/api/luma/modify-video
69
- - Pricing and rate limits: https://runapi.ai/models/luma
70
- - Provider comparison: https://runapi.ai/providers/luma
71
- - Full catalog: https://runapi.ai/models
72
- - Repository: https://github.com/runapi-ai/luma-sdk
73
-
74
- ## License
75
-
76
- Licensed under the Apache License, Version 2.0.
@@ -1,59 +0,0 @@
1
- # Luma API Python SDK for RunAPI
2
-
3
- The Luma Python SDK is the language-specific package for Luma on RunAPI. Use this package for video generation, animation, and video editing workflows when your application needs request bodies, task status lookup, and consistent RunAPI errors in Python.
4
-
5
- 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.
6
-
7
- ## Install
8
-
9
- ```bash
10
- pip install runapi-luma
11
- ```
12
-
13
- ## Quick start
14
-
15
- ```python
16
- from runapi.luma import LumaClient
17
-
18
- client = LumaClient() # reads RUNAPI_API_KEY, or pass api_key="sk-..."
19
-
20
- task = client.modify_video.create(
21
- model="luma-modify-video",
22
- prompt="Make it cinematic with warm golden tones",
23
- source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
24
- )
25
- status = client.modify_video.get(task.id)
26
- ```
27
-
28
- Use `create` when you want to submit a task and return quickly, `get` when you need the latest task state, and `run` when a script should create and poll until completion:
29
-
30
- ```python
31
- result = client.modify_video.run(
32
- model="luma-modify-video",
33
- prompt="Restyle as a hand-painted animation",
34
- source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
35
- )
36
- print(result.videos[0].url)
37
- ```
38
-
39
- In web request handlers, prefer `create` plus webhook or later `get` polling so a worker is not held open.
40
-
41
- RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.
42
-
43
- ## Language notes
44
-
45
- Pass parameters as keyword arguments and catch the `runapi.luma` error classes when building video jobs, workers, or scripts. The available resource is `modify_video`. Keep `RUNAPI_API_KEY` in the environment or your secret manager; never commit API keys or callback secrets.
46
-
47
- ## Links
48
-
49
- - Model page: https://runapi.ai/models/luma
50
- - SDK docs: https://runapi.ai/docs/resources/sdks
51
- - Product docs: https://runapi.ai/docs/api/luma/modify-video
52
- - Pricing and rate limits: https://runapi.ai/models/luma
53
- - Provider comparison: https://runapi.ai/providers/luma
54
- - Full catalog: https://runapi.ai/models
55
- - Repository: https://github.com/runapi-ai/luma-sdk
56
-
57
- ## License
58
-
59
- Licensed under the Apache License, Version 2.0.