Try Demo here 👉🏻👉🏻 SwiftSora
SwiftSora is an open-source AI video generator built around the OpenAI Sora model. Developed using full-stack technologies, it integrates Nuxt 3, Vue 3, and Tailwind CSS for both frontend and backend functionalities. Featuring a user-friendly web UI, SwiftSora can be easily deployed on platforms like Vercel and Netlify within minutes.
- Webui + Server
- SSO - Google, Github and more - WIP
- Internationalization - WIP
- English
- 简体中文
- 繁體中文
- 日本語
- Español
- 한국어
- Pricing & Payments
- Stripe payments
- Deployment
- Vercel
- Netlify
- Docker
- Security
- OpenAI API Proxy
- API Connection
- Integration with OpenAI's Sora API (Awaiting the Launch of OpenAI Sora API)
Note
This project is experimental. Although it has undergone optimization, caution is still advised. Use it at your own risk, and be aware of any potential consequences.
The preferred deployment option is Vercel, although you have the flexibility to deploy it on any platform of your choice.
- Select Nuxt.js as the Framework Preset
- Add the following environment variables:
# Your actual OPENAI_API_KEY
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxx
# Specify the Sora model name, check at https://platform.openai.com/docs/api-reference
OPENAI_API_MODEL=sora-1.0
# Set the actual OpenAI base URL or a proxy OpenAI API base URL
# e.g., https://api.openai.com, https://api.myopenaiproxy.com
OPENAI_API_BASE_URL=http://localhost:3000
# Use this URL as the production host for the application
# Always utilize this proxy URL for secure access to any OpenAI API
# e.g., https://www.swiftsora.com/
OPENAI_API_PROXY_URL=http://localhost:3000
Read the Vercel Nuxt deployment guide 👉🏻👉🏻 here.
You can also deploy it using Netlify.
Read the Netlify Nuxt deployment guide 👉🏻👉🏻 here.
Ensure installed the node.js v18+.
Add a .env
file at the home folder. And set the values as mentiond here.
- Replace the value of
OPENAI_API_PROXY_URL
with your deployed URL. For instance, if you have deployed the project to https://swiftsora.vercel.app, update theOPENAI_API_PROXY_URL
to https://swiftsora.vercel.app. - Adjust the
OPENAI_API_BASE_URL
to your deployed URL temporarily. Once the OpenAI Sora API becomes available, update it tohttps://api.openai.com
or any other OpenAI proxy URL.
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Check out the Nuxt.js deployment documentation for more information.
SwiftSora is an open-source full-stack platform, combining Nuxt, Vue 3, and Tailwind CSS for both the front-end and back-end. It features a user-friendly web UI and can be easily installed on platforms like Vercel and Netlify within minutes.
Empowering users to transform text into videos using OpenAI's Sora model, this platform simplifies the video creation process, ensuring smooth deployment and usage.
SwiftSora enables effortless video creation by simply inputting text, making it a versatile tool for professionals and enthusiasts alike in video production and AI technology.
On February 16, 2024, OpenAI unveiled its groundbreaking generative artificial intelligence model, "Sora." It is reported that Sora can generate a video lasting up to 60 seconds directly from textual prompts, featuring highly detailed backgrounds, intricate multi-angle shots, and emotionally rich characters.
This signifies OpenAI's expansion of its advanced AI technology into the realm of videos, following text and images. OpenAI also emphasizes that Sora serves as the foundation for a model capable of understanding and simulating the real world, marking a significant milestone towards achieving AGI (Artificial General Intelligence).
The emergence of OpenAI's video generation model was anticipated within the industry, with some noting that it arrived "faster than imagined." Others expressed excitement, stating that "we are truly witnessing the advent of a new industrial revolution."
As of today, Sora has not been publicly released. However, it is currently accessible to Red Team members for evaluating potential risks and critical areas. The OpenAI Sora team has expanded access to visual artists, designers, and filmmakers to gather feedback for improving the model to meet the needs of creative professionals. OpenAI is sharing early research progress, collaborating with individuals outside the organization, and seeking input to provide insights into upcoming AI features for the public.
Try Demo here 👉🏻👉🏻 SwiftSora
vg.mp4
SwiftSora_VideoGeneration_min.mp4
SwiftSora_HomePage_min.mp4
SwiftSora_AppHome_min.mp4
SwiftSora_AppCommunityFeed_min.mp4
SwiftSora_AppMore_min.mp4
server/routes/fakeOpenAISoraAPI.post.ts
- This is a fake OpenAI Sora API. Please deactivate this API when the official Sora API becomes accessible.server/routes/v1/[...].ts
- This is an OpenAI API proxy. This measure aims to prevent the inadvertent exposure or risk control by OpenAI of your API key.
Clone this repository and make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Check out the Nuxt.js deployment documentation for more information.
Support the author 支持作者
If you find this project enjoyable and genuinely helpful, kindly consider supporting it with your contributions and stars. Thanks! 如果你喜欢这个项目,并且它对你确实有帮助,请不要吝啬你的打赏和Star.