Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text to image

MageTrail

by Tran Tay RicemanT/MageTrail

MageTrail is an open-weight model for text to image from Tran Tay, released under MIT License. Its published files total 112.0 GB.

ALL PREVIEW IMAGES HAVE COMFYUI METADATA. MageTrail is a Danbooru/E621 proof of concept Full-Finetune of Microsoft's MageFlow 4B T2I model, now 2.8B custom architecture, using a diversity maximized condensed 41k images dataset as a way to tune booru concept…

Parameters—
Context—
Weights112.0 GB
Licensemit
AccessOpen weights
Monthly Downloads—

Model Card

By Tran Tay, published under mit, revision e82b5369c7f9.

ALL PREVIEW IMAGES HAVE COMFYUI METADATA. MageTrail is a Danbooru/E621 proof of concept Full-Finetune of Microsoft's MageFlow 4B T2I model, now 2.8B custom architecture, using a diversity maximized condensed 41k images dataset as a way to tune booru concept and tags based prompting + Illustration capabilities into the model without having to tune with the full booru dataset. My second attempt at fine-tuning an image model on larger scale, this finetune aim to prove to the open source community on MageFlow 4B having good potential as an architecture for further finetuning. ~ V0.1 to V0.3 have spent 593 dollars and has ultimately shown the model potential in quickly learning and adapting…

Read Tran Tay's full model card

MageTrail - 2.8B Image Model based on Microsoft's MageFlow 4B

ALL PREVIEW IMAGES HAVE COMFYUI METADATA.


I. Introduction

MageTrail is a Danbooru/E621 proof of concept Full-Finetune of Microsoft's MageFlow 4B T2I model, now 2.8B custom architecture, using a diversity maximized condensed 41k images dataset as a way to tune booru concept and tags based prompting + Illustration capabilities into the model without having to tune with the full booru dataset.

My second attempt at fine-tuning an image model on larger scale, this finetune aim to prove to the open source community on MageFlow 4B having good potential as an architecture for further finetuning.

~ V0.1 to V0.3 have spent 593 dollars and has ultimately shown the model potential in quickly learning and adapting booru concept and tags to its knowledge base, but has outgrown its limited 41k dataset, V0.4 onwards will be artist style tuning at a larger data scale.

~ The architecture behind MageFlow 4B shows good promise for further investment:

  • Being 15-20% faster than NVIDIA Cosmos2/Anima on inference despite being 2 billion parameters larger
  • From V0.3 onwards, new discovery have prove the model is completely compatible with Flux2VAE (the current best open source VAE available) in training with some code changes, meaning the architecture is now COMPLETELY a Flux2VAE arch, without needing any money to do a realignment tune to new vae.
  • Having a decent Qwen 3 VL 4B Text Encoder
  • 256-2048 pixels resolution native support
  • Being fairly quick to learn and adapt to new knowledge without any knowledge forgetting

Please scroll down to the generation recommendation section to download the required custom node.

BIG GOAL: Due to https://huggingface.co/Muinez/mage-flow-ft , I now completely believe in MageFlow being the next best small scale arch to replace Anima in the Illustration sphrere, the model has shown to have the ability to learn concepts/characters/styles efficiently while being a superior architecture. I pledge to finetune a Anima successor if given 25k-100k dollars of funding from the open source community/any generous patrons.

SMALL GOAL: Gather funding of 1000-2000~ dollars to finetune 10k-100k artist styles into the model (200k-3 million images finetune, planned V0.4-V1) and help further with convergence/aesthetic improvement if the aforementioned big goal above hasn't been reached.

Any donation will help with achieving this goal, you can do so through:

Crypto (Prefered, cause Kofi/Paypal money transfer time is ass and they take a big cut)

0x6a4bc748cd0bb9ced9a360eb0eb79f4f106614f8 (USDT - BEP20 Network)

12PPVYUeS1MerNp38Tpns5qXR6cmhu9tws (Bitcoin - BTC Network)

0x6a4bc748cd0bb9ced9a360eb0eb79f4f106614f8 (Ethereum - ERC20 Network)

FitfJAsxLUBuSgDJJaHgBXJpt1sMm5FzF1Tvf1SHW5Up (Solana - SOL network)

Please handle your money carefully and make sure the address you're sending to is correct.

Ko-fi

https://ko-fi.com/talanartvn

II. Model Details

Original Base model Microsoft's MageFlow 4B
Modified Base model MageTrail 2.8B Adaln Approximation
Method Full Finetune
Trainer My Diffusion-Pipe fork
Hardware H100 HBM3 80GB, rented with Banodoco sponsor and donation from the community
Total training time 64 (v0.1) + 92 (v0.2) + 269 (V0.3) of H100 hours
Total samples seen 8.1~ million (v0.1-v0.3)
Training resolutions 1024²

