Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
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

ParameterData TypeRequiredRangeDescription
modelMODELYes-The model to apply Flux sampling to
max_shiftFLOATYes0.0 - 100.0Maximum shift value for sampling calculation (default: 1.15)
base_shiftFLOATYes0.0 - 100.0Base shift value for sampling calculation (default: 0.5)
widthINTYes16 - MAX_RESOLUTIONWidth of the target image in pixels (default: 1024)
heightINTYes16 - MAX_RESOLUTIONHeight of the target image in pixels (default: 1024)

Outputs

Output NameData TypeDescription
modelMODELThe modified model with Flux sampling configuration applied