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

microsoft
/
Mage-Flow

Text-to-Image
Diffusers
Safetensors
MageFlowPipeline
image-generation
image-editing
diffusion
rectified-flow
mage-flow
Model card Files Files and versions
xet
Community
3

Instructions to use microsoft/Mage-Flow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use microsoft/Mage-Flow with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("microsoft/Mage-Flow", torch_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
Mage-Flow
17.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
Xinjie-Q's picture
Xinjie-Q
README: set arXiv badge alt text back to arXiv
9f46d09 verified about 5 hours ago
  • assets
    add assets 1 day ago
  • scheduler
    add scheduler 1 day ago
  • text_encoder
    add text_encoder 1 day ago
  • transformer
    add transformer 1 day ago
  • vae
    add vae 1 day ago
  • .gitattributes
    2.79 kB
    add assets 1 day ago
  • README.md
    33.7 kB
    README: set arXiv badge alt text back to arXiv about 5 hours ago
  • model_index.json
    497 Bytes
    add model_index 1 day ago