Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Danrisi
/
niceasians_qwen2.1

Text-to-Image
Diffusers
English
lora
realistic
Model card Files Files and versions
xet
Community

Instructions to use Danrisi/niceasians_qwen2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Danrisi/niceasians_qwen2.1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Danrisi/niceasians_qwen2.1")
    
    prompt = "Raw 35mm film photograph, candid outdoor portrait. A 20-year-old East Asian woman with pale, porcelain skin showing natural texture and a faint natural blush. Her hair is cut in a short, layered bob, dark brown and slightly disheveled with loose, wind-swept strands falling messily across her forehead and cheekbones, creating a natural, unstyled look. She is looking slightly away from the camera with a calm, contemplative expression. She wears a white button-up school shirt with a sharp collar and a loose black necktie. The background shows a calm, vast body of water and distant, hazy mountains under soft, cool-toned daylight. The image has a vintage aesthetic with visible film grain, soft focus, and a slightly muted color palette."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
niceasians_qwen2.1
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Danrisi's picture
Danrisi
Update README.md
5294fc4 verified 2 months ago
  • images
    Update model via HuggingFace Uploader 2 months ago
  • .gitattributes
    1.79 kB
    Update model via HuggingFace Uploader 2 months ago
  • README.md
    7.03 kB
    Update README.md 2 months ago
  • niceasians_qwen21.safetensors
    79.7 MB
    xet
    Update model via HuggingFace Uploader 2 months ago