Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lrzjason
/
Anything2Real

Image-to-Image
Diffusers
lora
Model card Files Files and versions
xet
Community
1

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
Anything2Real
1.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
lrzjason's picture
lrzjason
Upload f2k_anything2real_a.safetensors
b547e09 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    5 kB
    Update README.md 3 months ago
  • anything2real 2601 demo.json
    26.5 kB
    Upload 2 files 4 months ago
  • anything2real_2601.safetensors
    614 MB
    xet
    Upload 2 files 4 months ago
  • anything2real_2601_A_final_patched.safetensors
    614 MB
    xet
    Upload anything2real_2601_A_final_patched.safetensors 4 months ago
  • f2k_anything2real.safetensors
    285 MB
    xet
    Upload f2k_anything2real.safetensors 3 months ago
  • f2k_anything2real_a.safetensors
    285 MB
    xet
    Upload f2k_anything2real_a.safetensors 3 months ago