{"id":13487940,"url":"https://github.com/modelscope/scepter","last_synced_at":"2025-05-15T00:11:53.206Z","repository":{"id":214490738,"uuid":"734151612","full_name":"modelscope/scepter","owner":"modelscope","description":"SCEPTER is an open-source framework used for training, fine-tuning, and inference with generative models.","archived":false,"fork":false,"pushed_at":"2025-04-03T06:00:15.000Z","size":49546,"stargazers_count":508,"open_issues_count":20,"forks_count":28,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-14T01:49:49.294Z","etag":null,"topics":["aigc","generative-model","lar-gen","scedit","stylebooth"],"latest_commit_sha":null,"homepage":"https://github.com/modelscope/scepter","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modelscope.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-21T02:01:48.000Z","updated_at":"2025-04-09T09:04:37.000Z","dependencies_parsed_at":"2024-01-25T02:41:14.775Z","dependency_job_id":"4d2d8e03-ae1d-4874-9069-3504a4f61a38","html_url":"https://github.com/modelscope/scepter","commit_stats":null,"previous_names":["modelscope/scepter"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2Fscepter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2Fscepter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2Fscepter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelscope%2Fscepter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelscope","download_url":"https://codeload.github.com/modelscope/scepter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809024,"owners_count":21164895,"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":["aigc","generative-model","lar-gen","scedit","stylebooth"],"created_at":"2024-07-31T18:01:06.814Z","updated_at":"2025-04-14T01:49:54.372Z","avatar_url":"https://github.com/modelscope.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e🪄SCEPTER\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/python-%E2%89%A53.8-5be.svg\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/pytorch-%E2%89%A51.12%20%7C%20%E2%89%A52.0-orange.svg\"\u003e\n\u003ca href=\"https://pypi.org/project/scepter/\"\u003e\u003cimg src=\"https://badge.fury.io/py/scepter.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/modelscope/scepter/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/modelscope/scepter\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/modelscope/scepter/\"\u003e\u003cimg src=\"https://img.shields.io/badge/scepter-Build from source-6FEBB9.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n🪄SCEPTER is an open-source code repository dedicated to generative training, fine-tuning, and inference, encompassing a suite of downstream tasks such as image generation, transfer, editing.\nSCEPTER integrates popular community-driven implementations as well as proprietary methods by Tongyi Lab of Alibaba Group, offering a comprehensive toolkit for researchers and practitioners in the field of AIGC. This versatile library is designed to facilitate innovation and accelerate development in the rapidly evolving domain of generative models.\n\nSCEPTER offers 3 core components:\n- [Generative training and inference framework](#tutorials)\n- [Easy implementation of popular approaches](#currently-supported-approaches)\n- [Interactive user interface: SCEPTER Studio \u0026 Comfy UI](#launch)\n\n\n## 🎉 News\n- [🔥🔥🔥 2025.01]: We report ACE++, an instruction-based diffusion framework that tackles various image generation and editing tasks. The code and paper is available on [ACE++](https://ali-vilab.github.io/ACE_plus_page/).\n- [2024.11]: Supports video files, video annotation, caption translation in data management, and inference \u0026 training of the [CogVideoX](https://arxiv.org/abs/2408.06072).\n- [2024.10]: We are pleased to announce the release of the code for [ACE](https://arxiv.org/abs/2410.00086), supporting Customized Training / Comfy UI Workflow / gradio-based ChatBot Interface. \n- [2024.10]: Support for inference and tuning with [FLUX](https://huggingface.co/black-forest-labs/FLUX.1-dev), as well as for building [ComfyUI](https://github.com/comfyanonymous/ComfyUI) workflows using this framework.\n- [2024.09]: We introduce **ACE**, an **A**ll-round **C**reator and **E**ditor adept at executing a diverse array of image editing tasks tailored to your specifications. Built upon the cutting-edge Diffusion Transformer architecture, ACE has been extensively trained on a comprehensive dataset to seamlessly interpret and execute any natural language instruction. For further information, please consult the [project page](https://ali-vilab.github.io/ace-page/).\n- [2024.07]: Support the inference and training of open-source generative models based on the [DiT](https://arxiv.org/abs/2212.09748) architecture, such as [SD3](https://arxiv.org/pdf/2403.03206) and [PixArt](https://arxiv.org/abs/2310.00426).\n- [2024.05]: Introducing SCEPTER v1, supporting customized image edit tasks! Simply provide 10 image pairs, SCEPTER will tune an edit tuner for your own Image-to-Image tasks, like `Clay Style`, `De-Text`, `Segmentation`, etc.\n- [2024.04]: New [StyleBooth](https://ali-vilab.github.io/stylebooth-page/) demo on SCEPTER Studio for`Text-Based Style Editing`.\n- [2024.03]: We optimize the training UI and checkpoint management. New [LAR-Gen](https://arxiv.org/abs/2403.19534) model has been added on SCEPTER Studio, supporting `zoom-out`, `virtual try on`, `inpainting`.\n- [2024.02]: We release new SCEdit controllable image synthesis models for SD v2.1 and SD XL. Multiple strategies applied to accelerate inference time for SCEPTER Studio.\n- [2024.01]: We release **SCEPTER Studio**, an integrated toolkit for data management, model training and inference based on [Gradio](https://www.gradio.app/).\n- [2024.01]: [SCEdit](https://arxiv.org/abs/2312.11392) support controllable image synthesis for training and inference.\n- [2023.12]: We propose [SCEdit](https://arxiv.org/abs/2312.11392), an efficient and controllable generation framework.\n- [2023.12]: We release [🪄SCEPTER](https://github.com/modelscope/scepter/) library.\n\n[//]: # (## 🖼 Gallery for Recent Works)\n\n[//]: # ()\n[//]: # (### FLUX Tuners)\n\n[//]: # ()\n[//]: # (\u003ctable\u003e\u003ctbody\u003e)\n\n[//]: # (  \u003ctr\u003e)\n\n[//]: # (    \u003cth align=\"center\" colspan=\"3\"\u003eYarn Style\u003c/th\u003e)\n\n[//]: # (    \u003cth align=\"center\" colspan=\"3\"\u003eSoft Watercolor Style\u003c/th\u003e)\n\n[//]: # (  \u003c/tr\u003e)\n\n[//]: # (  \u003ctr\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_2_1.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_2_2.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_2_3.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_1_1.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_1_2.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_1_3.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (  \u003c/tr\u003e)\n\n[//]: # (  \u003ctr\u003e)\n\n[//]: # (    \u003cth align=\"center\" colspan=\"3\"\u003eTravel Style\u003c/th\u003e)\n\n[//]: # (    \u003cth align=\"center\" colspan=\"3\"\u003eWuKong Style\u003c/th\u003e)\n\n[//]: # (  \u003c/tr\u003e)\n\n[//]: # (  \u003ctr\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_3_1.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_3_2.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_3_3.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_4_1.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_4_2.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (    \u003ctd\u003e\u003cimg src=\"asset/images/flux_tuner/flux_tuner_4_3.webp\" width=\"200\"\u003e\u003c/td\u003e)\n\n[//]: # (  \u003c/tr\u003e)\n\n[//]: # (\u003c/tbody\u003e)\n\n[//]: # (\u003c/table\u003e)\n\n### ComfyUI Workflow\n\n![Workflow](asset/workflow/workflow.jpg)\n\n\u003ctable\u003e\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\" colspan=\"4\"\u003eExample Workflow Case\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003cth align=\"center\" colspan=\"1\"\u003eBase\u003c/th\u003e\n    \u003cth align=\"center\" colspan=\"1\"\u003e+Mantra\u003c/th\u003e\n    \u003cth align=\"center\" colspan=\"1\"\u003e+Tuner\u003c/th\u003e\n    \u003cth align=\"center\" colspan=\"1\"\u003e+Control\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"asset/workflow/sdxl_base.json\" target=\"_blank\"\u003e\n        \u003cimg src=\"asset/workflow/sdxl_base.jpg\" width=\"200\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"asset/workflow/sdxl_base_mantra.json\" target=\"_blank\"\u003e\n        \u003cimg src=\"asset/workflow/sdxl_base_mantra.jpg\" width=\"200\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"asset/workflow/sdxl_base_mantra_tuner.json\" target=\"_blank\"\u003e\n        \u003cimg src=\"asset/workflow/sdxl_base_mantra_tuner.jpg\" width=\"200\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"asset/workflow/sdxl_base_mantra_tuner_control.json\" target=\"_blank\"\u003e\n        \u003cimg src=\"asset/workflow/sdxl_base_mantra_tuner_control.jpg\" width=\"200\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\n## 🛠️ Installation\n\n- Install with `pip` command:\n\nWe recommend installing the specific version of PyTorch and accelerate toolbox [xFormers](https://pypi.org/project/xformers/). You can install these recommended version by pip:\n```shell\npip install -r requirements/recommended.txt\npip install scepter\n```\n\n## 🧩 Generative Framework\n\n### Tutorials\n\n| Documentation                                      | Key Features                      |\n|:---------------------------------------------------|:----------------------------------|\n| [Train](docs/en/tutorials/train.md)                | DDP / FSDP / FairScale / Xformers |\n| [Inference](docs/en/tutorials/inference.md)        | Dynamic load/unload               |\n| [Dataset Management](docs/en/tutorials/dataset.md) | Local / Http / OSS / Modelscope   |\n\n\n## 📝 Popular Approaches\n\n### Currently supported approaches\n\n|            Tasks             |                     Methods                      | Links                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n|:----------------------------:|:------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n|   Text-to-image Generation   |                     SD v1.5                      | [![Hugging Face Repo](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Repo-blue)](https://huggingface.co/runwayml/stable-diffusion-v1-5)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n|   Text-to-image Generation   |                     SD v2.1                      | [![Hugging Face Repo](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Repo-blue)](https://huggingface.co/runwayml/stable-diffusion-v1-5)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n|   Text-to-image Generation   |                      SD-XL                       | [![Hugging Face Repo](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Repo-blue)](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n|   Text-to-image Generation   |                       FLUX                       | [![Hugging Face Repo](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Repo-blue)](https://huggingface.co/black-forest-labs/FLUX.1-dev)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |\n|       Efficient Tuning       |                       LoRA                       | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=LoRA\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2106.09685)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n|       Efficient Tuning       |              Res-Tuning(NeurIPS23)               | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=Res-Tuing\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2310.19859) [![Page link](https://img.shields.io/badge/Page-ResTuning-Gree)](https://res-tuning.github.io/)                                                                                                                                                                                                                                                                                                                                                                                                                          |\n| Controllable Image Synthesis |   [🌟SCEdit(CVPR24)](docs/en/tasks/scedit.md)    | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=SCEdit\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2312.11392)   [![Page link](https://img.shields.io/badge/Page-SCEdit-Gree)](https://scedit.github.io/)                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n|        Image Editing         |       [🌟LAR-Gen](docs/en/tasks/largen.md)       | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=LARGen\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2403.19534)   [![Page link](https://img.shields.io/badge/Page-LARGen-Gree)](https://ali-vilab.github.io/largen-page/)                                                                                                                                                                                                                                                                                                                                                                                                                   |\n|        Image Editing         |   [🌟StyleBooth](docs/en/tasks/stylebooth.md)    | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=StyleBooth\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2404.12154)   [![Page link](https://img.shields.io/badge/Page-StyleBooth-Gree)](https://ali-vilab.github.io/stylebooth-page/)                                                                                                                                                                                                                                                                                                                                                                                                       |\n| Image Generation and Editing |  [🌟ACE](https://ali-vilab.github.io/ace-page/)  | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=ACE\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2410.00086)   [![Page link](https://img.shields.io/badge/Page-ACE-Gree)](https://ali-vilab.github.io/ace-page/) [![Demo link](https://img.shields.io/badge/Demo-ACE-purple)](https://huggingface.co/spaces/scepter-studio/ACE-Chat) \u003cbr\u003e [![ModelScope link](https://img.shields.io/badge/ModelScope-Model-blue)](https://www.modelscope.cn/models/iic/ACE-0.6B-512px)  [![HuggingFace link](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-yellow)](https://huggingface.co/scepter-studio/ACE-0.6B-512px)               |\n| Image Generation and Editing | [🌟ACE++](https://ali-vilab.github.io/ACE_plus_page/) | [![Arxiv   link](https://img.shields.io/static/v1?label=arXiv\u0026message=ACEPlus\u0026color=red\u0026logo=arxiv)](https://arxiv.org/abs/2501.02487)   [![Page link](https://img.shields.io/badge/Page-ACE++-Gree)](https://ali-vilab.github.io/ACE_plus_page/) [![Demo link](https://img.shields.io/badge/Demo-ACE++-purple)](https://huggingface.co/spaces/scepter-studio/ACE-Plus) \u003cbr\u003e [![ModelScope link](https://img.shields.io/badge/ModelScope-Model-blue)](https://www.modelscope.cn/models/iic/ACE_Plus/summary)  [![HuggingFace link](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-yellow)](https://huggingface.co/ali-vilab/ACE_Plus/tree/main) |\n\n\n## 🖥️ SCEPTER Studio\n\n### Launch\n\nTo fully experience **SCEPTER Studio**, you can launch the following command line:\n\n```shell\npip install scepter\npython -m scepter.tools.webui\n```\nor run after clone repo code\n```shell\ngit clone https://github.com/modelscope/scepter.git\nPYTHONPATH=. python scepter/tools/webui.py --cfg scepter/methods/studio/scepter_ui.yaml\n```\n\nThe startup of **SCEPTER Studio** eliminates the need for manual downloading and organizing of models; it will automatically load the corresponding models and store them in a local directory.\nDepending on the network and hardware situation, the initial startup usually requires 15-60 minutes, primarily involving the download and processing of SDv1.5, SDv2.1, and SDXL models.\nTherefore, subsequent startups will become much faster (about one minute) as downloading is no longer required.\n\n### Usage Demo\n\n|              [Image Editing](https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fimage_editing_20240419.webm)              |                [Training](https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Ftraining_20240419.webm)                 |              [Model Sharing](https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fmodel_sharing_20240419.webm)               |             [Model Inference](https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fmodel_inference_20240419.webm)              |             [Data Management](https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fdata_management_20240419.webm)              |\n|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------:|\n| \u003cvideo src=\"https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fimage_editing_20240419.webm\" width=\"240\" controls\u003e\u003c/video\u003e | \u003cvideo src=\"https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Ftraining_20240419.webm\" width=\"240\" controls\u003e\u003c/video\u003e | \u003cvideo src=\"https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fmodel_sharing_20240419.webm\" width=\"240\" controls\u003e\u003c/video\u003e  | \u003cvideo src=\"https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fmodel_inference_20240419.webm\" width=\"240\" controls\u003e\u003c/video\u003e  | \u003cvideo src=\"https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master\u0026FilePath=assets%2Fscepter_studio%2Fdata_management_20240419.webm\" width=\"240\" controls\u003e\u003c/video\u003e  |\n\n### Modelscope Studio \u0026 Huggingface Space\n\nWe deploy a work studio on Modelscope that includes only the inference tab, please refer to [ms_scepter_studio](https://www.modelscope.cn/studios/iic/scepter_studio/summary) and [hf_scepter_studio](https://huggingface.co/spaces/modelscope/scepter_studio)\n\n\n\n## ⚙️️ ComfyUI Workflow\n\nWe support the use of all models in the ComfyUI Workflow through the following methods:\n\n1) Automatic installation directly via the ComfyUI Manager by searching for the **ComfyUI-Scepter** node.\n2) Manually install by moving custom_nodes from Scepter to ComfyUI.\n```shell\ngit clone https://github.com/modelscope/scepter.git\ncd path/to/scepter\npip install -e .\ncp -r path/to/scepter/workflow/ path/to/ComfyUI/custom_nodes/ComfyUI-Scepter\ncd path/to/ComfyUI\npython main.py\n```\n\n**Note**: You can use the nodes by dragging the sample images into ComfyUI. Additionally, our nodes can automatically pull models from ModelScope or HuggingFace by selecting the *model_source* field, or you can place the already downloaded models in a local path.\n\n## 🔍 Learn More\n\n- [Alibaba TongYi Vision Intelligence Lab](https://github.com/ali-vilab)\n\n  Discover more about open-source projects on image generation, video generation, and editing tasks.\n\n- [ModelScope library](https://github.com/modelscope/modelscope/)\n\n  ModelScope Library is the model library of ModelScope project, which contains a large number of popular models.\n\n- [SWIFT library](https://github.com/modelscope/swift/)\n\n  SWIFT (Scalable lightWeight Infrastructure for Fine-Tuning) is an extensible framwork designed to faciliate lightweight model fine-tuning and inference.\n\n\n## BibTeX\nIf our work is useful for your research, please consider citing:\n```bibtex\n@misc{scepter,\n    title = {SCEPTER, https://github.com/modelscope/scepter},\n    author = {SCEPTER},\n    year = {2023}\n}\n```\n\n\n## License\n\nThis project is licensed under the [Apache License (Version 2.0)](https://github.com/modelscope/modelscope/blob/master/LICENSE).\n\n\n## Acknowledgement\nThanks to [Stability-AI](https://github.com/Stability-AI), [SWIFT library](https://github.com/modelscope/swift/), [Fooocus](https://github.com/lllyasviel/Fooocus) and [ComfyUI](https://github.com/comfyanonymous/ComfyUI) for their awesome work.\n","funding_links":[],"categories":["Text Guided Image Editing","Workflows (3395) sorted by GitHub Stars","图像生成","Industry Strength CV","All Workflows Sorted by GitHub Stars"],"sub_categories":["资源传输下载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelscope%2Fscepter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelscope%2Fscepter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelscope%2Fscepter/lists"}