# lumaDreamMachineAPI **Repository Path**: yrj109/luma-dream-machine-api ## Basic Information - **Project Name**: lumaDreamMachineAPI - **Description**: luma图生视频功能 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-18 - **Last Updated**: 2024-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Dream Machine API A Python script to generate videos using the Dream Machine API and fetch the latest generated video link. ## Website Try it online https://dreammachineai.io/ ## Features - Generate videos via Dream Machine API. - Asynchronously check for video generation status. - Output the latest generated video link. ## Prerequisites - Python 3.7+ - `requests` - `aiohttp` ## Installation 1. Clone the repository: ```bash 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/ Get your access_token here ![WechatIMG4170.jpg](https://s2.loli.net/2024/06/13/Cd6gQ4AaZKGNb3r.png) 2. Run Script: ```bash python main.py ``` 3. Result ![WechatIMG4186.jpg](https://s2.loli.net/2024/06/14/cBe9M3kLijZQaYH.jpg) ## Star History [![Star History Chart](https://api.star-history.com/svg?repos=danaigc/DreamMachineAPI&type=Date)](https://star-history.com/#danaigc/DreamMachineAPI&Date)