{"id":15120766,"url":"https://github.com/c0untfloyd/roop-unleashed","last_synced_at":"2025-09-28T04:31:22.201Z","repository":{"id":173682580,"uuid":"651123007","full_name":"C0untFloyd/roop-unleashed","owner":"C0untFloyd","description":"Evolved Fork of roop with Web Server and lots of additions","archived":false,"fork":true,"pushed_at":"2024-12-30T15:39:12.000Z","size":106661,"stargazers_count":2416,"open_issues_count":17,"forks_count":562,"subscribers_count":54,"default_branch":"main","last_synced_at":"2024-12-30T16:25:43.834Z","etag":null,"topics":["ai","deepfake","face-swap","gfpgan","insightface","text-masking","zero-shot-swapping"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"s0md3v/roop","license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/C0untFloyd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-08T14:43:45.000Z","updated_at":"2024-12-30T15:22:08.000Z","dependencies_parsed_at":"2023-10-13T07:14:18.298Z","dependency_job_id":null,"html_url":"https://github.com/C0untFloyd/roop-unleashed","commit_stats":null,"previous_names":["c0untfloyd/roop-extended","c0untfloyd/roop-unleashed"],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C0untFloyd%2Froop-unleashed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C0untFloyd%2Froop-unleashed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C0untFloyd%2Froop-unleashed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C0untFloyd%2Froop-unleashed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/C0untFloyd","download_url":"https://codeload.github.com/C0untFloyd/roop-unleashed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234485319,"owners_count":18840795,"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":["ai","deepfake","face-swap","gfpgan","insightface","text-masking","zero-shot-swapping"],"created_at":"2024-09-26T02:00:44.631Z","updated_at":"2025-09-28T04:31:21.966Z","avatar_url":"https://github.com/C0untFloyd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# roop-unleashed\n\n[Changelog](#changelog) • [Usage](#usage) • [Wiki](https://github.com/C0untFloyd/roop-unleashed/wiki)\n\n\nUncensored Deepfakes for images and videos without training and an easy-to-use GUI.\n\n\n![Screen](https://github.com/C0untFloyd/roop-unleashed/assets/131583554/6ee6860d-efbe-4337-8c62-a67598863637)\n\n### Features\n\n- Platform-independant Browser GUI\n- Selection of multiple input/output faces in one go\n- Many different swapping modes, first detected, face selections, by gender\n- Batch processing of images/videos\n- Masking of face occluders using text prompts or automatically\n- Optional Face Upscaler/Restoration using different enhancers\n- Preview swapping from different video frames\n- Live Fake Cam using your webcam\n- Extras Tab for cutting videos etc.\n- Settings - storing configuration for next session\n- Theme Support\n\nand lots more...\n\n\n## Disclaimer\n\nThis project is for technical and academic use only.\nUsers of this software are expected to use this software responsibly while abiding the local law. If a face of a real person is being used, users are suggested to get consent from the concerned person and clearly mention that it is a deepfake when posting content online. Developers of this software will not be responsible for actions of end-users.\n**Please do not apply it to illegal and unethical scenarios.**\n\nIn the event of violation of the legal and ethical requirements of the user's country or region, this code repository is exempt from liability\n\n### Installation\n\nPlease refer to the [wiki](https://github.com/C0untFloyd/roop-unleashed/wiki).\n\n#### macOS Installation\nSimply run the following command. It will check and install all dependencies if necessary.\n\n`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/PJF16/roop-unleashed/master/installer/macOSinstaller.sh)\"`\n\n\n\n### Usage\n\n- Windows: run the `windows_run.bat` from the Installer.\n- Linux: `python run.py`\n- macOS: `sh runMacOS.sh`\n- Dockerfile:\n  ```shell\n  docker build -t roop-unleashed . \u0026\u0026 docker run -t \\\n    -p 7860:7860 \\\n    -v ./config.yaml:/app/config.yaml \\\n    -v ./models:/app/models \\\n    -v ./temp:/app/temp \\\n    -v ./output:/app/output \\\n    roop-unleashed\n  ```\n\n\u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/C0untFloyd/roop-unleashed/blob/main/roop-unleashed.ipynb\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\n\u003c/a\u003e\n  \n\nAdditional commandline arguments are currently unsupported and settings should be done via the UI.\n\n\u003e Note: When you run this program for the first time, it will download some models roughly ~2Gb in size.\n\n\n\n\n### Changelog\n\n**03.01.2025** v4.4.1\n\nBugfix: Extras Tab\nBugfix: Preview Mask\nBugfix: DMDNet working on Cuda only\nUpdated Colab Script to also install CUDNN\n\n\n**31.12.2024** v4.4.0 Hotfix\n\nBugfix: Updated Colab to use present Cuda Drivers\nBugfix: Live-Cam not working because of new face swapper\nSet default swapping model back to Insightface\n\nHappy New Year!\n\n\n**30.12.2024** v4.4.0\n\n- Added random face selection mode\n- Added alternative face swapping model with 128px \u0026 256 px output ([ReSwapper](https://github.com/somanchiu/ReSwapper/tree/main))\n- Video repair added to Extras Tab\n- Updated most packages to newer versions. CUDA \u003e= 12.4 now required!\n- Several minor bugfixes and QoL Changes\n\n\n**28.9.2024** v4.3.1\n\n- Bugfix: Several possible memory leaks\n- Added different output modes, e.g. to virtual cam stream\n- New swapping mode \"All input faces\"\n- Average total fps displayed and setting for autorun\n\n\n**16.9.2024** v4.2.8\n\n- Bugfix: Starting roop-unleashed without NVIDIA gpu but cuda option enabled\n- Bugfix: Target Faces couldn't be moved left/right\n- Bugfix: Enhancement and upscaling working again in virtual cam\n- Corrupt videos caught when adding to target files, displaying warning msg\n- Source Files Component cleared after face detection to release temp files\n- Added masking and mouth restore options to virtual cam\n\n\n**9.9.2024** v4.2.3\n\n- Hotfix for gradio pydantic issue with fastapi\n- Upgraded to Gradio 4.43 hoping it will fix remaining issues\n- Added new action when no face detected -\u003e use last swapped\n- Specified image format for image controls - opening new tabs on preview images possible again!\n- Hardcoded image output format for livecam to jpeg - might be faster than previous webp\n- Chain events to be only executed if previous was a success\n\n\n**5.9.2024** v4.2.0\n\n- Added ability to move input \u0026 target faces order\n- New CLI Arguments override settings\n- Small UI changes to faceswapping tab\n- Added mask option and code for restoration of original mouth area\n- Updated gradio to v4.42.0\n- Added CLI Arguments --server_share and --cuda_device_id\n- Added webp image support\n\n\n**15.07.2024** v4.1.1\n\n- Bugfix: Post-processing after swapping\n\n\n**14.07.2024** v4.1.0\n\n- Added subsample upscaling to increase swap resolution\n- Upgraded gradio\n\n\n**12.05.2024** v4.0.0\n\n- Bugfix: Unnecessary init every frame in live-cam\n- Bugfix: Installer downloading insightface package each run\n- Added xseg masking to live-cam\n- Added realesrganx2 to frame processors\n- Upgraded some requirements\n- Added subtypes and different model support to frame processors\n- Allow frame processors to change resolutions of videos\n- Different OpenCV Cap for MacOS Virtual Cam\n- Added complete frame processing to extras tab\n- Colorize, upscale and misc filters added\n\n\n**22.04.2024** v3.9.0\n\n- Bugfix: Face detection bounding box corrupt values at weird angles\n- Rewrote mask previewing to work with every model\n- Switching mask engines toggles text interactivity\n- Clearing target files, resets face selection dropdown\n- Massive rewrite of swapping architecture, needed for xseg implementation\n- Added DFL Xseg Support for partial face occlusion\n- Face masking only runs when there is a face detected\n- Removed unnecessary toggle checkbox for text masking\n\n\n**22.03.2024** v3.6.5\n\n- Bugfix: Installer pulling latest update on first installation\n- Bugfix: Regression issue, blurring/erosion missing from face swap\n- Exposed erosion and blur amounts to UI\n- Using same values for manual masking too\n\n\n**20.03.2024** v3.6.3\n\n- Bugfix: Workaround for Gradio Slider Change Bug\n- Bugfix: CSS Styling to fix Gradio Image Height Bug\n- Made face swapping mask offsets resolution independant\n- Show offset mask as overlay\n- Changed layout for masking\n\n\n**18.03.2024** v3.6.0\n\n- Updated to Gradio 4.21.0 - requiring many changes under the hood\n- New manual masking (draw the mask yourself)\n- Extras Tab, streamlined cutting/joining videos\n- Re-added face selection by gender (on-demand loading, default turned off)\n- Removed unnecessary activate live-cam option\n- Added time info to preview frame and changed frame slider event to allow faster changes\n\n\n**10.03.2024** v3.5.5\n\n- Bugfix: Installer Path Env\n- Bugfix: file attributes\n- Video processing checks for presence of ffmpeg and displays warning if not found\n- Removed gender + age detection to speed up processing. Option removed from UI\n- Replaced restoreformer with restoreformer++\n- Live Cam recoded to run separate from virtual cam and without blocking controls\n- Swapping with only 1 target face allows selecting from several input faces\n\n\n\n**08.01.2024** v3.5.0\n\n- Bugfix: wrong access options when creating folders\n- New auto rotation of horizontal faces, fixing bad landmark positions (expanded on ![PR 364](https://github.com/C0untFloyd/roop-unleashed/pull/364))\n- Simple VR Option for stereo Images/Movies, best used in selected face mode\n- Added RestoreFormer Enhancer - https://github.com/wzhouxiff/RestoreFormer\n- Bumped up package versions for onnx/Torch etc.   \n\n\n**16.10.2023** v3.3.4\n\n**11.8.2023** v2.7.0\n\nInitial Gradio Version - old TkInter Version now deprecated\n\n- Re-added unified padding to face enhancers\n- Fixed DMDNet for all resolutions\n- Selecting target face now automatically switches swapping mode to selected\n- GPU providers are correctly set using the GUI (needs restart currently)\n- Local output folder can be opened from page\n- Unfinished extras functions disabled for now\n- Installer checks out specific commit, allowing to go back to first install\n- Updated readme for new gradio version\n- Updated Colab\n\n\n# Acknowledgements\n\nLots of ideas, code or pre-trained models borrowed from the following projects:\n\nhttps://github.com/deepinsight/insightface\u003cbr /\u003e\nhttps://github.com/s0md3v/roop\u003cbr /\u003e\nhttps://github.com/AUTOMATIC1111/stable-diffusion-webui\u003cbr /\u003e \nhttps://github.com/Hillobar/Rope\u003cbr /\u003e\nhttps://github.com/TencentARC/GFPGAN\u003cbr /\u003e   \nhttps://github.com/kadirnar/codeformer-pip\u003cbr /\u003e\nhttps://github.com/csxmli2016/DMDNet\u003cbr /\u003e\nhttps://github.com/glucauze/sd-webui-faceswaplab\u003cbr /\u003e\nhttps://github.com/ykk648/face_power\u003cbr /\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\nThanks to all developers!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0untfloyd%2Froop-unleashed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc0untfloyd%2Froop-unleashed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0untfloyd%2Froop-unleashed/lists"}