Go to OpenArt main site
Upload workflow

Style Transfer to Main Subject While Preserving the Background (No Inpaint Required)

5.0

0 reviews
57
5.1K
1.7K
3
Description

This workflow does the following:

  1. Remove the background image using RMBG,
  2. Invert the removed background mask for selecting the main subject as mask,
  3. Preserve the detail using ControlNet by Misto AI's canny(any ControlNet can be used),
  4. Apply the reference image style using IPAdapter(strength can be controlled via 'weight' parameter of IPAdapter node.
Discussion

(No comments yet)

Loading...

Author

20
100.9K
1.0K
305.3K

No reviews yet

  • - latest (6 months ago)

Primitive Nodes (0)

Custom Nodes (20)

Allor Plugin

  • - AlphaChanelAsMask (1)

  • - AnyLinePreprocessor (1)

ComfyUI

  • - VAEDecode (1)

  • - CheckpointLoaderSimple (1)

  • - LoraLoader (1)

  • - EmptyLatentImage (1)

  • - ControlNetLoader (1)

  • - VAEEncodeForInpaint (1)

  • - ControlNetApplyAdvanced (1)

  • - CLIPTextEncode (2)

  • - KSampler (1)

  • - PreviewImage (1)

  • - LoadImage (2)

  • - InvertMask (1)

  • - easy imageRemBg (1)

  • - IPAdapterUnifiedLoader (1)

  • - IPAdapterAdvanced (1)

  • - Image Save (1)

Checkpoints (1)

dreamshaperXL_sfwV2TurboDPMSDE.safetensors

LoRAs (1)

MJ52.safetensors