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

AiAF
/
D-ART_Z-Image-Turbo_LoRA

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

Instructions to use AiAF/D-ART_Z-Image-Turbo_LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AiAF/D-ART_Z-Image-Turbo_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-Turbo", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("AiAF/D-ART_Z-Image-Turbo_LoRA")
    
    prompt = "D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??, a confident, curvy young woman with fair skin and pink braided hair. She has a small, pointed nose, and a subtle smile, looking over her shoulder with a flirtatious expression. She is dressed in a white long-sleeve shirt, tight gray pants that accentuate her large, round buttocks, and brown shoes. Her arms are crossed under her chest, which is modest in size. The background is a dark purple with diagonal white stripes and small heart and star doodles, adding a playful touch. The image has a soft, slightly shaded style with smooth textures."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
D-ART_Z-Image-Turbo_LoRA / images
5.32 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
AiAF's picture
AiAF
Add generated example (#7)
08cf7eb verified 8 months ago
  • example_2lam3w01o.png
    829 kB
    xet
    Add generated example (#2) 8 months ago
  • example_33x9rdwow.png
    931 kB
    xet
    Add generated example (#3) 8 months ago
  • example_3pnuum41b.png
    805 kB
    xet
    Add generated example (#5) 8 months ago
  • example_8mipd0ijj.png
    862 kB
    xet
    Add generated example (#7) 8 months ago
  • example_l3otpwzaz.png
    1.05 MB
    xet
    Add generated example (#6) 8 months ago
  • example_mzysl09ln.png
    271 kB
    xet
    Add generated example (#4) 8 months ago
  • example_va0yozu4z.png
    574 kB
    xet
    Add generated example (#1) 8 months ago