https://github.com/logtd/ComfyUI-RefSampling
ComfyUI Nodes to use Reference UNet Sampling
https://github.com/logtd/ComfyUI-RefSampling
Last synced: 4 months ago
JSON representation
ComfyUI Nodes to use Reference UNet Sampling
- Host: GitHub
- URL: https://github.com/logtd/ComfyUI-RefSampling
- Owner: logtd
- Created: 2024-03-29T00:41:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-11T20:56:01.000Z (over 1 year ago)
- Last Synced: 2024-12-19T03:03:43.868Z (about 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-RefSampling**
- awesome-comfyui - **ComfyUI-RefSampling**
README
# ComfyUI-RefSampling
This is a proof-of-concept repo that implements:
* "Reference CNet" found in popular Image generation applications such as [Automatic11](https://github.com/Mikubill/sd-webui-controlnet/discussions/1236)
* Allows image generation that adheres content to a reference image
* [Visual Style Prompting](https://curryjung.github.io/VisualStylePrompt/)
* Allows image generation that adheres style to a reference image
Both of these techniques utilize attention injection from reference images into the sampled/generated image.
## Examples
### Text to Image Generation
Image Prompt: "orange gorilla stripes"
Visual Style Prompt: "black and orange stripes"

### Image to Image Generation
Image Prompt: "an old man"
Visual Style Prompt "blue dragon, flames"

