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

strangerzonehf
/
Flux-FlatLay-LoRA

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

Instructions to use strangerzonehf/Flux-FlatLay-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use strangerzonehf/Flux-FlatLay-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("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("strangerzonehf/Flux-FlatLay-LoRA")
    
    prompt = "flat lay, a medium-sized young man, dressed in a black t-shirt with a yellow collar and a yellow baseball cap on his head. The mans face is angled slightly to the left, with a serious expression on his face. His hair is styled in a wavy bob, adding a pop of color to the scene. The background is a vibrant shade of blue, creating a striking contrast to the mans shirt. The word \"ADER\" is prominently displayed on the front of the shirt, with the word \"error\" written in a bold, red font."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Flux-FlatLay-LoRA / images
8.96 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
prithivMLmods's picture
prithivMLmods
Delete images/men-s-brown-naruto-graphic-printed-oversized-hoodies-644532-1732528249-4.webp
946bd3f verified over 1 year ago
  • 1.png
    599 kB
    xet
    Upload 12 files over 1 year ago
  • 10.png
    865 kB
    xet
    Upload 12 files over 1 year ago
  • 11.png
    881 kB
    xet
    Upload 12 files over 1 year ago
  • 12.png
    702 kB
    xet
    Upload 12 files over 1 year ago
  • 2.png
    881 kB
    xet
    Upload 12 files over 1 year ago
  • 3.png
    656 kB
    xet
    Upload 12 files over 1 year ago
  • 4.png
    765 kB
    xet
    Upload 12 files over 1 year ago
  • 5.png
    755 kB
    xet
    Upload 12 files over 1 year ago
  • 6.png
    829 kB
    xet
    Upload 12 files over 1 year ago
  • 7.png
    828 kB
    xet
    Upload 12 files over 1 year ago
  • 8.png
    582 kB
    xet
    Upload 12 files over 1 year ago
  • 9.png
    613 kB
    xet
    Upload 12 files over 1 year ago