Getting Started
Translation is the REST API developed for localizing the contents from English to Indic languages. Using the Translation API, you can either localize a single sentence or multiple sentences in a fraction of time.
In this guide, you’ll learn how to automatically transcribe live streaming audio in real time using Reverie’s SDKs, which are supported for use with the Reverie API.
Before you start, you’ll need to follow the steps in the Get your API Credentials to obtain your API KEY & APP ID.
Make your first Call
Make your first API Call using the cURL request. Add your own API Credentials where it says <YOUR-APP-ID>
& <YOUR-API-KEY>
and then run the following example in a terminal or your favorite API client.
By default, The API will return the strings in the target language.
SDKs
Reverie has several SDKs that can make it easier to use the API. Follow these steps to use the SDK of your choice to make a Reverie Translation request.
Install Dependencies
Translate Text to your preferred language
The following code shows how to convert the text to your preferred language.
Results
In order to see the results from Reverie, you must run the application. Run your application from the terminal. Your transcripts will appear in your shell.
Analyzing the Response
The API returns a responseList
, which is an array containing the localized content. Each item includes the inString
, representing the original input text in the source language, and the corresponding outString
, which contains the translated text in the requested target language.