Wait. So why not just contribute to an existing open source project if you’re going to implement an identical API?
If you run your own models as a part of it, surely you could hook up your models as a backend to whatever abstractions you’re copying here.