Is there any API for implementing text translation? If it is a chat API, how can we ensure that the returned translation is stable? How is GPT-based translation generally done?
Azure offers a translation API that does a pretty good job and covers most languages. It also has a free tier: