Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/broll \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16"
}
'import requests
url = "https://mango.quickreel.io/api/v2/broll"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16"
}
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',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16'
})
};
fetch('https://mango.quickreel.io/api/v2/broll', 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/broll",
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',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16'
]),
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/broll"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\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/broll")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/broll")
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 \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\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 Broll
Request
Base URL: https://mango.quickreel.io/api/v2
POST
/
broll
Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/broll \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16"
}
'import requests
url = "https://mango.quickreel.io/api/v2/broll"
payload = {
"videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16"
}
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',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16'
})
};
fetch('https://mango.quickreel.io/api/v2/broll', 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/broll",
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',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16'
]),
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/broll"
payload := strings.NewReader("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\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/broll")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"videoUrl\": \"https://www.youtube.com/watch?v=eY4pgeNBhk4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/broll")
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 \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\"\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
⌘I
