You can't replace Twitter's API (or any social network interface, as the network effects are the value). If you build on OpenAI, you can at least have a forward looking plan to swap out their API for your own ML system (or a competitor) once other systems reach parity (which, assuming current trajectories, they eventually will).