Speech To Text
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned; set multichannel_output_style='combined' to instead receive a single transcript with all channels merged and sorted by time. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
Query parameters
A single-use authentication token created via POST /v1/single-use-token/batch_scribe. This token can only be used once and expires after 15 minutes. Alternative to API key or bearer token authentication for frontend clients.
A single-use authentication token created via POST /v1/single-use-token/batch_scribe. This token can only be used once and expires after 15 minutes. Alternative to API key or bearer token authentication for frontend clients.
When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers.
When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Synchronous transcription result
Example response
{
"language_code": "en",
"language_probability": 0.98,
"text": "Hello world!",
"words": [
{
"end": 0.5,
"logprob": -0.124,
"speaker_id": "speaker_1",
"start": 0,
"text": "Hello",
"type": "word"
},
{
"end": 0.5,
"logprob": 0,
"speaker_id": "speaker_1",
"start": 0.5,
"text": " ",
"type": "spacing"
},
{
"end": 1.2,
"logprob": -0.089,
"speaker_id": "speaker_1",
"start": 0.5,
"text": "world!",
"type": "word"
}
]
}Changes
Changed in 2 of the 29 revisions of this API.21
- ▲
removed the enum value
scribe_v1of the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
scribe_v2of the request propertyrequest-property-enum-value-removed
- ▲
- ○
added the new optional
queryrequest parametertokennew-optional-request-parameter
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○