A local, GPU-accelerated AI video creation studio. Generate talking-head videos, voiceovers, images, music, and full ad campaigns — all running on your own hardware with no cloud APIs.
- Agentic Mode — Describe an ad and the system auto-generates a script, character image, voiceover, background music, and lip-synced video
- Image Generation — Text-to-image via Stable Diffusion XL (1024x1024, customizable)
- 4K Upscaling — Upscale any image to 4K using Real-ESRGAN
- Text-to-Speech — Natural voiceovers with Edge TTS or CoquiTTS
- Voice Cloning — Clone any voice from a sample WAV file
- Music Generation — AI-generated background music from text prompts
- Script Generation — Auto-generate ad scripts, stories, and more via local LLM (Ollama)
- Lip Sync — Sync a face image to audio using SadTalker
- Image Animation — Animate still images into short video clips
- Manual Compose — Step-by-step pipeline: character → voiceover → lip sync
- Timeline — Scene-based timeline for organizing generated content
- Real-time Progress — WebSocket-based progress updates during generation
├── frontend/ React + Vite UI (port 5173)
├── backend/ Node.js/Express API server (port 3001)
├── ai-services/ Python GPU services (port 5000)
│ ├── tts_service.py
│ ├── image_gen_service.py
│ ├── upscale_service.py
│ ├── music_service.py
│ ├── lipsync_service.py
│ ├── animate_service.py
│ ├── script_service.py
│ └── api_server.py
├── outputs/ Generated files (audio, video, images)
├── uploads/ User-uploaded files
├── start.bat Launch frontend + backend
└── start-ai.bat Launch Python AI services
- GPU: NVIDIA GPU with 8GB+ VRAM (RTX 3060 or higher recommended)
- CUDA: CUDA toolkit installed
- Node.js: v18+
- Python: 3.10+
- Ollama: Running locally for script generation
cd backend
npm installcd frontend
npm installcd ai-services
python -m venv venv
venv\Scripts\activate
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
pip install diffusers transformers accelerate safetensors
pip install TTS edge-tts
pip install realesrgan
pip install audiocraft
pip install sadtalkerModels are downloaded automatically on first use (~5-10 GB total).
- Run
start-ai.bat— starts the Python AI server (loads models into GPU) - Run
start.bat— starts the backend API + frontend UI - Open http://localhost:5173 in your browser
- Select the Agentic tab in the sidebar
- Describe your ad (e.g., "A tech startup ad for a productivity app")
- Set product name, tone, aspect ratio
- Click Create — the system handles everything:
- Generates a script
- Creates a character image
- Produces a voiceover
- Generates background music
- Lip-syncs the character to the audio
| Tab | What it does |
|---|---|
| Image | Generate images from text prompts, upscale to 4K |
| Voice | Text-to-speech, voice cloning from samples |
| Music | Generate background music from descriptions |
| Script | Auto-generate ad/story scripts |
| Lip Sync | Sync a face image to an audio file |
| Animate | Turn a still image into a short video |
| Compose | Manual pipeline: image → voice → lip sync |
All endpoints available at http://localhost:3001:
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/health |
Health check |
| POST | /api/upload |
Upload a file |
| POST | /api/tts |
Text to speech |
| POST | /api/voice-clone |
Voice cloning |
| POST | /api/generate-image |
Generate image from prompt |
| POST | /api/upscale |
4K image upscale |
| POST | /api/generate-music |
Generate background music |
| POST | /api/generate-script |
Generate ad/story script |
| POST | /api/lipsync |
Lip sync face + audio |
| POST | /api/animate |
Animate an image |
| POST | /api/compose |
Manual pipeline |
| POST | /api/agentic |
Full auto ad creation |
