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

mike-srp
/
flux-kontext-main

Text-to-Image
Diffusers
Safetensors
FluxKontextPipeline
flux
kontext
tryon
diffusion
image-generation
Model card Files Files and versions
xet
Community

Instructions to use mike-srp/flux-kontext-main with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mike-srp/flux-kontext-main with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("mike-srp/flux-kontext-main", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
flux-kontext-main
57.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
mike-srp's picture
mike-srp
Initial upload of flux-kontext-main
67254a6 verified 11 months ago
  • scheduler
    Initial upload of flux-kontext-main 11 months ago
  • text_encoder
    Initial upload of flux-kontext-main 11 months ago
  • text_encoder_2
    Initial upload of flux-kontext-main 11 months ago
  • tokenizer
    Initial upload of flux-kontext-main 11 months ago
  • tokenizer_2
    Initial upload of flux-kontext-main 11 months ago
  • transformer
    Initial upload of flux-kontext-main 11 months ago
  • vae
    Initial upload of flux-kontext-main 11 months ago
  • .gitattributes
    1.66 kB
    Initial upload of flux-kontext-main 11 months ago
  • LICENSE.md
    18.6 kB
    Initial upload of flux-kontext-main 11 months ago
  • README.md
    634 Bytes
    Initial upload of flux-kontext-main 11 months ago
  • ae.safetensors
    335 MB
    xet
    Initial upload of flux-kontext-main 11 months ago
  • flux1-kontext-dev.safetensors
    23.8 GB
    xet
    Initial upload of flux-kontext-main 11 months ago
  • model_index.json
    688 Bytes
    Initial upload of flux-kontext-main 11 months ago
  • teaser.png
    6.17 MB
    xet
    Initial upload of flux-kontext-main 11 months ago