- Hugging Face:microsoft/Mage-Flow
- Hugging Face:Comfy-Org/Mage-Flow(ComfyUI 模型)
- 官方 GitHub 仓库
- 技术报告(arXiv)
Mage-Flow 文生图工作流
在 Comfy Cloud 上运行
在 Comfy Cloud 中打开
下载工作流
下载 JSON 或在模板库中搜索 “Mage-Flow”
- 文生图(Mage-Flow)子图:核心生成 pipeline,包含模型加载、提示词处理、原生分辨率 Latent 生成、采样和 VAE解码
- SaveImageAdvanced:保存已生成的图像
了解 Subgraph
此工作流使用 Subgraph 节点进行模块化处理。请查阅 Subgraph 文档,了解如何自定义和扩展此工作流。
一键生成
最简单的方式是:在子图中输入文本提示词,设置所需分辨率,然后点击 执行提示词。默认参数即可生成高质量图像,几乎无需额外配置。使用工作流
- 输入提示词:在子图的提示词输入框中输入文本描述
- 设置分辨率:调整宽度和高度,以获得所需的输出尺寸。Mage-Flow 支持每边 512 至 2048 像素的原生分辨率。
- 调整设置:根据需要配置种子和负面提示词
- 点击队列:按
Ctrl+Enter生成
Mage-Flow text-to-image workflow
Run on 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-Edit image edit workflow
Run on 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 on 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