Initial commit: FaceFusion REST API
FastAPI wrapper around FaceFusion v3.5.3 submodule with: - Sync and async (job-based) processing endpoints - FaceFusion bridge with manual key registration and Lock-serialized processing - Multi-target Dockerfile (CPU + CUDA GPU) - Docker Compose configs for dev, prod-cpu, and prod-gpu - Gitea CI/CD workflow with dual image builds - All 11 FaceFusion processors supported via options API Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
42
facefusion.ini
Normal file
42
facefusion.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
[paths]
|
||||
temp_path = /data/temp
|
||||
jobs_path = /data/jobs
|
||||
|
||||
[face_detector]
|
||||
face_detector_model = yolo_face
|
||||
face_detector_size = 640x640
|
||||
face_detector_score = 0.5
|
||||
|
||||
[face_landmarker]
|
||||
face_landmarker_model = 2dfan4
|
||||
|
||||
[face_selector]
|
||||
face_selector_mode = reference
|
||||
face_selector_order = large-small
|
||||
|
||||
[face_masker]
|
||||
face_occluder_model = xseg_1
|
||||
face_parser_model = bisenet_resnet_34
|
||||
face_mask_types = box
|
||||
|
||||
[processors]
|
||||
processors = face_swapper
|
||||
face_swapper_model = hyperswap_1a_256
|
||||
|
||||
[output_creation]
|
||||
output_image_quality = 80
|
||||
output_video_preset = veryfast
|
||||
output_video_quality = 80
|
||||
|
||||
[execution]
|
||||
execution_thread_count = 4
|
||||
|
||||
[memory]
|
||||
video_memory_strategy = moderate
|
||||
|
||||
[download]
|
||||
download_providers = github huggingface
|
||||
download_scope = lite
|
||||
|
||||
[misc]
|
||||
log_level = info
|
||||
Reference in New Issue
Block a user