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

Seanwang1221
/
XingZhilei_FLUX

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

Instructions to use Seanwang1221/XingZhilei_FLUX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Seanwang1221/XingZhilei_FLUX with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Seanwang1221/XingZhilei_FLUX")
    
    prompt = "XZL, In a gritty, noir-inspired setting, a striking woman named XZL, with her voluminous, deep brown hair cascading down her shoulders like a waterfall of rich chocolate, sits in the dimly lit corner booth of an old jazz club. Her intense gaze, framed by thick, dark eyebrows and deeply expressive brown eyes, locks onto the viewer tilted at a rakish angle. Her lips, painted a bold, crimson red, curve into a confident smirk as she clutches a glass of amber-colored whiskey between her slender fingers, adorned with an array of antique jewelry that sparkles in the low, sultry lighting. The camera captures this intimate moment from a low angle, highlighting her elegant neck and collarbone, while the soft focus background reveals a smoky haze, the distant notes of a saxophone echoing through the room, evoking an air of mystery and allure."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
XingZhilei_FLUX
70.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Seanwang1221's picture
Seanwang1221
Add 4 files
a2fd169 verified 12 months ago
  • images
    Add 4 files 12 months ago
  • .gitattributes
    2.31 kB
    initial commit 12 months ago
  • README.md
    3.33 kB
    initial commit 12 months ago
  • XZL_flux_1.safetensors
    67.3 MB
    xet
    Add 4 files 12 months ago