FrameFusion is a Python-based video generator that creates videos using image folders and audio clips. It includes a FastAPI backend and a React frontend to streamline usage across various video styles.
FrameFusion/
├── api/ # FastAPI backend (entrypoint: main.py, requirements.txt inside)
├── frontend/ # React frontend for interaction
└── README.md
- Generate videos from images and audio
- Available API endpoints:
/lofi– Lofi-style loop/shorts– Vertical short-form/video– Standard format/youtube– YouTube-ready format
- React UI for managing and triggering jobs
Install dependencies (from inside the api folder):
cd api
pip install -r requirements.txtRun the API:
uvicorn main:app --reloadInside the frontend folder:
cd ../frontend
npm install
npm run devimages/— Subfolders represent video sourcesaudio/— Audio files randomly selectedoutput/— Output videos are saved here
| Method | Endpoint | Description |
|---|---|---|
| GET | /lofi |
Generate lofi loop video |
| GET | /shorts |
Generate vertical short |
| GET | /video |
Generate standard video |
| GET | /youtube |
Generate YouTube-style video |
Each endpoint uses similar logic with format-specific adjustments.
MIT License — free to use and modify.