You can query the inputs to get their ranges. Some are infinite, some have minimums and maximums. The documentation describes how to do so:
Filter names and attributes provide all the information you need to build a user interface that allows users to choose a filter and control its input parameters. The attributes for a filter tell you how many input parameters the filter has, the parameter names, the data type, and the minimum, maximum, and default values.