Run locally, audio support (optional), 10‑25s clips, multi-character.
Use one of the provided scripts to start the server:
# Start as a background daemon (recommended)
./start_daemon.sh [PORT]
# Or start in foreground
./start_server.sh [PORT]
# Or use the original script
./run_direct.sh [PORT]The default port is 8084 if not specified.
The application includes several utility scripts:
start_daemon.sh: Starts the server as a background process (won't terminate when terminal closes)start_server.sh: Starts the server in the foregroundkill_server.sh: Utility to kill server processes./kill_server.sh all: Kill all server processes./kill_server.sh 8084: Kill process on specific port
db_migrate.py: Database managementpython db_migrate.py: Migrate database schemapython db_migrate.py --recreate: Recreate database from scratch
sudo apt-get update && sudo apt-get install -y python3-venv python3-dev ffmpeg
python3 -m venv venv && source venv/bin/activate
pip install --upgrade pip wheel
pip install -r requirements.txt
# Install the right torch for your system (GPU highly recommended)You can create a character through the web interface or using the provided script:
./create_character.py --name "Test Character" --image /path/to/image.jpg --url http://localhost:8084- Create characters from images with automatic background removal
- Edit character appearance (scale, rotation, brightness, contrast)
- Configure animation settings (movement, breathing, path type)
- Generate videos with AI avatars on custom backgrounds
- Combine rendered videos with custom audio tracks
- Place multiple characters in scenes
- Configure video settings (duration, resolution, FPS)
- View generated videos
- System information
- Help documentation
- Advanced settings
-
Upload a Character: Enter name, upload image, process with background removal
-
Select and Edit Characters: Browse characters, edit appearance and animation
-
Generate Video: Select characters, describe scene, configure settings, generate
-
Add Audio (Optional): After generating a video, use the
/add-audioAPI or the web interface to upload an audio file and combine it with your video.
If you encounter issues:
- Check server logs in
server.log - Ensure database is properly initialized:
python db_migrate.py --recreate - Verify storage directories have write permissions
- Kill and restart server:
./kill_server.sh all && ./start_daemon.sh 8084