A newer version of the Gradio SDK is available: 6.20.0
metadata
title: Mage-Flow
emoji: 🎨
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 6.15.1
app_file: app.py
short_description: Efficient native-resolution image generation and editing
python_version: '3.12'
startup_duration_timeout: 30m
Mage-Flow
Efficient Native-Resolution Foundation Model for Image Generation and Editing.
This Space demonstrates Mage-Flow from Microsoft, a 4B-scale image generation and editing foundation model through a single unified interface:
- No image → the prompt generates a new image (routes to Mage-Flow-Turbo).
- With an uploaded image → the prompt is treated as an edit instruction (routes to Mage-Flow-Edit-Turbo).
The demo uses the Turbo variants for fast, few-step inference (4 steps, CFG 1.0).
Usage
- Enter a prompt.
- (Optional) Upload an image to edit — the prompt becomes an edit instruction.
- Click Run.