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

furaidosu
/
rtmi-zimage

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use furaidosu/rtmi-zimage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use furaidosu/rtmi-zimage 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", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("furaidosu/rtmi-zimage")
    
    prompt = "Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
rtmi-zimage
318 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Choquinlabs
Add 8 files
21ffbad verified 4 months ago
  • images
    Add 8 files 4 months ago
  • .gitattributes
    2.31 kB
    initial commit 4 months ago
  • README.md
    4.08 kB
    initial commit 4 months ago
  • rtmi-zimage_10.safetensors
    79.4 MB
    xet
    Add 8 files 4 months ago
  • rtmi-zimage_15.safetensors
    79.4 MB
    xet
    Add 8 files 4 months ago
  • rtmi-zimage_20.safetensors
    79.4 MB
    xet
    Add 8 files 4 months ago
  • rtmi-zimage_5.safetensors
    79.4 MB
    xet
    Add 8 files 4 months ago