Murf provides a robust Translation API that enables you to seamlessly convert text from one language to another. It supports high-quality translations across major global languages.
Whether you’re localizing product descriptions, articles or scripts, our Translation API is designed to scale with your needs.
The Translate Text endpoint allows you to convert input text into your desired target language. You can use the Python SDK or the REST API directly to integrate the API into your app.
You can Generate your API key from the Murf API Dashboard and optionally set it as an environment variable.
If you’re using Python, you can install Murf’s Python SDK using the following command:
The translated text will be returned in the response.
The Translation API supports a wide range of languages. Below is a list of supported languages:
We support 23 languages and are constantly expanding our language coverage.
A full list of supported target_language codes can be found in the
Supported Languages section.
No, the source_language can be automatically detected by the API. You only
need to provide the target_language.
Funds are consumed based on the number of output characters. You’ll see both
values (characters_input and characters_output) in the API response and
your dashboard.
Yes, the Translation API allows up to 10 sentences per request, with each sentence being up to 4,000 characters long.