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

Cafe insertion comparison

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

Anima comparison

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

Character sheet comparison

Reference Fidelity can help preserve distinctive facial geometry, expression and physical characteristics across different viewing angles.

Non-human objects

Clock comparison

Although the training dataset contained only human subjects, the LoRA remains capable of handling non-human references and object turnarounds.

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

T2I comparison

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, including its applicable usage and distribution restrictions.

Credits

  • MiniMax β€” H3 Image
  • Fizgig β€” LoRA training
  • Ternary Bonsai β€” automated image-pair captioning
  • ComfyUI β€” inference and testing
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for banyenbkk/H3_Image_Reference_Fidelity

Adapter
(24)
this model