Spatial & Physics LoRA (MiniMax-H3)
Spatial reasoning and physical logic LoRA, trained on MiniMax-H3 (Comfy-Org/MiniMax-H3). It enables the base model to learn spatial relationships and physical motion of solid objects (collision, stacking, falling, occlusion, etc.)
This LoRA focuses strictly on object physics.
It is currently in the training and testing phase. The LoRA remains somewhat unstable due to issues with some training footage and labeling. A retraining run is planned for the next phase to fix these problems. The LoRA is usable at present; it moderately enhances physical feedback on top of the base model. The latest retrained version is wushu_spatial_physics_clean_3000_pruned.safetensors.
Video Comparisons
Tests using this LoRA show improved realism and physical logic across generated videos, such as realistic feedback from object collisions. It also works well for fight scenes to achieve realistic character collision effects.
Wushu fight clip with Spatial & Physics LoRA (strength 0.3)
Wushu fight clip without Spatial & Physics LoRA (identical prompt)
Other test videos (wushu_spatial_physics_v2_3000.safetensors)
Usage Instructions (ComfyUI)
Download the *.safetensors file and place it into ComfyUI/models/loras/
Load via LoraLoader, recommended strength: 0.8~1.0
Describe object motion using spatial and physical language in prompts
Keyword Library (extracted from training data)
① Subjects / Scenes
several colored objects
rigid objects
elastic objects
metal objects
a ball / balls
billiard balls
objects
on a table
in a synthetic scene
② Physical Behaviors
collision / colliding
a single collision between objects
bouncing / rebound
with visible impact and bounce
with minimal bounce
rolling into a wall
scattering
momentum transfer
in motion
③ Spatial Consistency Phrases (Critical!)
clear spatial layout
visible depth
consistent trajectories
gravity-consistent / gravity-consistent movement
gravity-consistent rebound trajectories
objects maintaining spatial relationships
realistic restitution
rigid collision with momentum transfer
Recommended Negative Prompt
Negative prompts were empty during training (no negative samples learned). It is recommended to only add quality/physical negative terms and avoid content conflicting with physical rules:
blurry, distorted, low quality, jittery motion, objects passing through each other, objects floating without gravity, morphing shapes, inconsistent lighting, flickering
Prompt Examples (ready to use)
Collision
several colored objects, a single collision between objects, metal objects with rigid, elastic collisions, clear spatial layout, visible depth, objects maintaining spatial relationships in a synthetic scene
several colored objects, objects colliding with visible impact and bounce, clear spatial layout, gravity-consistent trajectories
objects colliding with visible impact and bounce, clear spatial layout, gravity-consistent trajectories
Bounce / Rebound
Elastic objects bouncing with realistic restitution, clear spatial layout, gravity-consistent rebound trajectories
objects bouncing with realistic restitution, clear spatial layout, gravity-consistent rebound
a ball rolling into a wall and rebounding with minimal bounce, clear spatial layout, visible depth, rigid collision with momentum transfer
Multi-object Scattering / Billiards
billiard balls colliding and scattering on a table, momentum transfer between balls, clear spatial layout, visible depth
several balls on a table, a ball striking the group, momentum transfer, balls scattering with realistic collision, clear spatial layout, gravity-consistent
Trajectory / No Collision
Rigid objects in motion with clear spatial layout, consistent trajectories, gravity-consistent movement and visible depth
several colored objects, objects moving with consistent trajectories, no collision, clear spatial layout, visible depth, objects maintaining spatial relationships in a synthetic scene
Free Template (replace behavior keywords)
a ball thrown across the scene, [parabolic arc / gravity-consistent trajectory], clear spatial layout, visible depth
two balls colliding in mid-air, clear spatial layout, consistent trajectories, gravity-consistent rebound, visible depth
Description
FAQ
Comments (2)
Thanks for sharing. Does this LoRA help improve fluid dynamics?
I simply tested my own comparative case and found that the feedback on obstacles has indeed become more reasonable