Skip to content

This project is designed to simplify the process of creating Sora 2 AI videos using the API and a web interface.

License

Notifications You must be signed in to change notification settings

classicshi/sora-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sora 2 API video generator image

License: MIT

Description

This project is designed to simplify the process of creating Sora 2 AI videos using the API and a web interface.

How it works?

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.

Requirements🛠

  • Sora 2 API key (you can get it here)
  • Python 3.10+
  • Windows/MacOS/Linux
  • At least 4GB of RAM

Installation

Before using the tool, you need to set it up on your PC. Clone it using Git:

git clone https://github.com/jun6ry/sora2-api

Then you need to install the dependencies:

cd sora2-api
pip install requirements.txt

Usage

To start using the program, you need to configure it first.
Create a .env file:

copy .env.example .env

Then, add your Sora 2 API key to the .env file:

API_KEY=  # your API key here

After that, launch the main.py file:

python main.py

This will open a web page in your browser where you can configure and generate your videos directly.

image

You can switch between text-to-video and image-to-video modes. Once the video is processed, it becomes available for download.

Donations & Sponsorship

If you find this project useful, consider supporting future development:

  • BTC: bc1q8grhtxdw37npcdadm7xa848vquqgurj9ecvpex
  • ERC20: 0x2d19c72fb8b3a7cdc7fa4970b5c777966f547854

Thank you!

About

This project is designed to simplify the process of creating Sora 2 AI videos using the API and a web interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages