Expose an API to use the model