{"id":13712197,"url":"https://github.com/showlab/ShowAnything","last_synced_at":"2025-05-06T21:33:40.701Z","repository":{"id":152566743,"uuid":"626329990","full_name":"showlab/ShowAnything","owner":"showlab","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-01T07:08:28.000Z","size":45080,"stargazers_count":82,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-22T00:38:15.650Z","etag":null,"topics":["image-editing","segment-anything","video-editing","video-generation","vision-and-language"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/showlab.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-11T08:50:35.000Z","updated_at":"2024-12-26T03:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0de08f6-6c04-4bc8-a9bc-eacd508c9b00","html_url":"https://github.com/showlab/ShowAnything","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/showlab%2FShowAnything","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showlab%2FShowAnything/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showlab%2FShowAnything/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showlab%2FShowAnything/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showlab","download_url":"https://codeload.github.com/showlab/ShowAnything/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772447,"owners_count":21801927,"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":["image-editing","segment-anything","video-editing","video-generation","vision-and-language"],"created_at":"2024-08-02T23:01:15.856Z","updated_at":"2025-05-06T21:33:40.695Z","avatar_url":"https://github.com/showlab.png","language":"Jupyter Notebook","funding_links":[],"categories":["Recent Works","🎨 \"Anything\" Projects Ecosystem"],"sub_categories":["🎯 2023 Classic Projects"],"readme":"\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/1681232055007.jpg\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n# ShowAnything\nEdit and Generate Anything In Any Image and Video.\n\n**Motivation of this repo**: [Segment Anything](https://github.com/facebookresearch/segment-anything) offers powerful perception capabilities and interfaces with points and boxes. We believe that the interface ability has the potential to greatly drive the development of generation and editing applications. We will be posting some application developments from our lab here that are compatible with both Segment Anything and Generation, thanks.\n \n## ToDo\n- [ ] Customization (LoRA or Dreambooth)\n- [ ] Video editing with point interaction\n- [ ] Hugging Face Demo\n- [ ] ...\n\n\n## Installation\nPlease follow the [segment anything](https://github.com/facebookresearch/segment-anything#model-checkpoints) to creating the environment and download the model checkpoint (vit_l, vit_l or vit_b)\n\n\n## Image\n\n[Hugging Face Demo](https://huggingface.co/spaces/weijiawu/ImageEditAnything) is now available, but please note that it may run slowly due to being currently executed on a low-end CPU.\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/1681314820494.jpg\" width=\"800px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n\n\n\n### Edit with point click\nThe ultimate goal of this task is to achieve control over the generation of complex scenes, such as dense crowds and department stores.\n\nSee the [here](./ImageEdit). Using points to edit and control. Enjoy it! \n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/fig1.png\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n\n### Object Merge\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/fig2.png\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n\n### Object Remove\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/fig3.png\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n## Video\n\n### Zero-shot Editing Anything in Any Video\n\nReplace the person in the video: \n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/video/showcase_1.gif\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\nCustomize the clothes of the person in the video:\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/video/showcase_3.gif\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/video/showcase_2.gif\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\nMore results:\n\n\u003ctable class=\"center\"\u003e\n\u003ctr\u003e\n  \u003ctd style=\"text-align:center;\"\u003e\u003cb\u003eInput Video\u003c/b\u003e\u003c/td\u003e\n  \u003ctd style=\"text-align:center;\" colspan=\"3\"\u003e\u003cb\u003eOutput Video\u003c/b\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/original.gif\"\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/A soldier is dancing_crop.gif\"\u003e\u003c/td\u003e      \n  \u003ctd\u003e\u003cimg src=\"./assets/video/Donald Trump is dancing_crop.gif\"\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/Iron Man is dancing_crop.gif\"\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd width=25% style=\"text-align:center;color:gray;\"\u003e\"Input Video\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"A soldier is dancing\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"Donald Trump is dancing\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"Iron Man is dancing\"\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable class=\"center\"\u003e\n\u003ctr\u003e\n  \u003ctd style=\"text-align:center;\"\u003e\u003cb\u003eInput Video\u003c/b\u003e\u003c/td\u003e\n  \u003ctd style=\"text-align:center;\" colspan=\"3\"\u003e\u003cb\u003eOutput Video\u003c/b\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/original.gif\"\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/A man is dancing in skirt and wearing black stockings.gif\"\u003e\u003c/td\u003e      \n  \u003ctd\u003e\u003cimg src=\"./assets/video/A man is dancing in jeans.gif\"\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg src=\"./assets/video/A man is dancing in shorts.gif\"\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd width=25% style=\"text-align:center;color:gray;\"\u003e\"Input Video\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"A man is dancing in skirt and wearing black stockings\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"A man is dancing in jeans\"\u003c/td\u003e\n  \u003ctd width=25% style=\"text-align:center;\"\u003e\"A man is dancing in shorts\"\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Transform Image Into Unique Paragraph\nImage to paragraph is available, please refer to [Image2Paragraph](https://github.com/showlab/Image2Paragraph), and enjoy!\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/1681360400667.jpg\" width=\"700px\"/\u003e  \n\u003cbr\u003e\n\u003c/p\u003e\n\n\n## Segment Anything for 3D\nImage to 3D using SAM is available, please refer to [Anything3D](https://github.com/showlab/Show-Anything-3D), and enjoy!\n\nhttps://user-images.githubusercontent.com/37300524/232232693-ad3b0329-ab83-48e1-8f7e-dca9dff7b32e.mp4\n\n\n\n## Acknowledgements\n- [Segment Anything](https://github.com/facebookresearch/segment-anything)\n- [Caption-Anything](https://github.com/ttengwang/Caption-Anything) (hugging face demo)\n- [Stable Diffusion](https://github.com/CompVis/stable-diffusion)\n\n## Citation\nIf you find this project helpful for your research, please consider citing the following BibTeX entry.\n```BibTex\n@article{kirillov2023segany,\n  title={Segment Anything}, \n  author={Kirillov, Alexander and Mintun, Eric and Ravi, Nikhila and Mao, Hanzi and Rolland, Chloe and Gustafson, Laura and Xiao, Tete and Whitehead, Spencer and Berg, Alexander C. and Lo, Wan-Yen and Doll{\\'a}r, Piotr and Girshick, Ross},\n  journal={arXiv:2304.02643},\n  year={2023}\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowlab%2FShowAnything","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowlab%2FShowAnything","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowlab%2FShowAnything/lists"}