Transliteration using API

I have been trying Transliteration can you suggest which is best to use and how can I use the OpenAI API for the same.