Sora AI Video Generator
Sora text-to-video API is not available. All the videos display on Sora.FM are generated by OpenAI's red team.
- build image
sudo docker build -f deploy/Dockerfile -t sorafm:latest .
- run server
sudo docker run -itd -p 127.0.0.1:8014:8080 --restart=always sorafm:latest
- nginx conf
server {
listen 80;
location / {
proxy_pass http://127.0.0.1:8014/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_log /var/log/nginx/sorafm.error;
}
- clone project
git clone https://github.com/all-in-aigc/sorafm
- install dependencies
cd sorafm
pnpm install
- init database
create your database use local postgres or vercel-postgres or supabase
create tables from sql at data/install.sql
- set environmental values
put .env.local
under root dir with values list below
POSTGRES_URL="postgres://USER:PASSWORD@HOST/DB"
WEB_BASE_URI="http://localhost:3000"
- local development
pnpm dev --port 3000
open http://localhost:3000
for preview
- aiwallpaper for code reference
- nextjs for full-stack development
- node-postgres for data processing
- tailwindcss for page building
you can contact me at Twitter: https://twitter.com/idoubicc
if this project is helpful to you, buy be a coffee.