You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
Markdown
60 lines
1.4 KiB
Markdown
# SoraWebui
|
|
SoraWebui is an open-source project that simplifies video creation by allowing users to generate videos online with OpenAI's Sora model using text, featuring easy one-click website deployment.
|
|
👉 [SoraWebui](https://sorawebui.com)
|
|
|
|
<div align="left">
|
|
|
|
English | [简体中文](https://github.com/SoraWebui/SoraWebui/blob/main/README.zh-CN.md)
|
|
|
|
</div>
|
|
|
|
## Quick Started
|
|
|
|
### Deploy on Vercel
|
|
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FSoraWebui%2FSoraWebui&project-name=SoraWebui&repository-name=SoraWebui&external-id=https%3A%2F%2Fgithub.com%2FSoraWebui%2FSoraWebui%2Ftree%2Fmain)
|
|
|
|
### 1. Clone project
|
|
|
|
```bash
|
|
git clone git@github.com:SoraWebui/SoraWebui.git
|
|
```
|
|
|
|
### 2. Install dependencies
|
|
|
|
```bash
|
|
cd SoraWebui && yarn
|
|
#or
|
|
cd SoraWebui && npm install
|
|
#or
|
|
cd SoraWebui && pnpm install
|
|
```
|
|
|
|
### 3. copy .env.example and rename it to .env.local
|
|
|
|
```bash
|
|
# website URL
|
|
NEXT_PUBLIC_SITE_URL=http://localhost
|
|
|
|
# openai config
|
|
OPENAI_API_KEY=sk-XXXXXX
|
|
OPENAI_API_BASE_URL=http://localhost:8081
|
|
OPENAI_API_MODEL=sora-1.0-turbo
|
|
```
|
|
|
|
### 4. Run it
|
|
|
|
```bash
|
|
yarn dev
|
|
#or
|
|
npm run dev
|
|
#or
|
|
pnpm dev
|
|
```
|
|
|
|
### 5. Open [http://localhost](http://localhost) with your browser to see it.
|
|
![success_deploy.jpg](https://sorawebui.com/success_deploy.jpg)
|
|
|
|
|
|
### Important
|
|
SoraWebui requires [FakeSoraAPI](https://github.com/SoraWebui/FakeSoraAPI) to function properly.
|