Image-to-Image
Diffusers
Safetensors
JoyImageEditPlusPipeline
image-editing
multi-image
joyai
Eval Results
Instructions to use jdopensource/JoyAI-Image-Edit-Plus-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jdopensource/JoyAI-Image-Edit-Plus-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jdopensource/JoyAI-Image-Edit-Plus-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files28 unmodified lines29303132333435363738394041424344454647484950515253545528 unmodified lines- **Variable reference images**: Supports 1–6 reference images per sample via dynamic `shape_list`.- **Norm-guided CFG**: Batch-concatenated classifier-free guidance with norm rescaling in a single forward pass.
## Installation
`JoyImageEditPlusPipeline` has not yet been merged into the official diffusers release. Before it is available in a stable version, you need to install diffusers from the PR branch:
```bashpip install git+https://github.com/tangyanf/diffusers.git@add-joyimage-edit-plus```
If you have already installed diffusers, make sure to uninstall it first:
```bashpip uninstall diffusers -ypip install git+https://github.com/tangyanf/diffusers.git@add-joyimage-edit-plus```
Once the PR is merged into the official diffusers repository, you can switch back to the standard installation:
```bashpip install diffusers --upgrade```
## Usage
```pythonREADME.md+21