Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/clip \
--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"
},
"additionalFeatures": {
"addBgm": "false",
"addBroll": false,
"removeFillerWords": "false",
"removeSilenceParts": "false",
"addHook": "false"
},
"clipSettings": {
"reelsCount": 123,
"prompt": "A viral video about the benefits of using our product",
"keywords": [
"product",
"benefits",
"features"
],
"reelDuration": "<string>"
},
"brollSettings": {},
"bgmSettings": {
"url": "<string>",
"volume": 123,
"fadeIn": 123,
"fadeOut": 123
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/clip"
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"
},
"additionalFeatures": {
"addBgm": "false",
"addBroll": False,
"removeFillerWords": "false",
"removeSilenceParts": "false",
"addHook": "false"
},
"clipSettings": {
"reelsCount": 123,
"prompt": "A viral video about the benefits of using our product",
"keywords": ["product", "benefits", "features"],
"reelDuration": "<string>"
},
"brollSettings": {},
"bgmSettings": {
"url": "<string>",
"volume": 123,
"fadeIn": 123,
"fadeOut": 123
}
}
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'},
additionalFeatures: {
addBgm: 'false',
addBroll: false,
removeFillerWords: 'false',
removeSilenceParts: 'false',
addHook: 'false'
},
clipSettings: {
reelsCount: 123,
prompt: 'A viral video about the benefits of using our product',
keywords: ['product', 'benefits', 'features'],
reelDuration: '<string>'
},
brollSettings: {},
bgmSettings: {url: '<string>', volume: 123, fadeIn: 123, fadeOut: 123}
})
};
fetch('https://mango.quickreel.io/api/v2/clip', 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/clip",
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'
],
'additionalFeatures' => [
'addBgm' => 'false',
'addBroll' => false,
'removeFillerWords' => 'false',
'removeSilenceParts' => 'false',
'addHook' => 'false'
],
'clipSettings' => [
'reelsCount' => 123,
'prompt' => 'A viral video about the benefits of using our product',
'keywords' => [
'product',
'benefits',
'features'
],
'reelDuration' => '<string>'
],
'brollSettings' => [
],
'bgmSettings' => [
'url' => '<string>',
'volume' => 123,
'fadeIn' => 123,
'fadeOut' => 123
]
]),
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/clip"
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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\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/clip")
.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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/clip")
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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\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 Clip
Request
Base URL: https://mango.quickreel.io/api/v2
POST
/
clip
Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/clip \
--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"
},
"additionalFeatures": {
"addBgm": "false",
"addBroll": false,
"removeFillerWords": "false",
"removeSilenceParts": "false",
"addHook": "false"
},
"clipSettings": {
"reelsCount": 123,
"prompt": "A viral video about the benefits of using our product",
"keywords": [
"product",
"benefits",
"features"
],
"reelDuration": "<string>"
},
"brollSettings": {},
"bgmSettings": {
"url": "<string>",
"volume": 123,
"fadeIn": 123,
"fadeOut": 123
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/clip"
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"
},
"additionalFeatures": {
"addBgm": "false",
"addBroll": False,
"removeFillerWords": "false",
"removeSilenceParts": "false",
"addHook": "false"
},
"clipSettings": {
"reelsCount": 123,
"prompt": "A viral video about the benefits of using our product",
"keywords": ["product", "benefits", "features"],
"reelDuration": "<string>"
},
"brollSettings": {},
"bgmSettings": {
"url": "<string>",
"volume": 123,
"fadeIn": 123,
"fadeOut": 123
}
}
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'},
additionalFeatures: {
addBgm: 'false',
addBroll: false,
removeFillerWords: 'false',
removeSilenceParts: 'false',
addHook: 'false'
},
clipSettings: {
reelsCount: 123,
prompt: 'A viral video about the benefits of using our product',
keywords: ['product', 'benefits', 'features'],
reelDuration: '<string>'
},
brollSettings: {},
bgmSettings: {url: '<string>', volume: 123, fadeIn: 123, fadeOut: 123}
})
};
fetch('https://mango.quickreel.io/api/v2/clip', 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/clip",
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'
],
'additionalFeatures' => [
'addBgm' => 'false',
'addBroll' => false,
'removeFillerWords' => 'false',
'removeSilenceParts' => 'false',
'addHook' => 'false'
],
'clipSettings' => [
'reelsCount' => 123,
'prompt' => 'A viral video about the benefits of using our product',
'keywords' => [
'product',
'benefits',
'features'
],
'reelDuration' => '<string>'
],
'brollSettings' => [
],
'bgmSettings' => [
'url' => '<string>',
'volume' => 123,
'fadeIn' => 123,
'fadeOut' => 123
]
]),
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/clip"
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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\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/clip")
.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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/clip")
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 \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"addBroll\": false,\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\",\n \"addHook\": \"false\"\n },\n \"clipSettings\": {\n \"reelsCount\": 123,\n \"prompt\": \"A viral video about the benefits of using our product\",\n \"keywords\": [\n \"product\",\n \"benefits\",\n \"features\"\n ],\n \"reelDuration\": \"<string>\"\n },\n \"brollSettings\": {},\n \"bgmSettings\": {\n \"url\": \"<string>\",\n \"volume\": 123,\n \"fadeIn\": 123,\n \"fadeOut\": 123\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"
}
}Body
application/json
Request payload for video processing
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, hinglish Example:
"english"
