/soramagic

Primary LanguageTypeScriptApache License 2.0Apache-2.0

soramagic

SoraMagic 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. 👉 SoraMagic

English | 简体中文

Project Plan

  • ✅ Generate video by words(Use FakeSoraAPI):

    You can see this feature in main branch or tag version-0.1

  • Login with Google:

    Coming soon

  • Stripe payment:

    Coming soon

  • Add OpenAI’s Sora API:

    Waiting for OpenAI launch Sora's API, then we will launch this feature.

Quick Started

Deploy on Vercel

Deploy with Vercel

1. Clone project

git clone git@github.com:nivance/soramagic.git

2. Install dependencies

cd soramagic && yarn
#or
cd soramagic && npm install
#or
cd soramagic && pnpm install

3. copy .env.example and rename it to .env.local

# 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

yarn dev
#or
npm run dev
#or
pnpm dev

5. Open http://localhost:3000 with your browser to see it.

Important

SoraMagic requires FakeSoraAPI to function properly.