all-in-aigc / sorafm

Sora AI Video Generator by Sora.FM
https://sorafm.trys.ai
Apache License 2.0
951 stars 273 forks source link
ai-video-generator ai-video-showcase sora

Sora.FM

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.

中文说明

Live Demo

https://sorafm.trys.ai

preview

Deploy with Vercel

Deploy with Vercel

Deploy with docker

sudo docker build -f deploy/Dockerfile -t sorafm:latest .
sudo docker run -itd -p 127.0.0.1:8014:8080 --restart=always sorafm:latest
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;
}

Local development

  1. clone project
git clone https://github.com/all-in-aigc/sorafm
  1. install dependencies
cd sorafm
pnpm install
  1. init database

create your database use local postgres or vercel-postgres or supabase

create tables from sql at data/install.sql

  1. 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"
  1. local development
pnpm dev --port 3000

open http://localhost:3000 for preview

Credit to

Other Things

you can contact me at Twitter: https://twitter.com/idoubicc

if this project is helpful to you, buy be a coffee.

Buy Me A Coffee

Star History

Star History Chart