Query Batch Models
Get a list of available models for batch processing.
URL:
GET https://api.scriptix.io/api/v3/speech-to-text/models
๐งพ Request Headersโ
The following headers need to be present:
Parameter | Value | Description |
---|---|---|
content-type | application/json | Content type of the request |
x-zoom-s2t-key | Scriptix Batch API Token | API key of type batch for authorization |
๐ฆ Responsesโ
Status code | Description | Payload |
---|---|---|
200 | Models Returned | โ |
401 | Unauthorized | โ |
415 | Content Invalid | โ |
422 | Body Invalid | โ |
500 | Server Error | โ |
โ Successful Queryingโ
On success, a list of language models will be returned.
You should use the key
in the response to set the language for the session.
Example response:โ
{
"count": 3,
"total_results": 3,
"result": [
{
"bcp47": "ar",
"has_punctuation": false,
"is_private": false,
"key": "ar",
"name": "Arabic",
"id": 1,
"is_trainable": false
},
{
"bcp47": "da",
"has_punctuation": false,
"is_private": false,
"key": "da",
"name": "Danish",
"id": 2,
"is_trainable": false
},
{
"bcp47": "nl",
"has_punctuation": true,
"is_private": false,
"key": "nl",
"name": "Dutch",
"id": 3,
"is_trainable": false
}
]
}