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
/
MengZiyi_FLUX

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

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

  • Libraries
  • Diffusers

    How to use Seanwang1221/MengZiyi_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/MengZiyi_FLUX")
    
    prompt = "MZY,1girl, (wearing a cheongsam:1),(in london city:1),(RAW photo, best quality), (realistic, photo-realistic:1.4), masterpiece, an extremely delicate and beautiful, extremely detailed, 2k wallpaper, Amazing, finely detail, extremely detailed CG unity 8k wallpaper, ultra-detailed, highres, soft light, beautiful detailed girl, extremely detailed eyes and face, beautiful detailed nose, beautiful detailed eyes,cinematic lighting,perfect anatomy,(slim body:1.3),long hair,(black hair:1.2),city lights at night,smiling"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
MengZiyi_FLUX
162 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Seanwang1221's picture
Seanwang1221
Add 4 files
2474c97 verified 12 months ago
  • images
    Add 4 files 12 months ago
  • .gitattributes
    2.31 kB
    initial commit 12 months ago
  • README.md
    2.91 kB
    initial commit 12 months ago
  • mzy-flux.safetensors
    159 MB
    xet
    Add 4 files 12 months ago