File size: 7,640 Bytes
a3baa1f 84f365e a3baa1f 84f365e 7672768 84f365e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | ---
license: other
license_name: minimax-h3-image-community-license-agreement
license_link: https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/LICENSE
base_model: MiniMaxAI/MiniMax-H3-Image
pipeline_tag: image-to-image
tags:
- comfyui
- lora
- minimax
- h3-image
- image-editing
- reference-fidelity
---
# H3 Image β Reference Fidelity
**Reference fidelity without spatial rigidity.**
A general-purpose image-editing LoRA for MiniMax H3 Image, trained to improve reference fidelity while allowing natural changes in posture, orientation, framing and environment.
The original motivation was H3's tendency to introduce unrequested changes to facial features, body proportions, expressions, clothing, accessories and coloration when editing reference images.
The objective is simple: **Change what you ask for. Preserve what you don't.**
## Examples
### Scene insertion and reference fidelity

Notice the preservation of hair clips, lanyard, shoulder bag, facial characteristics, expression and original coloration while allowing a natural change in posture and environment.
### Pose flexibility and illustrative references

Base H3 retains much of the original head tilt and body positioning. Reference Fidelity allows a more substantial change in posture while preserving the character design and illustrative style.
The LoRA was trained exclusively on photographs of people. No illustrations were included in the training dataset.
### Character turnarounds

Reference Fidelity can help preserve distinctive facial geometry, expression and physical characteristics across different viewing angles.
### Non-human objects

Although the training dataset contained only human subjects, the LoRA remains capable of handling non-human references and object turnarounds. Notice the shadow of the second hand is preserved, and the bottom of the clock still rests correctly on the surface.
## Observed benefits
- Improved preservation of facial geometry and body proportions.
- Improved preservation of subtle facial expressions.
- Better retention of clothing, accessories and incidental reference details.
- Better preservation of original coloration and photographic characteristics.
- Reduced tendency to import the original reference pose into a new scene.
- Improved flexibility when changing subject orientation and posture.
- Compatibility with illustrative references despite photographic-only training.
This is not a subject-specific identity LoRA or an aesthetic LoRA. It is intended to improve the editing behavior of H3 Image across different subjects.
## Recommended usage
- Base model: MiniMax H3 Image
- Intended use: Image-to-image and reference-based editing
- Recommended checkpoint: **H3_Image_Fidelity_E10.safetensors**
- Recommended starting strength: 1.0
- Trigger word: None
Load the LoRA using a standard LoRA loader in ComfyUI.
Use positive instructions describing the characteristics to preserve and the transformation you want to perform. Detailed negative instructions may introduce unwanted visual concepts into the generation.
## Available checkpoints
All checkpoints use rank 16 and alpha 16.
| File | Training stage |
|---|---|
| H3_Image_Fidelity_E06.safetensors | Epoch 6 |
| H3_Image_Fidelity_E08.safetensors | Epoch 8 |
| **H3_Image_Fidelity_E10.safetensors** | **Epoch 10 β recommended** |
| H3_Image_Fidelity_E12.safetensors | Epoch 12 |
| H3_Image_Fidelity_E14.safetensors | Epoch 14 |
| H3_Image_Fidelity_E16.safetensors | Epoch 16 |
| H3_Image_Fidelity_Full.safetensors | Final export |
Each checkpoint is approximately 149 MB.
Epoch 10 currently appears to offer the best overall balance between reference fidelity and compositional flexibility.
Later checkpoints remain useful but may introduce tighter framing or other minor compositional preferences. Additional checkpoints are provided so users can experiment and determine which works best for their particular workflows.
## Training methodology
The dataset consists of 50 unique adult subjects, with three photographs of each subject extracted from real video footage.
The photographs capture the same individual at different angles, distances, orientations, expressions or postures while maintaining continuity in physical appearance, clothing and accessories.
Each set of three photographs generates six directional training pairs:
- A β B
- A β C
- B β A
- B β C
- C β A
- C β B
This produced 300 initial training pairs from 150 unique photographs. Eight pairs were removed during aspect-ratio validation, leaving 292 training pairs.
Each pair received an individual transformation caption generated locally using Ternary Bonsai 2 27B with access to both photographs.
The captions describe the changes between the images rather than describing the subject's identity or physical characteristics.
The intention was to teach the model how to transform an image while preserving the characteristics that remain unchanged.
The dataset includes different ages, body types, facial structures, clothing, environments, lighting conditions and photographic compositions.
## Training parameters
| Parameter | Value |
|---|---|
| Trainer | Fizgig |
| Training type | H3 Image Edit LoRA |
| Unique subjects | 50 |
| Unique source photographs | 150 |
| Training pairs | 292 |
| Captioning | Individual directional edit captions |
| Network rank | 16 |
| Network alpha | 16 |
| Initial learning rate | 0.00028 |
| Training resolution | 0.5 MP |
| Seed | 42 |
| EMA | 0.98 |
| Adaptive learning rate | Disabled |
| Context LoRA | None |
| Training adapter | Enabled |
| Likeness optimization | Disabled |
| Auto-recaption | Disabled |
| Checkpoint interval | Every 2 epochs |
| GPU | NVIDIA RTX 5060 Ti 16 GB |
| System RAM | 64 GB |
## Text-to-image observations

Although this LoRA was trained for image editing, it also affects text-to-image generation.
My working hypothesis is that the LoRA reduces some of H3's existing model biases rather than simply strengthening identity conditioning. This could explain why it improves reference fidelity without increasing pose rigidity.
In T2I workflows, the LoRA potentially reduces model bias. This has unpredictable effects, depending on coexisting LoRA use.
**I do not generally recommend this LoRA for T2I.**
Other style and subject LoRAs may behave differently when combined with Reference Fidelity.
## Limitations
- Reference fidelity is improved, not guaranteed.
- Some facial and anatomical differences remain.
- Later checkpoints may favor closer framing.
- Unseen viewing angles necessarily involve inferred information.
- Dedicated character-swap workflows may not benefit from this LoRA.
- Compatibility with other LoRAs is not guaranteed.
- The proposed bias-reduction mechanism is a working hypothesis based on observed behavior.
This is an experimental release based on qualitative A/B testing rather than a formal benchmark.
Feedback, comparisons and experiments with different checkpoints are welcome.
## License
This LoRA is derived from MiniMax H3 Image and is subject to the [MiniMax-H3-Image Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/main/LICENSE), including its applicable usage and distribution restrictions.
## Credits
- MiniMax β H3 Image
- Fizgig β LoRA training
- Ternary Bonsai β automated image-pair captioning
- ComfyUI β inference and testing |