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

  • Log In
  • Sign Up

Shakker-Labs
/
AWPortrait-Z

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

Instructions to use Shakker-Labs/AWPortrait-Z with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Shakker-Labs/AWPortrait-Z 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-Turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Shakker-Labs/AWPortrait-Z")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
AWPortrait-Z
681 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
wanghaofan's picture
wanghaofan
Update README.md
9f264c4 verified 5 months ago
  • images
    Upload 3 files 5 months ago
  • .gitattributes
    2.31 kB
    initial commit 5 months ago
  • AWPortrait-Z.safetensors
    680 MB
    xet
    Upload AWPortrait-Z.safetensors 5 months ago
  • README.md
    1.13 kB
    Update README.md 5 months ago