curl --request GET \
--url https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body"1\n00:00:00,000 --> 00:00:05,960\nWelcome to VMEG.\n\n2\n00:00:06,120 --> 00:00:09,480\nLet's get started.\n"Download transcript
Download the transcript of a finished transcription job as SRT (default) or JSON. The content is the latest version in the website editor, including your edits; it is the same transcript the website exports as original-language subtitles.
The SRT is returned as a plain-text body (Content-Type: application/x-subrip; charset=UTF-8), not wrapped in the JSON envelope. With format=json, the usual envelope is returned and data.segments holds the same entries as the SRT, with times in integer milliseconds. Errors always use the JSON envelope with HTTP 200 and code in the body: 400 invalid parameters; 404 the taskId is not a transcription job in your account (translation job IDs also return 404); 409 the job has not finished or its transcript is not ready yet (retry after status is finished).
Omit the Accept header or send Accept: */*. If Accept lists only non-JSON types (for example only application/x-subrip), error responses may not be returned correctly.
curl --request GET \
--url https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vmeg.ai/openapi/v1/app/tasks/transcription/srt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body"1\n00:00:00,000 --> 00:00:05,960\nWelcome to VMEG.\n\n2\n00:00:06,120 --> 00:00:09,480\nLet's get started.\n"Authorizations
Send your API Key in the Authorization header (Bearer <api_key>). See Authentication.
Query Parameters
Transcription task ID
srt (default) plain-text SRT | json JSON segments. Case-insensitive; other values return 400.
srt, json true prefixes each SRT line with [Speaker N] when speaker information is available. Default false; values other than true/false return 400. JSON always includes speaker.
Response
SRT text by default; JSON envelope with format=json.
The response is of type string.
"1\n00:00:00,000 --> 00:00:05,960\nWelcome to VMEG.\n\n2\n00:00:06,120 --> 00:00:09,480\nLet's get started.\n"

