Metadata-Version: 2.1
Name: luma-creator
Version: 0.0.2
Summary: High quality video generation by https://lumalabs.ai/. Reverse engineered API.
Home-page: https://github.com/yihong0618/LumaDreamCreator
Author: danaigc, yihong0618
Author-email: zouzou0208@gmail.com
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: fake-useragent

# IdeoImageCreator
Fork from https://github.com/danaigc/DreamMachineAPI
About High quality video generation by lumalabs.ai. Reverse engineered API.

![image](./a.png)

![video](./a.mp4)

## How to
- Login https://lumalabs.ai/ and generate video.
- Use `Chrome` or other browsers to inspect the network requests (F12 -> XHR).
- Clone this REPO -> `git clone https://github.com/yihong0618/IdeoImageCreator.git`
- Copy the cookie.
 Export LUMA_COOKIE='xxxxx'.

## Usage

```
python -m luma --prompt 'make this picture alive' -I a.png
```

or
```
pip install -U luma-creator 
```

```python
from luma import VideoGen
i = VideoGen('cookie', 'image_url' ) # Replace 'cookie', image_url with your own
print(i.get_limit_left())
i.save_video("a blue cyber dream", './output')
```

## Thanks

- [DreamMachineAPI](https://github.com/danaigc/DreamMachineAPI)
