Spaces:
Runtime error
Runtime error
Update README for unified interface
Browse files14 unmodified lines15161718192021222324252627282930313233343536373814 unmodified linesEfficient Native-Resolution Foundation Model for Image Generation and Editing.This Space demonstrates [Mage-Flow](https://huggingface.co/papers/2607.19064) from Microsoft, a 4B-scale image generation and editing foundation model. It supports:- **Text → Image**: Generate images from text prompts at arbitrary resolutions.- **Image Edit**: Instruction-based editing of reference images.The demo uses the Turbo variants ([Mage-Flow-Turbo](https://huggingface.co/microsoft/Mage-Flow-Turbo) and [Mage-Flow-Edit-Turbo](https://huggingface.co/microsoft/Mage-Flow-Edit-Turbo)) for fast, few-step inference (4 steps, CFG 1.0).## Usage### Text → Image1. Enter a descriptive prompt.2. Adjust steps (Turbo default: 4) and CFG (Turbo default: 1.0).3. Click **Generate**.### Image Edit1. Upload a reference image.2. Enter an edit instruction (e.g., "change the background to a city street").3. Click **Edit**.## References14 unmodified lines15161718192021222324252627282930313214 unmodified linesEfficient Native-Resolution Foundation Model for Image Generation and Editing.This Space demonstrates [Mage-Flow](https://huggingface.co/papers/2607.19064) 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](https://huggingface.co/microsoft/Mage-Flow-Turbo)).- **With an uploaded image** → the prompt is treated as an edit instruction (routes to [Mage-Flow-Edit-Turbo](https://huggingface.co/microsoft/Mage-Flow-Edit-Turbo)).The demo uses the Turbo variants for fast, few-step inference (4 steps, CFG 1.0).## Usage1. Enter a prompt.2. *(Optional)* Upload an image to edit — the prompt becomes an edit instruction.3. Click **Run**.## References
README.md+7-13