Pipeline: Model API

Pipeline model api