Go to OpenArt main site
Upload workflow

Automatically change background | 一键换背景(Beta)

5.0

1 reviews
183
23.8K
6.9K
10
Description

(This template is used for Workflow Contest)

What this workflow does

👉 Complete automatic cutout for portrait photos, and complete background drawing based on prompt words, allowing you to change the background with one click. Three sets of cutout solutions have been designed, targeting different backgrounds. They are currently in the testing phase and there is still a lot of room for optimization.

针对人像照片完成自动抠图,并根据提示词完成背景绘制,实现一键更换背景。设计了三套抠图方案,针对不同背景,目前处于测试阶段,还有很大的优化空间。


How to use this workflow

👉 Upload a portrait photo and fill in the prompt word to automatically complete the background change.

上传一张人像照片,填写提示词即可自动完成背景更换


Tips about this workflow

👉The first cutout solution is semantic segmentation. The default is female characters. Please fill in the keywords.

第一个抠图方案是语义分割,默认为女性人物,注意填写关键词


Discussion

(No comments yet)

Loading...

Author

6
18.2K
433
64.4K

No reviews yet

  • - latest (a year ago)

Primitive Nodes (14)

Note (2)

PrimitiveNode (1)

Reroute (11)

Custom Nodes (44)

Batch Rembg for ComfyUI

  • - Image Remove Background (rembg) (1)

  • - CR Load LoRA (1)

ComfyUI

  • - ControlNetLoader (3)

  • - InvertMask (3)

  • - ControlNetApply (3)

  • - VAEEncode (2)

  • - VAEEncodeForInpaint (1)

  • - KSamplerAdvanced (1)

  • - KSampler (2)

  • - UpscaleModelLoader (1)

  • - ImageUpscaleWithModel (1)

  • - ImageScaleBy (1)

  • - VAEDecode (3)

  • - ImageToMask (1)

  • - MaskToImage (1)

  • - ImageColorToMask (1)

  • - FeatherMask (1)

  • - PreviewImage (3)

  • - CLIPTextEncode (2)

  • - VAELoader (1)

  • - LoadImage (1)

  • - CheckpointLoaderSimple (1)

  • - SAMLoader (1)

  • - ToBinaryMask (1)

  • - AIO_Preprocessor (2)

  • - OneFormer-ADE20K-SemSegPreprocessor (1)

  • - Image To Mask (1)

  • - GroundingDinoSAMSegment (segment anything) (1)

  • - GroundingDinoModelLoader (segment anything) (1)

Checkpoints (1)

realistic\chilloutmix_NiPrunedFp32Fix.safetensors

LoRAs (1)

comfyui\Oldsaigon-v1.0.safetensors