Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/ttv \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"script": "<string>",
"voiceId": "386a7b80-1001-4017-bb51-49b3428ab8f4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"visualStyle": "realism",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
},
"additionalFeatures": {
"addBgm": "false"
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/ttv"
payload = {
"script": "<string>",
"voiceId": "386a7b80-1001-4017-bb51-49b3428ab8f4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"visualStyle": "realism",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
},
"additionalFeatures": { "addBgm": "false" }
}
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({
script: '<string>',
voiceId: '386a7b80-1001-4017-bb51-49b3428ab8f4',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
visualStyle: 'realism',
subtitleStyles: {template: 'productive', position: 'bottom-center', fontSize: 'm'},
additionalFeatures: {addBgm: 'false'}
})
};
fetch('https://mango.quickreel.io/api/v2/ttv', 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/ttv",
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([
'script' => '<string>',
'voiceId' => '386a7b80-1001-4017-bb51-49b3428ab8f4',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
'visualStyle' => 'realism',
'subtitleStyles' => [
'template' => 'productive',
'position' => 'bottom-center',
'fontSize' => 'm'
],
'additionalFeatures' => [
'addBgm' => 'false'
]
]),
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/ttv"
payload := strings.NewReader("{\n \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\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/ttv")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/ttv")
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 \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\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 Text To Video
Request
Base URL: https://mango.quickreel.io/api/v2
POST
/
ttv
Request video processing
curl --request POST \
--url https://mango.quickreel.io/api/v2/ttv \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"script": "<string>",
"voiceId": "386a7b80-1001-4017-bb51-49b3428ab8f4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"visualStyle": "realism",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
},
"additionalFeatures": {
"addBgm": "false"
}
}
'import requests
url = "https://mango.quickreel.io/api/v2/ttv"
payload = {
"script": "<string>",
"voiceId": "386a7b80-1001-4017-bb51-49b3428ab8f4",
"webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
"visualStyle": "realism",
"subtitleStyles": {
"template": "productive",
"position": "bottom-center",
"fontSize": "m"
},
"additionalFeatures": { "addBgm": "false" }
}
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({
script: '<string>',
voiceId: '386a7b80-1001-4017-bb51-49b3428ab8f4',
webhookUrl: 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
visualStyle: 'realism',
subtitleStyles: {template: 'productive', position: 'bottom-center', fontSize: 'm'},
additionalFeatures: {addBgm: 'false'}
})
};
fetch('https://mango.quickreel.io/api/v2/ttv', 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/ttv",
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([
'script' => '<string>',
'voiceId' => '386a7b80-1001-4017-bb51-49b3428ab8f4',
'webhookUrl' => 'https://webhook-test.com/05674b0b229c29199fec105309a00e16',
'visualStyle' => 'realism',
'subtitleStyles' => [
'template' => 'productive',
'position' => 'bottom-center',
'fontSize' => 'm'
],
'additionalFeatures' => [
'addBgm' => 'false'
]
]),
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/ttv"
payload := strings.NewReader("{\n \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\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/ttv")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mango.quickreel.io/api/v2/ttv")
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 \"script\": \"<string>\",\n \"voiceId\": \"386a7b80-1001-4017-bb51-49b3428ab8f4\",\n \"webhookUrl\": \"https://webhook-test.com/05674b0b229c29199fec105309a00e16\",\n \"visualStyle\": \"realism\",\n \"subtitleStyles\": {\n \"template\": \"productive\",\n \"position\": \"bottom-center\",\n \"fontSize\": \"m\"\n },\n \"additionalFeatures\": {\n \"addBgm\": \"false\"\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
- Script
- Prompt
Provide a script directly for video processing.
Voice ID for the video
Example:
"386a7b80-1001-4017-bb51-49b3428ab8f4"
Webhook URL for receiving processing updates
Example:
"https://webhook-test.com/05674b0b229c29199fec105309a00e16"
Visual style for the video
Available options:
realtime, realism, anime, cyberpunk, comic, fantasy, scifi, lego, pixel_art, line_art, renaissance, medieval_painting, medieval_painting2, wes_anderson, anime_figures, porcelain Example:
"realism"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
