feat: remove gpu support and simplify to cpu-only
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m13s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m13s
This commit is contained in:
18
README.md
18
README.md
@@ -1,19 +1,19 @@
|
||||
# FaceFusion API
|
||||
|
||||
REST API wrapping [FaceFusion](https://github.com/facefusion/facefusion) v3.5.3 for face swapping, enhancement, lip sync, and other face/frame processing. Containerized with CPU and CUDA GPU support.
|
||||
REST API wrapping [FaceFusion](https://github.com/facefusion/facefusion) v3.5.3 for face swapping, enhancement, lip sync, and other face/frame processing. Containerized for CPU-only execution.
|
||||
|
||||
## Features
|
||||
|
||||
- Synchronous and asynchronous (job-based) processing
|
||||
- Face swapping, enhancement, editing, lip sync, age modification, expression restoration, frame enhancement/colorization, background removal
|
||||
- Multi-target Docker builds (CPU + CUDA GPU)
|
||||
- Dockerized for easy deployment
|
||||
- Model persistence via Docker volumes
|
||||
- Gitea CI/CD with dual image publishing
|
||||
- Gitea CI/CD automated builds
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
# Build and run (CPU)
|
||||
# Build and run
|
||||
docker compose build
|
||||
docker compose up -d
|
||||
|
||||
@@ -53,7 +53,7 @@ curl http://localhost:8000/api/v1/jobs/{job_id}/result -o result.jpg
|
||||
| `GET` | `/api/v1/models` | List downloaded models |
|
||||
| `POST` | `/api/v1/models/download` | Trigger model download |
|
||||
| `GET` | `/api/v1/health` | Health check |
|
||||
| `GET` | `/api/v1/system` | System info (GPU, memory) |
|
||||
| `GET` | `/api/v1/system` | System info (CPU, memory) |
|
||||
|
||||
## Processing Options
|
||||
|
||||
@@ -80,18 +80,10 @@ Available processors: `face_swapper`, `face_enhancer`, `face_editor`, `lip_synce
|
||||
|
||||
## Deployment
|
||||
|
||||
### CPU (VPS)
|
||||
|
||||
```bash
|
||||
docker compose -f docker-compose.prod.yml up -d
|
||||
```
|
||||
|
||||
### GPU (NVIDIA)
|
||||
|
||||
```bash
|
||||
docker compose -f docker-compose.gpu.yml up -d
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Environment variables (prefix `FF_`):
|
||||
|
||||
Reference in New Issue
Block a user