# SoraWebui **Repository Path**: pizzaup/SoraWebui ## Basic Information - **Project Name**: SoraWebui - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: login - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-26 - **Last Updated**: 2024-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SoraWebui SoraWebui 是一个开源项目,允许用户使用 OpenAI 的 Sora 模型使用文本在线生成视频,从而简化视频创建,并具有轻松的一键网站部署功能。 👉 [SoraWebui](https://sorawebui.com) [English](https://github.com/SoraWebui/SoraWebui/blob/login/README.md) | 简体中文 | [日本語](https://github.com/SoraWebui/SoraWebui/blob/login/README.ja-JP.md) # 项目计划 - ✅ 通过文字生成视频(使用[FakeSoraAPI](https://github.com/SoraWebui/FakeSoraAPI)): 您可以在 👉 [main](https://github.com/SoraWebui/SoraWebui/tree/main) 或 👉 [version-0.1](https://github.com/SoraWebui/SoraWebui/tree/version-0.1) 中体验该功能 - ✅ 使用谷歌登录: 您可以在 👉 [login](https://github.com/SoraWebui/SoraWebui/tree/login) 中体验该功能 - [ ] Stripe支付: 即将推出 - [ ] 添加 OpenAI 的 Sora API: 等待 OpenAI 开放 Sora 的 API,随后我们就会推出该功能. ## 快速开始 ### 在 Vercel 上部署 [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FSoraWebui%2FSoraWebui%2Ftree%2Flogin&project-name=SoraWebui&repository-name=SoraWebui&external-id=https%3A%2F%2Fgithub.com%2FSoraWebui%2FSoraWebui%2Ftree%2Flogin) ### 1. 克隆项目 ```bash git clone git@github.com:SoraWebui/SoraWebui.git ``` ### 2. 安装依赖 ```bash cd SoraWebui && yarn #or cd SoraWebui && npm install #or cd SoraWebui && pnpm install ``` ### 3. 复制 .env.example 并将其重命名为 .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 # vercel postgres config POSTGRES_URL= POSTGRES_PRISMA_URL= POSTGRES_URL_NO_SSL= POSTGRES_URL_NON_POOLING= POSTGRES_USER= POSTGRES_HOST= POSTGRES_PASSWORD= POSTGRES_DATABASE= # Google auth config GOOGLE_CLIENT_ID= GOOGLE_SECRET_ID= # NEXTAUTH config # create command: openssl rand -base64 32 NEXTAUTH_SECRET= NEXTAUTH_URL=http://localhost ``` ### 4. 额外的配置 1) Google auth config 👉 [Google-Auth-Help](https://github.com/SoraWebui/SoraWebui/blob/login/help/Google-Auth.zh-CN.md) 2) vercel postgres config 👉 [vercel-postgres-Help](https://github.com/SoraWebui/SoraWebui/blob/login/help/vercel-postgres.zh-CN.md) ### 5. 运行 ```bash yarn dev #or npm run dev #or pnpm dev ``` ### 6. 在浏览器打开 [http://localhost](http://localhost) ![success_deploy.jpg](https://sorawebui.com/success_deploy.jpg) # 重要事项 SoraWebui 需要 [FakeSoraAPI](https://github.com/SoraWebui/FakeSoraAPI) 才能正常运行。