Method
transcribeAudio POST
Copy POST

Transcribe the audio

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentToken str The deployment token to authenticate access to created deployments. This token is only authorized to make predictions on deployments in this project, so it can be safely embedded in an application or website.
Yes deploymentId str The unique identifier of a deployment created under the project.
Yes audio bytes The audio to transcribe.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
Prediction

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: