Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AnticPan
/
Anima-Role-Ref-KV

Image-to-Image
Diffusers
English
Chinese
anima
image-generation
character-reference
comfyui
lora
Model card Files Files and versions
xet
Community
4

Instructions to use AnticPan/Anima-Role-Ref-KV with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AnticPan/Anima-Role-Ref-KV 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("circlestone-labs/Anima", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("AnticPan/Anima-Role-Ref-KV")
    
    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
  • Local Apps Settings
  • Draw Things
Anima-Role-Ref-KV
1.06 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 10 commits
maryann088's picture
maryann088
Upload 7 files
316de7f verified 16 days ago
  • anima_role_ref_kv
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • assets
    Update ComfyUI NativeEngine for pure BF16 execution and sync v2.0 showcase assets 16 days ago
  • comfy
    Update ComfyUI NativeEngine for pure BF16 execution and sync v2.0 showcase assets 16 days ago
  • comfyui
    Upload 7 files 16 days ago
  • diffusers
    Update ComfyUI NativeEngine for pure BF16 execution and sync v2.0 showcase assets 16 days ago
  • workflows
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • .gitattributes
    2.83 kB
    Update ComfyUI NativeEngine for pure BF16 execution and sync v2.0 showcase assets 16 days ago
  • EVALUATION.md
    2.2 kB
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • LICENSE-CODE.txt
    11.4 kB
    Release Anima Role Ref KV v1.0 24 days ago
  • LICENSE-MODEL.txt
    17.7 kB
    Release Anima Role Ref KV v1.0 24 days ago
  • NOTICE.txt
    1.63 kB
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • README.md
    4.34 kB
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • README.zh-CN.md
    3.91 kB
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • infer.py
    1.1 kB
    Release Anima Role Ref KV v2.0 (BF16 v2.0 & v1.0) 16 days ago
  • requirements-diffusers.txt
    192 Bytes
    Release Anima Role Ref KV v1.0 24 days ago