Training run

Version 0.1 (initial 20 epoch run → extended 10 epoch run)

Budget: 130~ dollars (25-30 lost due to experiments and mistakes)

Full config: Training and Dataset

  • Learning rate: 7e-6
  • LR scheduler: Warmup -> Constant -> REX to 0e-7
  • Precision: Full BF16
  • Optimizer: AdamW8bit with Kahan summation (to offset BF16 precision roundoff)
  • Weight decay: 0.02
  • Timestep sampling: Logit-Normal, shift 6, sigmoid scale 1.0

Version 0.2 (70 epoch continuation)

Budget: 143~ dollars

Full config: Same as v0.1, just with changed lr due to only using x4 gpu instead of x8

  • Learning rate: 5e-6
  • LR scheduler: Warmup -> Constant -> REX to 0e-7
  • Precision: Full BF16
  • Optimizer: AdamW8bit with Kahan summation (to offset BF16 precision roundoff)
  • Weight decay: 0.02
  • Timestep sampling: Logit-Normal, shift 6, sigmoid scale 1.0

Version 0.3 (100 epoch final continuation)

Budget: 350~ dollars

Full config: Same as v0.2, but on x1 cheap H100 to save cost

  • Learning rate: 5e-6
  • LR scheduler: Warmup -> Constant -> REX to 0e-7
  • Precision: Full BF16
  • Optimizer: AdamW8bit with Kahan summation and fixed weight decay feature (it was actually broken before, really bad oversight from me)
  • Weight decay: 0.02
  • Timestep sampling: Logit-Normal, shift 6, sigmoid scale 1.0

Additional training features

  • Tag dropout: 10%
  • Caption dropout: 5%
  • Mixed captions at 25/25/25/25 ratio (tags only, NL only, tags-nl, nl-tags)
  • Tag shuffle
  • Caption shuffle
  • Artist trigger attribution system

III. Recommended Settings

From V0.25 onwards, the model require downloading the https://github.com/bluvoll/ComfyUI-MageFlow-Compressed custom node. The model is not supported in any other UI currently. These are the settings used for the sample images above (ComfyUI, the image have metadata):

  • Shift: 5.0 (or ComfyUI default)
  • Steps: 50 (or 30 step for faster gen)
  • CFG: 8 (or 5 for faster gen)
  • Sampler: er_sde or euler
  • Scheduler: simple or beta

These are just my usual settings and workflow — feel free to experiment.

Artist Trigger: This model use the Drawn by artistname trigger, if you want to use the model built-in artist tag, please always put one at the start of your prompt. (Currently V0.1-V0.3 barely support any artist or characters though)


IV. Dataset

Booru-Essence-2026 41k images

Originally created by Lodestone Rock, the dataset was updated to 2026 tag standard and captioned with SOTA API captioners, see dataset repo for details. Model training, Dataset and Captioning tooling lives in the utils folder of the training repo.


VI. Notes from the Training Diary

Full training diary: MageTrail-diary


VII. License

This model is a Derivative of Microsoft's MageFlow and is distributed under the same MIT License as the base model, with no additional restrictions.


VIII. Acknowledgments

Beeg thanks to:

  • Banodoco and their Discord — Their 88.77 dollar initial grant and further support on future requests made this project possible, the biggest thanks to them
  • Lodestone Rock — Creator of the original version of the booru essence dataset that this model is trained on
  • Motimalu — Inspiration behind finetuning practices and configs
  • Bluvoll — Creator of the modified 2.8B arch, diffusion-pipe fork derived from to use for training, and general training advice
  • Anzhc — general training advice
  • Nruaif — diffusion-pipe fork derived from to use for training, and general dataset handling/training advice
  • Astromahdi — jupyter workspace and storage where I processed and store the dataset
  • Heato-Red — Designer of model page logo
  • animetimm/DeepGHS — Danbooru tagging model
  • RedRocket — E621 tagging model
  • Format inspired by Motimalu's Kirazuri diary

Identity and Version

Repository
RicemanT/MageTrail
Publisher
Tran Tay
Task
Text to image
Modality
Image
Library
diffusers
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
e82b5369c7f9f8d29467300f6be9f2e2b8494fba
First published
2026-09-04
Last updated
2026-10-12

Files and Weights

52 files, 112.0 GB in total. The weights are 18 files totalling 112.0 GB in safetensors.

