Instructions to use lrzjason/Anything2Real with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lrzjason/Anything2Real 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("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("lrzjason/Anything2Real") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,8 +13,8 @@ pipeline_tag: image-to-image
|
|
| 13 |
f2k_anything2real.safetensors is more 3D like version
|
| 14 |
f2k_anything2real_a.safetensors based on f2k_anything2real.safetensors to adjust the realistic style
|
| 15 |
|
| 16 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/QTBiWwlzKul23Mo-kG-iY.png" style="max-width:
|
| 17 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/SCJwYwmBYDM_itlCzQ7x8.png" style="max-width:
|
| 18 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/plOqXDhtipDimuk5LMwha.png" style="max-width:600px"/>
|
| 19 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/AzhZjNSXvO2yhPDfG6BTs.png" style="max-width:600px"/>
|
| 20 |
|
|
|
|
| 13 |
f2k_anything2real.safetensors is more 3D like version
|
| 14 |
f2k_anything2real_a.safetensors based on f2k_anything2real.safetensors to adjust the realistic style
|
| 15 |
|
| 16 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/QTBiWwlzKul23Mo-kG-iY.png" style="max-width:300px"/>
|
| 17 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/SCJwYwmBYDM_itlCzQ7x8.png" style="max-width:300px"/>
|
| 18 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/plOqXDhtipDimuk5LMwha.png" style="max-width:600px"/>
|
| 19 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63891deed68e37abd59e883f/AzhZjNSXvO2yhPDfG6BTs.png" style="max-width:600px"/>
|
| 20 |
|