Instructions to use neuralvfx/Z-Image-SAM-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use neuralvfx/Z-Image-SAM-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("neuralvfx/Z-Image-SAM-ControlNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "Tongyi-MAI/Z-Image", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ thumbnail: https://huggingface.co/neuralvfx/Z-Image-SAM-ControlNet/resolve/main/
|
|
| 44 |
5) Plug the `ZImageFunControlnet` into KSampler
|
| 45 |

|
| 46 |
|
| 47 |
-
Here's an example workflow json: [comfy-ui-patch/z-image-control.json](https://huggingface.co/neuralvfx/Z-Image-SAM-ControlNet/blob/main/comfy-ui-patch/z-image-control.json) (
|
| 48 |
# Hugging Face Usage
|
| 49 |
|
| 50 |
## Compatibility
|
|
|
|
| 44 |
5) Plug the `ZImageFunControlnet` into KSampler
|
| 45 |

|
| 46 |
|
| 47 |
+
Here's an example workflow json: [comfy-ui-patch/z-image-control.json](https://huggingface.co/neuralvfx/Z-Image-SAM-ControlNet/blob/main/comfy-ui-patch/z-image-control.json) (includes option which performs segmentation first)
|
| 48 |
# Hugging Face Usage
|
| 49 |
|
| 50 |
## Compatibility
|