My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

Refining ReActor’s Face Swap Results with InstantID

5.0

1 reviews
49
33.4K
5.7K
27
Description

Weaknesses of ReActor

  • ReActor can only create images of 128px × 128px, so the resolution is inherently low.
  • To compensate for this, there are tools like Codeformer and GFPGAN, but they tend to make the skin look flat.
  • Also, it lacks a sense of depth.
  • We resolve this by using a Detailer with InstantID.


Workflow

  • If the base image is too large, it will be automatically resized so that the shorter side becomes 2000px.
  • Face Swap with ReActor.
  • Generate a caption using JoyTag based on SEGS and use it as a prompt.
  • Add InstantID.
  • Run two cycles of sampling.
  • Combine the SEGS, which has been processed by the Detailer, with the base image before resizing using the SEGSPaste node.


Unresolved Weaknesses of ReActor

  • ReActor cannot fully respond to images taken from extreme angles, such as from directly above.
  • If the base image shows the forehead but the reference image has bangs, it may not work well.
  • It cannot keep up with large changes in facial expressions, such as winking or sticking out the tongue.


🚨Update

  • 22/2/2024
    • Due to the update of InstantID, the old workflow stopped working, so I have made corrections.
    • I have modified the reference images to segment within the range of the face.
    • I have changed the prompt generation from Joytag to llava-v1.6-mistral-7b.


日本語での解説

Discussion

(No comments yet)

Loading...

Author

32
59.4K
934
293.7K

No reviews yet

  • - latest (2 years ago)

  • - v20240217-073420

Primitive Nodes (4)

Reroute (4)

Custom Nodes (37)

ComfyUI

  • - SelfAttentionGuidance (1)

  • - CLIPTextEncode (3)

  • - LoraLoader (2)

  • - CheckpointLoaderSimple (1)

  • - ControlNetLoader (1)

  • - PreviewImage (2)

  • - ConditioningCombine (1)

  • - LoadImage (2)

ComfyUI Impact Pack

  • - SEGSPaste (1)

  • - ImpactSimpleDetectorSEGS (2)

  • - ImpactSEGSOrderedFilter (2)

  • - UltralyticsDetectorProvider (1)

  • - SAMLoader (1)

  • - ToBasicPipe (1)

  • - DenoiseSchedulerDetailerHookProvider (1)

  • - SEGSPreview (2)

  • - DetailerForEachDebugPipe (1)

  • - InstantIDFaceAnalysis (1)

  • - InstantIDModelLoader (1)

  • - ApplyInstantID (1)

  • - FaceKeypointsPreprocessor (1)

  • - Automatic CFG (1)

  • - ReActorFaceSwap (1)

  • - LLava Loader Simple (1)

  • - LlavaClipLoader (1)

  • - LLavaSamplerSimple (1)

  • - SimpleText (1)

Checkpoints (1)

📷-XL\epicrealismXL_v2Wip.safetensors

LoRAs (2)

XL\👩\SDXL_BetterFaces-LoRA_v1.safetensors

XL\👩\epiCPhotoXL.safetensors