Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/subtitles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/subtitles"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
videoUrl: 'https://www.youtube.com/watch?v=eY4pgeNBhk4',
language: 'english',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
subtitleStyles: {template: 'productive', position: 'bottom-center', fontSize: 'm'}
})
};
fetch('https://mango.quickreel.io/api/v2/subtitles', 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://mango.quickreel.io/api/v2/subtitles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'videoUrl' => 'https://www.youtube.com/watch?v=eY4pgeNBhk4',
'language' => 'english',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
'subtitleStyles' => [
'template' => 'productive',
'position' => 'bottom-center',
'fontSize' => 'm'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mango.quickreel.io/api/v2/subtitles"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mango.quickreel.io/api/v2/subtitles")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/subtitles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "created",
"message": "project created successfully",
"projectId": "667bbc6973e392d3f7f6f620"
}{
"error": {
"message": "Bad Request: Missing required fields"
}
}{
"error": {
"message": "Unauthorized: API key invalid"
}
}{
"error": {
"message": "Too Many Requests: Please slow down your request rate."
}
}{
"error": {
"message": "Internal Server Error: Please try again later or contact support"
}
}AI Subtitling
Request
Base URL: https://mango.quickreel.io/api/v2
POST
/
subtitles
Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/subtitles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/subtitles"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
videoUrl: 'https://www.youtube.com/watch?v=eY4pgeNBhk4',
language: 'english',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
subtitleStyles: {template: 'productive', position: 'bottom-center', fontSize: 'm'}
})
};
fetch('https://mango.quickreel.io/api/v2/subtitles', 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://mango.quickreel.io/api/v2/subtitles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'videoUrl' => 'https://www.youtube.com/watch?v=eY4pgeNBhk4',
'language' => 'english',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
'subtitleStyles' => [
'template' => 'productive',
'position' => 'bottom-center',
'fontSize' => 'm'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mango.quickreel.io/api/v2/subtitles"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mango.quickreel.io/api/v2/subtitles")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/subtitles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "created",
"message": "project created successfully",
"projectId": "667bbc6973e392d3f7f6f620"
}{
"error": {
"message": "Bad Request: Missing required fields"
}
}{
"error": {
"message": "Unauthorized: API key invalid"
}
}{
"error": {
"message": "Too Many Requests: Please slow down your request rate."
}
}{
"error": {
"message": "Internal Server Error: Please try again later or contact support"
}
}Authorizations
Body
application/json
Request payload for video processing
Video URL or YouTube URL
Example:
"https://www.youtube.com/watch?v=eY4pgeNBhk4"
Preferred language for subtitles
Available options:
bulgarian, catalan, chinese (mandarin, simplified), chinese (mandarin, traditional), czech, danish, dutch, english, estonian, finnish, flemish, french, german, german (switzerland), greek, hindi, hungarian, indonesian, italian, japanese, korean, latvian, lithuanian, malay, multilingual (spanish + english), norwegian, polish, portuguese, romanian, russian, slovak, spanish, swedish, thai, turkish, ukrainian, vietnamese Example:
"english"
Webhook URL for receiving processing updates
Example:
"https://webhook-test.com/05674b0b229c29199fec105309a00e16"
Show child attributes
Show child attributes
⌘I
