A ready-to-use boilerplate for building AI-powered video generation apps using Next.js and Revideo. It’s designed for seamless content creation, supporting dynamic video generation and customization. Perfect for developers building SaaS platforms with scalable, high-performance video generation capabilities.
- Install the dependencies in both the frontend and backend directories:
(cd frontend && npm install) &&
(cd backend && npm install)-
In frontend directory, rename the sample.env.local to .env.local and add your OpenAI API key, Redis URL and Base URL.
OPENAI_API_KEY=your_openai_api_key REDIS_URL=your_redis_url NEXT_PUBLIC_BASE_URL=your_base_url
-
Then, serve the Revideo project using the CLI:
(cd backend && npx revideo serve)- Now you can start your NextJS app using the following command:
(cd frontend && npm run dev)- Open http://localhost:3000/dashboard with your browser to see the result. Happy developing!