Image-to-Image
Diffusers
Safetensors
MageFlowPipeline
image-editing
instruction-based-editing
diffusion
rectified-flow
mage-flow
Instructions to use Mage-Fans/Mage-Flow-Edit-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mage-Fans/Mage-Flow-Edit-Base 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("Mage-Fans/Mage-Flow-Edit-Base", 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
Download assets/multiref_000000_1.png from Mage-Fans/Mage-Flow-Edit-Base: direct link, hf CLI and curl.
- Browser
- Download file 824 kB
-
https://huggingface.co/Mage-Fans/Mage-Flow-Edit-Base/resolve/main/assets/multiref_000000_1.png
- Command line
-
hf download hf://Mage-Fans/Mage-Flow-Edit-Base/assets/multiref_000000_1.png
-
curl -L -o multiref_000000_1.png https://huggingface.co/Mage-Fans/Mage-Flow-Edit-Base/resolve/main/assets/multiref_000000_1.png
824 kB

- Xet hash:
- 4f782fcd5bc918cec7d6ab279de64b0606f2c71d37da1901b878a4d561334bf6
- Size of remote file:
- 824 kB
- SHA256:
- c58549bd7fc1992f84615df9128cbc6cf24e8b2b8aba55f2521b6f278d144ca9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.