{"id":13456750,"url":"https://github.com/s0md3v/roop","last_synced_at":"2025-05-10T09:49:46.359Z","repository":{"id":170341332,"uuid":"646480766","full_name":"s0md3v/roop","owner":"s0md3v","description":"one-click face swap","archived":false,"fork":false,"pushed_at":"2024-08-19T12:57:17.000Z","size":99770,"stargazers_count":29760,"open_issues_count":9,"forks_count":6742,"subscribers_count":272,"default_branch":"main","last_synced_at":"2025-05-10T09:49:32.966Z","etag":null,"topics":["ai","face-swap"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0md3v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["s0md3v","henryruhs"],"custom":["https://paypal.me/s0md3v","https://paypal.me/henryruhs"]}},"created_at":"2023-05-28T14:37:54.000Z","updated_at":"2025-05-10T04:03:28.000Z","dependencies_parsed_at":"2024-01-11T14:14:14.397Z","dependency_job_id":"2d6505d5-ca8c-4ab5-91ae-e82f63a3482b","html_url":"https://github.com/s0md3v/roop","commit_stats":null,"previous_names":["s0md3v/roop"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Froop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Froop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Froop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2Froop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0md3v","download_url":"https://codeload.github.com/s0md3v/roop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253398030,"owners_count":21902034,"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","face-swap"],"created_at":"2024-07-31T08:01:27.091Z","updated_at":"2025-05-10T09:49:46.326Z","avatar_url":"https://github.com/s0md3v.png","language":"Python","funding_links":["https://github.com/sponsors/s0md3v","https://github.com/sponsors/henryruhs","https://paypal.me/s0md3v","https://paypal.me/henryruhs"],"categories":["Python","Repos","人像\\姿势\\3D人脸","排行榜 [2025-03-18]","AI应用","App","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["网络服务_其他"],"readme":"## This project has been discontinued\n\nYes, it still works, you can still use this software. It just won't recieve any updates now.\n\n\u003e I do not have the interest or time to oversee the development of this software. I thank all the amazing people who contributed to this project and made what it is in it's final form.\n\n# Roop\n\n\u003e Take a video and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training.\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/s0md3v/roop/ci.yml.svg?branch=main)](https://github.com/s0md3v/roop/actions?query=workflow:ci)\n\n\u003cimg src=\"https://i.ibb.co/4RdPYwQ/Untitled.jpg\"/\u003e\n\n## Installation\n\nBe aware, the installation needs technical skills and is not for beginners. Please do not open platform and installation related issues on GitHub.\n\n[Basic](https://github.com/s0md3v/roop/wiki/1.-Installation) - It is more likely to work on your computer, but will be quite slow\n\n[Acceleration](https://github.com/s0md3v/roop/wiki/2.-Acceleration) - Unleash the full potential of your CPU and GPU\n\n\n## Usage\n\nStart the program with arguments:\n\n```\npython run.py [options]\n\n-h, --help                                                                 show this help message and exit\n-s SOURCE_PATH, --source SOURCE_PATH                                       select an source image\n-t TARGET_PATH, --target TARGET_PATH                                       select an target image or video\n-o OUTPUT_PATH, --output OUTPUT_PATH                                       select output file or directory\n--frame-processor FRAME_PROCESSOR [FRAME_PROCESSOR ...]                    frame processors (choices: face_swapper, face_enhancer, ...)\n--keep-fps                                                                 keep target fps\n--keep-frames                                                              keep temporary frames\n--skip-audio                                                               skip target audio\n--many-faces                                                               process every face\n--reference-face-position REFERENCE_FACE_POSITION                          position of the reference face\n--reference-frame-number REFERENCE_FRAME_NUMBER                            number of the reference frame\n--similar-face-distance SIMILAR_FACE_DISTANCE                              face distance used for recognition\n--temp-frame-format {jpg,png}                                              image format used for frame extraction\n--temp-frame-quality [0-100]                                               image quality used for frame extraction\n--output-video-encoder {libx264,libx265,libvpx-vp9,h264_nvenc,hevc_nvenc}  encoder used for the output video\n--output-video-quality [0-100]                                             quality used for the output video\n--max-memory MAX_MEMORY                                                    maximum amount of RAM in GB\n--execution-provider {cpu} [{cpu} ...]                                     available execution provider (choices: cpu, ...)\n--execution-threads EXECUTION_THREADS                                      number of execution threads\n-v, --version                                                              show program's version number and exit\n```\n\n\n### Headless\n\nUsing the `-s/--source`, `-t/--target` and `-o/--output` argument will run the program in headless mode.\n\n\n## Disclaimer\n\nThis software is designed to contribute positively to the AI-generated media industry, assisting artists with tasks like character animation and models for clothing.\n\nWe are aware of the potential ethical issues and have implemented measures to prevent the software from being used for inappropriate content, such as nudity.\n\nUsers are expected to follow local laws and use the software responsibly. If using real faces, get consent and clearly label deepfakes when sharing. The developers aren't liable for user actions.\n\n\n## Licenses\n\nOur software uses a lot of third party libraries as well pre-trained models. The users should keep in mind that these third party components have their own license and terms, therefore our license is not being applied.\n\n\n## Credits\n\n- [deepinsight](https://github.com/deepinsight) for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models.\n- all developers behind the libraries used in this project\n\n\n## Documentation\n\nRead the [documentation](https://github.com/s0md3v/roop/wiki) for a deep dive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2Froop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0md3v%2Froop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2Froop/lists"}