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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nphSi
/
Z-Image-Lora

Text-to-Image
Diffusers
Safetensors
lora
z-image
Model card Files Files and versions
xet
Community
24

Instructions to use nphSi/Z-Image-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nphSi/Z-Image-Lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image,Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("nphSi/Z-Image-Lora")
    
    prompt = "Alexandra Chando (vrtlAlexandraChando)"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Z-Image-Lora / temp /space
23.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 89 commits
nphSi's picture
nphSi
Upload /temp/space/datascript.js with huggingface_hub
d1b316c verified 1 day ago
  • th
    Upload /temp/space/th/th-ZI Anna Akana (vrtlAnnaAkana)-ID.webp with huggingface_hub 1 day ago
  • datascript.js
    438 kB
    Upload /temp/space/datascript.js with huggingface_hub 1 day ago
  • ignore-this
    35 Bytes
    Create space/ignore-this 28 days ago