An application programming interface for generating null models