A Python script to generate videos using the Dream Machine API and fetch the latest generated video link.
- 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
-
Create a virtual environment and activate it (optional):
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install requests aiohttp