Weights18 files · 112.0 GB
Configuration1 file · 243 B
Documentation1 file · 12.6 KB
Other31 files · 35.5 MB
Repository1 file · 5.6 KB
Every file
FileTypeSizeSHA-256
V0.1/MageTrail-V0.1-Epoch30.safetensorsWeights8.2 GB 7be8f541c1dc
V0.2/MageTrail-V0.2-Epoch100.safetensorsWeights8.2 GB 665269c76c10
V0.3/MageTrail-V0.3.safetensorsWeights6.0 GB 011cf641188d
V0.4/magetrail-v04-5k-1024-epoch002.safetensorsWeights6.0 GB 1421ab6cbe3f
V0.4/magetrail-v04-5k-1024-epoch004.safetensorsWeights6.0 GB e0a0bfdd8d89
V0.4/magetrail-v04-5k-1024-epoch006.safetensorsWeights6.0 GB 455b9408613d
V0.4/magetrail-v04-5k-1024.safetensorsWeights6.0 GB 194b1202ce18
V0.4/magetrail-v04-5k-512-epoch010.safetensorsWeights6.0 GB ed42e932372d
V0.4/magetrail-v04-5k-512-epoch020.safetensorsWeights6.0 GB a1df8b9ade88
V0.4/magetrail-v04-5k-512-epoch030.safetensorsWeights6.0 GB a7fb35f89111
V0.4/magetrail-v04-5k-512-epoch040.safetensorsWeights6.0 GB e6d7b5a86d3b
V0.4/magetrail-v04-5k-512-epoch050.safetensorsWeights6.0 GB 49645a5cfd5a
V0.4/magetrail-v04-5k-512-epoch060.safetensorsWeights6.0 GB 227ed6ff3b32
V0.4/magetrail-v04-5k-512-epoch070.safetensorsWeights6.0 GB c0ffa96387a5
V0.4/magetrail-v04-5k-512.safetensorsWeights6.0 GB a06b9fc431f4
V0.4/magetrail-v04-5k-lr2e5-512-epoch010.safetensorsWeights6.0 GB b185a875861e
V0.4/magetrail-v04-5k-lr2e5-512-epoch020.safetensorsWeights6.0 GB dfad3667503d
V0.4/magetrail-v04-5k-lr2e5-512-epoch030.safetensorsWeights6.0 GB 04ac90d24b0a
V0.3/config.jsonConfiguration243 B —
README.mdDocumentation12.6 KB —
V0.3/mage_flow_BooruEssenceFFT.notebook.tomlOther6.0 KB —
V0.4/MageTrail-V0.4-artists.csvOther19.3 KB —
V0.4/MageTrail-V0.4-characters.csvOther298.5 KB —
images/V0.3/ComfyUI_temp_dqghf_00036_.pngOther1.7 MB 62c94753e6e5
images/V0.3/ComfyUI_temp_dqghf_00043_.pngOther1.4 MB 2ee674909321
images/V0.3/ComfyUI_temp_dqghf_00058_.pngOther1.5 MB bae434164397
images/V0.3/ComfyUI_temp_dqghf_00060_.pngOther1.3 MB 4fcdbcc75cd6
images/V0.3/ComfyUI_temp_dqghf_00087_.pngOther1.4 MB 0b39302b8ae2
images/V0.3/ComfyUI_temp_dqghf_00102_.pngOther1.6 MB 1d244e855995
images/V0.3/ComfyUI_temp_dqghf_00117_.pngOther1.4 MB 4c4ec1257eb8
images/V0.3/ComfyUI_temp_dqghf_00137_.pngOther1.8 MB 497baf0023dc
images/V0.3/ComfyUI_temp_dqghf_00144_.pngOther1.3 MB c11d40377b7e
images/V0.3/ComfyUI_temp_dqghf_00161_.pngOther1.6 MB b3834b21c22a
images/V0.3/ComfyUI_temp_nkbtq_00031_.pngOther1.4 MB 7cccc39bfee4
images/V0.3/ComfyUI_temp_nnsiu_00031_.pngOther1.4 MB 7268b03736fb
images/V0.3/ComfyUI_temp_nnsiu_00043_.pngOther952.5 KB 2c04bae2a092
images/V0.3/ComfyUI_temp_nnsiu_00054_.pngOther1.3 MB 3bd44fff3b89
images/V0.3/ComfyUI_temp_nnsiu_00058_.pngOther1.3 MB f37bcdb485ce
images/V0.3/ComfyUI_temp_nnsiu_00063_.pngOther1.1 MB df2a903433d8
images/V0.3/ComfyUI_temp_qbkrk_00115_.pngOther1.1 MB 50d317fce4ce
images/V0.3/ComfyUI_temp_qbkrk_00125_.pngOther922.9 KB ed6986a8c1ee
images/V0.3/ComfyUI_temp_qbkrk_00136_.pngOther1.4 MB 798698d439f9
images/V0.3/ComfyUI_temp_qbkrk_00140_.pngOther1.2 MB 4f7fd930e6d7
images/V0.3/ComfyUI_temp_qbkrk_00147_.pngOther1.4 MB 26b0004afc4f
images/V0.3/ComfyUI_temp_qbkrk_00158_.pngOther1.6 MB e3df1217566e
images/V0.3/ComfyUI_temp_vzmql_00015_.pngOther1.5 MB 5445e2faf00d
images/V0.3/ComfyUI_temp_vzmql_00020_.pngOther1.4 MB fac5e031bc38
images/V0.3/ComfyUI_temp_vzmql_00022_.pngOther1.3 MB a876d5edb0bb
images/V0.3/cover.jpegOther68.4 KB —
images/V0.3/mascot.pngOther947.5 KB b5546b598363
images/V0.3/text.txtOther —
.gitattributesRepository5.6 KB —

