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 is a 20 dollar 100 artist test run to validate the model ability to learn artist style and adapt to the new Flux2VAE, which it achieve outstandingly when considering the budget used.
~ The architecture behind MageFlow 4B shows good promise for further investment:
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-5000~ 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)
GKjLvD9XGAhyEpsZvEUNH5je9PFbrivoV5yBfYKGYskq (Solana - SOL network)
Please handle your money carefully and make sure the address you're sending to is correct. Please contact me through discord (user: talannnn) if you're donating with crypto, to make sure it goes through and you're not losing money.
Ko-fi
| 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² |
Budget: 130~ dollars (25-30 lost due to experiments and mistakes)
Full config: Training and Dataset
Budget: 143~ dollars
Full config: Same as v0.1, just with changed lr due to only using x4 gpu instead of x8
Budget: 350~ dollars
Full config: Same as v0.2, but on x1 cheap H100 to save cost
Budget: 30~ dollars (10 lost due to mistakes and training program bug)
Full config (in V0.4 folder):
V0.4/mageflow-5k-lr2e5-512.toml
V0.4/mageflow-5k-lr2e5-1024.toml
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):
er_sde or eulersimple or betaThese are just my usual settings and workflow — feel free to experiment.
From V0.4 onwards, the model now include usage of quality tags, you usually want to add them at the end of the tag section of prompt, they are:
masterpiece, best quality, very aesthetic, aesthetic
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.4 support 100 artist, please download to see, https://huggingface.co/RicemanT/MageTrail/blob/main/V0.4/MageTrail-V0.4-artists.csv)
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.
Full training diary: MageTrail-diary
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.
Beeg thanks to:
qwen3vl_4b_bf16.safetensors 8.9 GBV0.1/MageTrail-V0.1-Epoch30.safetensors 8.2 GBV0.2/MageTrail-V0.2-Epoch100.safetensors 8.2 GBV0.4/MageTrail-V0.4-100ArtistTuneTest.safetensors 6.0 GBV0.3/MageTrail-V0.3.safetensors 6.0 GBflux2-vae.safetensors 336 MB有文件?提交种子。
提交种子