Text-to-Image
Diffusers
Safetensors
MageFlowPipeline
image-generation
image-editing
diffusion
rectified-flow
mage-flow
Instructions to use microsoft/Mage-Flow-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use microsoft/Mage-Flow-Base 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-Base", 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
Fix README: close stray centered div, add badges
Browse files
README.md
CHANGED
|
@@ -13,7 +13,11 @@ tags:
|
|
| 13 |
|
| 14 |
<h1 align="center"> Mage-Flow <br><sub><sup>An Efficient Native-Resolution Foundation Model for Image Generation and Editing</sup></sub></h1>
|
| 15 |
|
| 16 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
<div align="center">
|
| 19 |
<img src="assets/mage-flow-cover.png" width="100%" alt="gallery">
|
|
|
|
| 13 |
|
| 14 |
<h1 align="center"> Mage-Flow <br><sub><sup>An Efficient Native-Resolution Foundation Model for Image Generation and Editing</sup></sub></h1>
|
| 15 |
|
| 16 |
+
<p align="center">
|
| 17 |
+
<a href="https://github.com/microsoft/Mage"><img src="https://img.shields.io/badge/Code-GitHub-181717?logo=github" alt="GitHub"></a>
|
| 18 |
+
<a href="https://huggingface.co/microsoft/Mage-Flow-Base"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-ffcc00" alt="Hugging Face"></a>
|
| 19 |
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green" alt="License: MIT"></a>
|
| 20 |
+
</p>
|
| 21 |
|
| 22 |
<div align="center">
|
| 23 |
<img src="assets/mage-flow-cover.png" width="100%" alt="gallery">
|