A modern, beautiful React application for testing AI video generation models from multiple providers. Built with a stunning glassmorphism design inspired by TryCrib, this app allows you to easily test and compare different AI video generation APIs.
- Multi-Provider Support: Test both Replicate Sora-2 and OpenAI Sora-2 models
- Beautiful UI: Modern glassmorphism design with gradient backgrounds
- Real-time Generation: Live progress tracking and status updates
- API Key Management: Secure input fields for both providers
- Video Player: Built-in video player with full controls
- Debug Panel: Comprehensive logging and debugging tools
- Responsive Design: Works perfectly on desktop and mobile
- Choose Provider: Select between "Replicate Sora-2" or "OpenAI Sora-2"
- Enter API Key: Input your API key for the selected provider
- Write Prompt: Describe the video you want to generate
- Generate: Click "Generate Video" and wait for completion
- Watch: View your generated video in the built-in player
- Sign up at replicate.com
- Navigate to your account settings
- Generate a new API token
- Add to your
.envfile:REPLICATE_API_TOKEN=your_token_here
- Visit platform.openai.com
- Create an account and generate an API key
- Add to your
.envfile:OPENAI_API_KEY=your_key_here
- Node.js 16+ and npm
- API keys for your chosen providers
-
Clone the repository:
git clone https://github.com/anilmurty/ai-video-model-tester.git cd ai-video-model-tester -
Install dependencies:
npm install
-
Set up your API keys: Create a
.envfile in the root directory:# For Replicate (recommended) REPLICATE_API_TOKEN=your_replicate_token_here # For OpenAI (optional) OPENAI_API_KEY=your_openai_key_here
-
Start the application:
npm run dev:full
-
Open your browser: Navigate to http://localhost:3000
npm start- Start React development servernpm run api-server- Start the API proxy servernpm run dev:full- Run both frontend and backend concurrentlynpm run build- Build for productionnpm test- Run tests
ai-video-model-tester/
├── src/
│ ├── App.js # Main React component
│ ├── App.css # Styling with glassmorphism effects
│ └── index.js # React entry point
├── dev-server.js # Express API proxy server
├── package.json # Dependencies and scripts
├── .env # Environment variables (not committed)
└── README.md # This file
- Frontend: React 18 with modern hooks
- Backend: Express.js with CORS support
- Styling: Custom CSS with glassmorphism effects
- API Integration: Replicate and OpenAI Sora-2 models
- Video Processing: Real-time polling and status updates
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Commit:
git commit -m 'Add feature' - Push:
git push origin feature-name - Submit a pull request
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.