.mp3 file or a base64-encoded audio file.
View the Code
See the code for this example on Github.
Initial Setup
In your Python file, add the following code to define your endpoint and handle the transcription:app.py
Deployment
To deploy the app, run the following command:If you named your file something different than
app.py, make sure to
customize the command with your correct file name.Invoking the API
Once the API is running, you can invoke it with a URL to an.mp3 file using the following cURL command:
[YOUR-AUTH-TOKEN] with your authentication token.