yihong0618 / LumaDreamCreator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dream Machine API

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

image

f.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/LumaDreamCreator.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 
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

About


Languages

Language:Python 100.0%