ComfyUI Node

RF Inversion

Stores RF inversion settings/reference data in a normal LATENT and captures the sampler sigma schedule internally. No SIGMAS input is required.

By BigStationW·Created 3 months ago·Updated about a month ago· 125
RF Inversion
  • model
  • reference_latent
  • ref_conditioning
  • model
  • rf_inversion
rf_moderf_gamma
gamma0.50
pmi_alpha0.00
otip_strength0.35
otip_clip_norm20.00
verbosefalse
Categorymodel_patches/Untwisting RoPE

Inputs (9)

NameTypeDefaultDescription
modelMODEL
reference_latentLATENT
ref_conditioningCONDITIONING
rf_modeCOMBOrf_gammaSelects the ODE solver used to build the noisy reference trajectory. Set otip_strength > 0 to add OTIP transport guidance to the selected solver.
gammaFLOAT0.500–1Blends weight between model velocity and prior velocity (0 = pure prior / straight path, 1 = pure model).
pmi_alphaFLOAT0.000–1Proximal-Mean Inversion: 0 disables PMI, 1.0 matches the official radius. Applies to RF gamma, RK2, and FireFlow.
otip_strengthFLOAT0.350–1Optimal Transport for Rectified Flow Image Editing. 0 disables it.
otip_clip_normFLOAT20.000–100OTIP Clipping threshold for the closed-form Wasserstein-2 transport direction.
verboseBOOLEANfalseEnable verbose logging.

Outputs (2)

NameTypeDescription
modelMODEL
rf_inversionLATENT