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

Shakker-Labs
/
FLUX.1-dev-LoRA-One-Click-Creative-Template

Text-to-Image
Diffusers
Safetensors
English
stable-diffusion
lora
image-generation
flux
Model card Files Files and versions
xet
Community
7

Instructions to use Shakker-Labs/FLUX.1-dev-LoRA-One-Click-Creative-Template with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Shakker-Labs/FLUX.1-dev-LoRA-One-Click-Creative-Template 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("Shakker-Labs/FLUX.1-dev-LoRA-One-Click-Creative-Template")
    
    prompt = "A young man, gold hair, white T-shirt. The background is 4 real photos, and in the middle is a cartoon picture summarizing the real photos."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
FLUX.1-dev-LoRA-One-Click-Creative-Template / images
544 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
wanghaofan's picture
wanghaofan
Add 4 files
da970fe verified over 1 year ago
  • 9104a1e9c1debdb1188c06a5e07bf4a084f0d8005e082f01f8de7c19.jpg
    235 kB
    xet
    Add 4 files over 1 year ago
  • b4425607370dcaa80717519f157a64436dd92238dc60786639845551.jpg
    135 kB
    xet
    Add 4 files over 1 year ago
  • f2cc649985648e57b9b9b14ca7a8744ac8e50d75b3a334ed4df0f368.jpg
    175 kB
    xet
    Add 4 files over 1 year ago