Skip to main content
The ModelSamplingFlux node applies Flux model sampling to a given model by calculating a shift parameter based on image dimensions. It creates a specialized sampling configuration that adjusts the model’s behavior according to the specified width, height, and shift parameters, then returns the modified model with the new sampling settings applied.

Inputs

ParameterDescriptionData TypeRequiredRange
modelThe model to apply Flux sampling toMODELYes-
max_shiftMaximum shift value for sampling calculation (default: 1.15)FLOATYes0.0 - 100.0
base_shiftBase shift value for sampling calculation (default: 0.5)FLOATYes0.0 - 100.0
widthWidth of the target image in pixels (default: 1024)INTYes16 - MAX_RESOLUTION
heightHeight of the target image in pixels (default: 1024)INTYes16 - MAX_RESOLUTION

Outputs

Output NameDescriptionData Type
modelThe modified model with Flux sampling configuration appliedMODEL
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 35733ab0cd032884ceada13715cf51e626586844e8e575471a5ba7cf8a1e5e49