- Hugging Face: microsoft/Mage-Flow
- Hugging Face: Comfy-Org/Mage-Flow (ComfyUI models)
- Official GitHub repository
- Technical report (arXiv)
Mage-Flow text-to-image workflow
Run in Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “Mage-Flow” in Template Library
- Text to Image (Mage-Flow) subgraph: the core generation pipeline, containing model loading, prompt handling, native-resolution latent generation, sampling, and VAE decode
- SaveImageAdvanced: saves the generated image
Learn about Subgraph
This workflow uses Subgraph nodes for modular processing. Check out the Subgraph documentation to learn how to customize and extend the workflow.
Single-click generation
At its simplest, just enter a text prompt in the subgraph, set your desired resolution, and click Queue Prompt. The defaults produce a high-quality image with minimal configuration.Using the workflow
- Enter a prompt — type a text description in the subgraph’s prompt input
- Set resolution — adjust width and height for your desired output size. Mage-Flow supports native resolutions from 512 to 2048 pixels per side.
- Adjust settings — configure the seed and negative prompt as needed
- Click Queue — press
Ctrl+Enterto generate
Mage-Flow Turbo text-to-image workflow
Run in Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “Mage-Flow Turbo” in Template Library
Mage-Flow-Edit image edit workflow
Run in Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “Mage-Flow-Edit” in Template Library
Download Sample Image
Get the example input image for this workflow
- LoadImage: upload your reference images (up to 3)
- Image Edit (Mage-Flow-Edit) subgraph: the core editing pipeline containing model loading, reference image conditioning, prompt handling, and sampling
- ImageCompare: a side-by-side comparison of the original and edited image
- SaveImage: saves the edited output
Using image edit
- Upload reference images — use the LoadImage node to load the image you want to edit (up to 3 images)
- Enter your edit instruction — type a text description of the edit you want to apply (e.g., “replace the background with a beach scene” or “turn this into a watercolor painting”)
- Adjust settings — configure resolution, seed, and other parameters
- Click Queue — press
Ctrl+Enterto generate
Mage-Flow-Edit Turbo image edit workflow
Run in Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “Mage-Flow-Edit Turbo” in Template Library
Download Sample Image
Get the example input image for this workflow
Model downloads
For local use, download the ComfyUI-optimized model files from Comfy-Org/Mage-Flow.Text Encoder
qwen3vl_4b_bf16.safetensors: Qwen3VL-4B text encoder
VAE
mage_flow_vae_bf16.safetensors
Diffusion Model (Base Int8)
mage_flow_int8_convrot.safetensors: Base model used in the T2I workflow
Diffusion Model (Turbo Int8)
mage_flow_turbo_int8_convrot.safetensors: Turbo model used in the Turbo T2I workflow
Diffusion Model (Edit Int8)
mage_flow_edit_int8_convrot.safetensors: Edit model used in the Edit workflow
Diffusion Model (Edit Turbo Int8)
mage_flow_edit_turbo_int8_convrot.safetensors: Edit Turbo model used in the Edit Turbo workflow