License and Download

License
mit
Access
Open weights, no gate
Download size
112.0 GB
Download from Tran Tay

Released by Tran Tay through its official repository on Hugging Face. Read the license.

Built From

  • Derived from mage-flow-community/Mage-Flow
  • Trained on (disclosed) RicemanT/booru-essence-2026

Memory Requirements

PrecisionWeights in memory
As published112.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About MageTrail

Can I use MageTrail commercially?

Yes. MageTrail is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

GGUF, Safetensors, and MLX quantized formats of Qwen/Qwen-Image-2.1 for local image generation using the original upstream base weights. Q4KM is recommended for the best balance of size and quality for GGUF. INT8 ConvRot and NVFP4 offer high performance on supported GPUs, while MLX formats are optimized for Apple Silicon. Companion model files packaged for ComfyUI: Use the model with ComfyUI and ComfyUI-GGUF. All required companion files (GGUF transformer, text encoder, and VAE) are hosted directly in this repository. Download the files and place them in their respective ComfyUI directories: 1. Install ComfyUI-GGUF: Use the maintained fork with native Qwen-Image 2.1 support by cloning…

Open weights other gguf

GGUF quantizations of Qwen/Qwen-Image-2.1 for local image generation using the original upstream base weights. Q4KM is recommended for the best balance of size and quality. Companion model files packaged for ComfyUI: Use the model with ComfyUI and ComfyUI-GGUF. All required companion files (GGUF transformer, text encoder, and VAE) are hosted directly in this repository. Download the files and place them in their respective ComfyUI directories: 1. Install ComfyUI-GGUF: Use the maintained fork with native Qwen-Image 2.1 support by cloning leejet/ComfyUI-GGUF into your custom nodes: (Note: If you have the older city96/ComfyUI-GGUF installed and encounter an Unknown model architecture! error…

Open weights other gguf

Model · Text to image

Qwen-Image-2.1-GGUF

Unsloth AI

This is a GGUF quantized version of Qwen-Image-2.1. unsloth/Qwen-Image-2.1-GGUF uses Unsloth Dynamic 2.0 methodology for SOTA performance. - Important layers are upcasted to higher precision, per tensor, from a measured sensitivity scan. - Run these with Unsloth Desktop, stable-diffusion.cpp and more. A GGUF is the denoiser only, so it needs the VAE and the Qwen3-VL text encoder alongside it. See below for image editing operating inside of Unsloth Desktop: Rendered with the Q4KM denoiser and the Q4KM text encoder, 1024x1024, 20 steps, cfg 6.0, euler. We are excited to open-source Qwen-Image-2.1, a unified text-to-image generation and image editing model in the Qwen family. With just 7B…

Open weights other

Model · Text to image

Z-Image-Turbo-GGUF

Unsloth AI

Welcome to the official repository for the Z-Image(造相)project! Z-Image is a powerful and highly efficient image generation model with 6B parameters. Currently there are three variants: - Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers sub-second inference latency on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. - Z-Image-Base – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential…

Open weights apache-2.0 ggml

Model · Text to image

Juggernaut-XL-v9

RunDiffusion

The SDXL ecosystem is the single most mature corner of open image generation, and v9 is its most refined photorealism checkpoint. Choose Juggernaut XL v9 when you want: - Photorealism that holds up under scrutiny — skin texture, micro-contrast, and natural lighting that translates from concept to print. - Reasonable hardware — runs comfortably on 8 GB of VRAM, unlike newer DiT-based models that demand 16+ GB. - The full SDXL toolbox — drop-in compatibility with the thousands of SDXL ControlNets, IP-Adapter variants, AnimateDiff, regional prompting tools, and LoRAs already in your workflow. - Battle-tested reliability — 26+ months in production, used in agencies, studios, and shipping…

Open weights creativeml-openrail-m diffusers

Model · Text to image

Qwen-Image-Lightning

Lightx2v

Please refer to Qwen-Image-Lightning github to learn how to use the models. make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

Open weights apache-2.0 diffusers