batch-face-swap  by kex0

Stable Diffusion WebUI extension for face swapping

created 2 years ago
337 stars

Top 82.8% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an extension for AUTOMATIC1111's Stable Diffusion WebUI to automatically detect and replace faces in images. It is designed for users of Stable Diffusion who want to perform batch face swapping operations within their existing workflow.

How It Works

The extension integrates with Stable Diffusion's txt2img and img2img pipelines. It leverages face detection to identify faces within an image and then replaces them, allowing for different prompts or models to be used for the initial image generation and the face-swapping process.

Quick Start & Requirements

  • Installation: Automatic installation via the Stable Diffusion WebUI Extensions tab (Available -> Load from: -> Install Batch Face Swap). Manual installation via git clone https://github.com/kex0/batch-face-swap.git into the SD web UI /extensions folder, and adding mediapipe to requirements_versions.txt.
  • Prerequisites: Stable Diffusion WebUI, Python.
  • Links: AUTOMATIC1111/stable-diffusion-webui

Highlighted Details

  • Enables separate prompting and model selection for initial image generation and face replacement.
  • Supports processing single images or batches from a specified folder.
  • Provides example configurations for txt2img and img2img workflows.

Maintenance & Community

This project is no longer being maintained. The author recommends alternative extensions: adetailer and sd-webui-reactor.

Licensing & Compatibility

The repository does not explicitly state a license. Compatibility with commercial or closed-source projects is not specified.

Limitations & Caveats

The project is explicitly marked as no longer maintained. Users are directed to alternative, actively developed extensions for similar functionality.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.