Skip to main content

Automatic Speech Recognition

To convert spoken language (an audio signal) into text.

Path Parameters
automatic_speech_recognition_api_id integer REQUIRED

The API ID.

Header Parameters
Authorization string REQUIRED

Bearer Auth

Example: Bearer #your_token
Request Body
session_id string

Unique identifier used to maintain user session state. If not provided, a new session_id will be generated and returned in the response.

model string

Name of the model to use.

file binary REQUIRED

The audio file.

Responses
200

OK

Schema OPTIONAL
code integer

Error code. 0 when success.

msg string

Error message. Please use "code" instead of "msg" to determine errors.

data object OPTIONAL

Business data.

session_id string

Unique identifier used to maintain user session state.

text string

Text content of the audio.

400

Invalid input

401

Unauthorized

404

Record not found