{"id":13456708,"url":"https://github.com/kex0/batch-face-swap","last_synced_at":"2025-03-24T11:31:04.892Z","repository":{"id":65265915,"uuid":"587573950","full_name":"kex0/batch-face-swap","owner":"kex0","description":"Automaticaly detects faces and replaces them","archived":false,"fork":false,"pushed_at":"2023-09-14T04:23:07.000Z","size":6288,"stargazers_count":338,"open_issues_count":26,"forks_count":39,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T00:32:18.645Z","etag":null,"topics":["automatic1111","stable-diffusion","stable-diffusion-webui","stable-diffusion-webui-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kex0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-11T04:09:21.000Z","updated_at":"2024-09-25T07:50:33.000Z","dependencies_parsed_at":"2024-01-13T17:48:20.982Z","dependency_job_id":"a2cb47b2-1135-40c0-bbda-3996f5ed577b","html_url":"https://github.com/kex0/batch-face-swap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kex0%2Fbatch-face-swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kex0%2Fbatch-face-swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kex0%2Fbatch-face-swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kex0%2Fbatch-face-swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kex0","download_url":"https://codeload.github.com/kex0/batch-face-swap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245260782,"owners_count":20586466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic1111","stable-diffusion","stable-diffusion-webui","stable-diffusion-webui-plugin"],"created_at":"2024-07-31T08:01:26.415Z","updated_at":"2025-03-24T11:31:04.526Z","avatar_url":"https://github.com/kex0.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# !!! This project is no longer being maintained !!!\n## I recommend trying these extensions instead https://github.com/Bing-su/adetailer and/or https://github.com/Gourieff/sd-webui-reactor\n\n## Batch Face Swap extension for https://github.com/AUTOMATIC1111/stable-diffusion-webui\n Automaticaly detects faces and replaces them.\n \n![preview](https://user-images.githubusercontent.com/46696708/236370022-1e243f62-a59c-437a-a841-d9a3d37778aa.png)\n\n## Installation\n### Automatic:\n1. In the WebUI go to `Extensions`.\n2. Open `Available` tab and click `Load from:` button.\n3. Find `Batch Face Swap` and click `Install`.\n4. Apply and restart UI\n### Manual:\n1. Use `git clone https://github.com/kex0/batch-face-swap.git` from your SD web UI `/extensions` folder. \n2. Open `requirements_versions.txt` in the main SD web UI folder and add `mediapipe`.\n3. Start or reload SD web UI.\n\n## txt2img Guide\n1. Expand the `Batch Face Swap` tab in the lower left corner.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236360445-7391d68b-4973-4b43-aa75-f8a8782f6c4e.png\"\u003e\n    \u003c/details\u003e\n2. Click the checkbox to enable it.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236361252-5a1d05c8-e216-4685-a7ef-80733e08a08a.png\"\u003e\n    \u003c/details\u003e\n3. Click `Generate`\n\n## img2img Guide\n1. Expand the `Batch Face Swap` tab in the lower left corner.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236361645-84519cfe-d6a1-492f-adab-3baca037b6de.png\"\u003e\n    \u003c/details\u003e\n2. Click the checkbox to enable it.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236361252-5a1d05c8-e216-4685-a7ef-80733e08a08a.png\"\u003e\n    \u003c/details\u003e\n3. You can process either 1 image at a time by uploading your image at the top of the page.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236361988-78cfe787-d17a-46a1-bb41-4865a57dcdda.png\"\u003e\n    \u003c/details\u003e\n    Or you can give it path to a folder containing your images.\n    \u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n   \u003cimg src=\"https://user-images.githubusercontent.com/46696708/236362301-53ce2315-9fa1-46e3-9698-d9164e1354be.png\"\u003e\n    \u003c/details\u003e\n4. Click `Generate`\n\nOverride options only affect face generation so for example in `txt2img` you can generate the initial image with one prompt and face swap with another. Or generate the initial image with one model and faceswap with another.\n\u003cdetails\u003e\n\u003csummary\u003eExample\u003c/summary\u003e\n\nLeft 'young woman in red dress' using `chilloutMix`\nRight 'Emma Watson in red dress' using `realisticVision`\n\u003cimg src=\"https://user-images.githubusercontent.com/46696708/236363435-07e1cc38-062b-4696-9ce3-11239812f898.png\"\u003e\n\u003c/details\u003e\n\n![chrome_XSjamNtABV](https://user-images.githubusercontent.com/46696708/236360114-bd902f03-73cb-4836-a647-27f5371e3197.png)\n\n## Example\n![example](https://user-images.githubusercontent.com/46696708/211818536-7d3bd06e-f6b1-40e9-854e-9cb44be3b2f8.png)\n\nPrompt:\n```ShellSession\ndetailed closeup photo of Emma Watson, 35mm, dslr\nNegative prompt: (painting:1.3), (concept art:1.2), artstation, sketch, illustration, drawing, blender, octane, 3d, render, blur, smooth, low-res, grain, cartoon, watermark, text, out of focus\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkex0%2Fbatch-face-swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkex0%2Fbatch-face-swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkex0%2Fbatch-face-swap/lists"}