This project is designed to simplify the process of creating Sora 2 AI videos using the API and a web interface.
The tool connects to the Sora 2 API to handle video generation requests. Users can define video parameters through a simple web interface, and the system automatically sends them to the API. Once the video is processed, the result becomes available for preview and download.
- Sora 2 API key (you can get it here)
- Python 3.10+
- Windows/MacOS/Linux
- At least 4GB of RAM
Before using the tool, you need to set it up on your PC. Clone it using Git:
git clone https://github.com/jun6ry/sora2-apiThen you need to install the dependencies:
cd sora2-api
pip install requirements.txtTo start using the program, you need to configure it first.
Create a .env file:
copy .env.example .envThen, add your Sora 2 API key to the .env file:
API_KEY= # your API key hereAfter that, launch the main.py file:
python main.pyThis will open a web page in your browser where you can configure and generate your videos directly.
You can switch between text-to-video and image-to-video modes. Once the video is processed, it becomes available for download.
If you find this project useful, consider supporting future development:
- BTC: bc1q8grhtxdw37npcdadm7xa848vquqgurj9ecvpex
- ERC20: 0x2d19c72fb8b3a7cdc7fa4970b5c777966f547854
Thank you!