curl --request POST \
--url https://mango.quickreel.io/api/v2/edit \
--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",
"template": "cinematic",
"brollFrequency": "low",
"subtitleHighlightColor": "#000000",
"title": "My Video",
"duration": 10,
"additionalFeatures": {
"addBgm": "false",
"removeFillerWords": "false",
"removeSilenceParts": "false"
},
"additionalSettings": {
"soundEffectsVolume": "0.5",
"applySpearkerDetection": "true"
},
"trim": {
"start": 5,
"end": 10
},
"bgVideoSettings": {
"type": "satisfying",
"url": "https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4",
"shape": "rectangle",
"position": "top-right",
"stroke": {
"color": "#000000",
"width": 10
}
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/edit"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"template": "cinematic",
"brollFrequency": "low",
"subtitleHighlightColor": "#000000",
"title": "My Video",
"duration": 10,
"additionalFeatures": {
"addBgm": "false",
"removeFillerWords": "false",
"removeSilenceParts": "false"
},
"additionalSettings": {
"soundEffectsVolume": "0.5",
"applySpearkerDetection": "true"
},
"trim": {
"start": 5,
"end": 10
},
"bgVideoSettings": {
"type": "satisfying",
"url": "https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4",
"shape": "rectangle",
"position": "top-right",
"stroke": {
"color": "#000000",
"width": 10
}
}
}
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',
template: 'cinematic',
brollFrequency: 'low',
subtitleHighlightColor: '#000000',
title: 'My Video',
duration: 10,
additionalFeatures: {addBgm: 'false', removeFillerWords: 'false', removeSilenceParts: 'false'},
additionalSettings: {soundEffectsVolume: '0.5', applySpearkerDetection: 'true'},
trim: {start: 5, end: 10},
bgVideoSettings: {
type: 'satisfying',
url: 'https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4',
shape: 'rectangle',
position: 'top-right',
stroke: {color: '#000000', width: 10}
}
})
};
fetch('https://mango.quickreel.io/api/v2/edit', 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/edit",
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',
'template' => 'cinematic',
'brollFrequency' => 'low',
'subtitleHighlightColor' => '#000000',
'title' => 'My Video',
'duration' => 10,
'additionalFeatures' => [
'addBgm' => 'false',
'removeFillerWords' => 'false',
'removeSilenceParts' => 'false'
],
'additionalSettings' => [
'soundEffectsVolume' => '0.5',
'applySpearkerDetection' => 'true'
],
'trim' => [
'start' => 5,
'end' => 10
],
'bgVideoSettings' => [
'type' => 'satisfying',
'url' => 'https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4',
'shape' => 'rectangle',
'position' => 'top-right',
'stroke' => [
'color' => '#000000',
'width' => 10
]
]
]),
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/edit"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\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/edit")
.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 \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/edit")
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 \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\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"
}
}Request
Base URL: https://mango.quickreel.io/api/v2
curl --request POST \
--url https://mango.quickreel.io/api/v2/edit \
--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",
"template": "cinematic",
"brollFrequency": "low",
"subtitleHighlightColor": "#000000",
"title": "My Video",
"duration": 10,
"additionalFeatures": {
"addBgm": "false",
"removeFillerWords": "false",
"removeSilenceParts": "false"
},
"additionalSettings": {
"soundEffectsVolume": "0.5",
"applySpearkerDetection": "true"
},
"trim": {
"start": 5,
"end": 10
},
"bgVideoSettings": {
"type": "satisfying",
"url": "https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4",
"shape": "rectangle",
"position": "top-right",
"stroke": {
"color": "#000000",
"width": 10
}
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/edit"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"language": "english",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"template": "cinematic",
"brollFrequency": "low",
"subtitleHighlightColor": "#000000",
"title": "My Video",
"duration": 10,
"additionalFeatures": {
"addBgm": "false",
"removeFillerWords": "false",
"removeSilenceParts": "false"
},
"additionalSettings": {
"soundEffectsVolume": "0.5",
"applySpearkerDetection": "true"
},
"trim": {
"start": 5,
"end": 10
},
"bgVideoSettings": {
"type": "satisfying",
"url": "https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4",
"shape": "rectangle",
"position": "top-right",
"stroke": {
"color": "#000000",
"width": 10
}
}
}
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',
template: 'cinematic',
brollFrequency: 'low',
subtitleHighlightColor: '#000000',
title: 'My Video',
duration: 10,
additionalFeatures: {addBgm: 'false', removeFillerWords: 'false', removeSilenceParts: 'false'},
additionalSettings: {soundEffectsVolume: '0.5', applySpearkerDetection: 'true'},
trim: {start: 5, end: 10},
bgVideoSettings: {
type: 'satisfying',
url: 'https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4',
shape: 'rectangle',
position: 'top-right',
stroke: {color: '#000000', width: 10}
}
})
};
fetch('https://mango.quickreel.io/api/v2/edit', 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/edit",
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',
'template' => 'cinematic',
'brollFrequency' => 'low',
'subtitleHighlightColor' => '#000000',
'title' => 'My Video',
'duration' => 10,
'additionalFeatures' => [
'addBgm' => 'false',
'removeFillerWords' => 'false',
'removeSilenceParts' => 'false'
],
'additionalSettings' => [
'soundEffectsVolume' => '0.5',
'applySpearkerDetection' => 'true'
],
'trim' => [
'start' => 5,
'end' => 10
],
'bgVideoSettings' => [
'type' => 'satisfying',
'url' => 'https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4',
'shape' => 'rectangle',
'position' => 'top-right',
'stroke' => [
'color' => '#000000',
'width' => 10
]
]
]),
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/edit"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"language\": \"english\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\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/edit")
.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 \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/edit")
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 \"template\": \"cinematic\",\n \"brollFrequency\": \"low\",\n \"subtitleHighlightColor\": \"#000000\",\n \"title\": \"My Video\",\n \"duration\": 10,\n \"additionalFeatures\": {\n \"addBgm\": \"false\",\n \"removeFillerWords\": \"false\",\n \"removeSilenceParts\": \"false\"\n },\n \"additionalSettings\": {\n \"soundEffectsVolume\": \"0.5\",\n \"applySpearkerDetection\": \"true\"\n },\n \"trim\": {\n \"start\": 5,\n \"end\": 10\n },\n \"bgVideoSettings\": {\n \"type\": \"satisfying\",\n \"url\": \"https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4\",\n \"shape\": \"rectangle\",\n \"position\": \"top-right\",\n \"stroke\": {\n \"color\": \"#000000\",\n \"width\": 10\n }\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
Request payload for video editing
Video URL or YouTube URL to be edited ( max 2 minutes ) additionaly you can use the trim property to trim the video from the start and end to cap it to 2 minutes. ( end - start <= 2 minutes )
"https://www.youtube.com/watch?v=eY4pgeNBhk4"
Preferred language for subtitles
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 "english"
Webhook URL for receiving processing updates
"https://webhook-test.com/05674b0b229c29199fec105309a00e16"
Template to use for the video editing (cinematic, vivid, impact, storyteller, kinetic, split). For more information on the templates, please visit Template Style
cinematic, vivid, impact, storyteller, kinetic, split, movienight, vivid2, chillguy, chillguy2, vortex "cinematic"
Broll Frequency (low, medium, high)
low, medium, high "low"
The color (in hexadecimal or other format) used to highlight subtitles in the video.
"#000000"
The title of the video Works only for vivid ,vivid2,storyteller,movienight templates
"My Video"
The duration till to display the title works only for vivid ,vivid2
10
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Defines the background video's appearance and positioning works only for statisfying template
Show child attributes
Show child attributes
