Create transcription
Create new transcription.
curl --request POST \
--url https://api.rask.ai/v2/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
List of segments. The segment source language must be defined without the dialect, for example en
instead of en-us
. See the list of source languages available.
Segment start time. Must be valid HH:MM:SS,mmm
timestamp
Segment end time. Must be valid HH:MM:SS,mmm
timestamp
Speaker identifier. Must be specified in SPEAKER_XX
format (case-sensitive), where XX
corresponds to Speaker's index, starting with 00.
Response
List of segments
Segment start time. Must be valid HH:MM:SS,mmm
timestamp
Segment end time. Must be valid HH:MM:SS,mmm
timestamp
Segment ID
Segment status
processing
, updated
, done
, error
Speaker identifier. Must be specified in SPEAKER_XX
format (case-sensitive), where XX
corresponds to Speaker's index, starting with 00.
Transcription ID
curl --request POST \
--url https://api.rask.ai/v2/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}