curl --request POST \
--url https://api.vozo.ai/v1/youtube/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "<string>",
"title": "<string>",
"category_id": "<string>",
"description": "<string>"
}
'import requests
url = "https://api.vozo.ai/v1/youtube/exports"
payload = {
"task_id": "<string>",
"title": "<string>",
"category_id": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
task_id: '<string>',
title: '<string>',
category_id: '<string>',
description: '<string>'
})
};
fetch('https://api.vozo.ai/v1/youtube/exports', 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://api.vozo.ai/v1/youtube/exports",
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([
'task_id' => '<string>',
'title' => '<string>',
'category_id' => '<string>',
'description' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.vozo.ai/v1/youtube/exports"
payload := strings.NewReader("{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.vozo.ai/v1/youtube/exports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vozo.ai/v1/youtube/exports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>"
}{
"code": 123,
"message": "<string>",
"errors": [
"<string>"
],
"server_ts": 123,
"timestamp": 123
}Create export task
Publish a completed Vozo Translate & Dub, Visual Translate, or Lip Sync task to the connected YouTube channel.
curl --request POST \
--url https://api.vozo.ai/v1/youtube/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "<string>",
"title": "<string>",
"category_id": "<string>",
"description": "<string>"
}
'import requests
url = "https://api.vozo.ai/v1/youtube/exports"
payload = {
"task_id": "<string>",
"title": "<string>",
"category_id": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
task_id: '<string>',
title: '<string>',
category_id: '<string>',
description: '<string>'
})
};
fetch('https://api.vozo.ai/v1/youtube/exports', 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://api.vozo.ai/v1/youtube/exports",
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([
'task_id' => '<string>',
'title' => '<string>',
'category_id' => '<string>',
'description' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.vozo.ai/v1/youtube/exports"
payload := strings.NewReader("{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.vozo.ai/v1/youtube/exports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vozo.ai/v1/youtube/exports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"task_id\": \"<string>\",\n \"title\": \"<string>\",\n \"category_id\": \"<string>\",\n \"description\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>"
}{
"code": 123,
"message": "<string>",
"errors": [
"<string>"
],
"server_ts": 123,
"timestamp": 123
}task_type from translate_dub, visual_translate, or lip_sync. For an editable Translate & Dub or Visual Translate project, explicitly choose a source_mode; for Lip Sync, omit it.
title must contain non-whitespace text and be at most 100 Unicode characters. description may be empty but must not exceed 5,000 Unicode characters. privacy_status must be private, unlisted, or public. Choose category_id from List categories for the connected channel’s region.
The response task_id is the export task ID. It is different from the request’s task_id, which refers to the original Vozo task.Authorizations
Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API Key. The token in the sample code is referring to this api_key as well.
Body
Type of the completed Vozo source task.
translate_dub, visual_translate, lip_sync Completed Vozo source task ID, not the YouTube export task ID.
YouTube video title. Whitespace-only titles are rejected; limit is 100 Unicode characters.
100An assignable category ID returned by GET /v1/youtube/categories for the connected channel region.
YouTube privacy setting. The server trims whitespace and normalizes this value to lowercase.
private, unlisted, public For Translate & Dub or Visual Translate: initial_output publishes the original exported video; generate_new renders the current editable project before publishing; use_existing publishes a video already exported from that project. Required for editable-project tasks. When omitted for a non-editable task, initial_output is selected automatically. Lip Sync always uses its initial output and ignores this field.
initial_output, generate_new, use_existing YouTube video description. Limit is 5,000 Unicode characters.
5000Response
Export task created
New YouTube export task ID; use it to query GET /v1/youtube/exports/{id}.
Was this page helpful?