multimodalart HF Staff commited on
Commit
8a536f3
·
verified ·
1 Parent(s): 47a2c66

Update README for unified interface

Browse files
Files changed (1) hide show
  1. README.md +7 -13
README.md CHANGED
@@ -15,24 +15,18 @@ startup_duration_timeout: 30m
15
 
16
  Efficient Native-Resolution Foundation Model for Image Generation and Editing.
17
 
18
- This Space demonstrates [Mage-Flow](https://huggingface.co/papers/2607.19064) from Microsoft, a 4B-scale image generation and editing foundation model. It supports:
19
 
20
- - **Text → Image**: Generate images from text prompts at arbitrary resolutions.
21
- - **Image Edit**: Instruction-based editing of reference images.
22
 
23
- 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).
24
 
25
  ## Usage
26
 
27
- ### Text Image
28
- 1. Enter a descriptive prompt.
29
- 2. Adjust steps (Turbo default: 4) and CFG (Turbo default: 1.0).
30
- 3. Click **Generate**.
31
-
32
- ### Image Edit
33
- 1. Upload a reference image.
34
- 2. Enter an edit instruction (e.g., "change the background to a city street").
35
- 3. Click **Edit**.
36
 
37
  ## References
38
 
 
15
 
16
  Efficient Native-Resolution Foundation Model for Image Generation and Editing.
17
 
18
+ 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:
19
 
20
+ - **No image** the prompt generates a new image (routes to [Mage-Flow-Turbo](https://huggingface.co/microsoft/Mage-Flow-Turbo)).
21
+ - **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)).
22
 
23
+ The demo uses the Turbo variants for fast, few-step inference (4 steps, CFG 1.0).
24
 
25
  ## Usage
26
 
27
+ 1. Enter a prompt.
28
+ 2. *(Optional)* Upload an image to edit — the prompt becomes an edit instruction.
29
+ 3. Click **Run**.
 
 
 
 
 
 
30
 
31
  ## References
32