A Python script to generate videos using the Dream Machine API and fetch the latest generated video link.
Try it online https://dreammachineai.io/
- Generate videos via Dream Machine API.
- Asynchronously check for video generation status.
- Output the latest generated video link.
- Python 3.7+
requests
aiohttp
-
Clone the repository:
git clone https://github.com/danaigc/DreamMachineAPI.git cd DreamMachineAPI pip install -r requirements.txt
You need to replace the value of the access_token variable to make sure the project works
Log in using Google Chrome https://lumalabs.ai/dream-machine/
-
Run Script:
python main.py
-
Result