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

  • Log In
  • Sign Up

drawhisper
/
animagine-xl-v4

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionXLPipeline
stable-diffusion
stable-diffusion-xl
Model card Files Files and versions
xet
Community

Instructions to use drawhisper/animagine-xl-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use drawhisper/animagine-xl-v4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("drawhisper/animagine-xl-v4", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, night, turtleneck, masterpiece, high score, great score, absurdres"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
animagine-xl-v4
13.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
gongqing97's picture
gongqing97
Upload folder using huggingface_hub
3ebc830 verified 10 months ago
  • scheduler
    Upload folder using huggingface_hub 10 months ago
  • text_encoder
    Upload folder using huggingface_hub 10 months ago
  • text_encoder_2
    Upload folder using huggingface_hub 10 months ago
  • tokenizer
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_2
    Upload folder using huggingface_hub 10 months ago
  • unet
    Upload folder using huggingface_hub 10 months ago
  • vae
    Upload folder using huggingface_hub 10 months ago
  • .DS_Store
    8.2 kB
    Upload folder using huggingface_hub 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    15.5 kB
    Upload folder using huggingface_hub 10 months ago
  • animagine-xl-4.0.safetensors
    6.94 GB
    xet
    Upload folder using huggingface_hub 10 months ago
  • model_index.json
    671 Bytes
    Upload folder using huggingface_hub 10 months ago