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

  • Log In
  • Sign Up

kp-forks
/
Z-Image

Text-to-Image
Diffusers
Safetensors
English
ZImagePipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use kp-forks/Z-Image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("kp-forks/Z-Image", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Z-Image
20.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 27 commits
QJerry's picture
QJerry
Update README.md
e8fa147 verified 3 months ago
  • scheduler
    Upload Z-Image checkpoints. 3 months ago
  • text_encoder
    Upload Z-Image checkpoint. 4 months ago
  • tokenizer
    Upload Z-Image checkpoint. 4 months ago
  • transformer
    Clean old ckpts. (#2) 3 months ago
  • vae
    Upload Z-Image checkpoint. 4 months ago
  • .gitattributes
    1.75 kB
    Upload teaser.jpg 3 months ago
  • README.md
    5.87 kB
    Update README.md 3 months ago
  • model_index.json
    467 Bytes
    Upload Z-Image checkpoints. 3 months ago
  • teaser.jpg
    8.98 MB
    xet
    Upload teaser.jpg 3 months ago