[Feature]add model api