create multi camera avatar
curl --request POST \
--url https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"background": {
"id": 1,
"user_background_id": 1
},
"hosts": [
{
"photo_url": "<string>",
"name": "<string>",
"timbre_unique_id": "<string>"
}
],
"prompt": "<string>",
"avatar_type": "default"
}
'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera"
payload = {
"background": {
"id": 1,
"user_background_id": 1
},
"hosts": [
{
"photo_url": "<string>",
"name": "<string>",
"timbre_unique_id": "<string>"
}
],
"prompt": "<string>",
"avatar_type": "default"
}
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({
background: {id: 1, user_background_id: 1},
hosts: [{photo_url: '<string>', name: '<string>', timbre_unique_id: '<string>'}],
prompt: '<string>',
avatar_type: 'default'
})
};
fetch('https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera', 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-services.podcastor.ai/open/podcast/v1/avatars/multi_camera",
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([
'background' => [
'id' => 1,
'user_background_id' => 1
],
'hosts' => [
[
'photo_url' => '<string>',
'name' => '<string>',
'timbre_unique_id' => '<string>'
]
],
'prompt' => '<string>',
'avatar_type' => 'default'
]),
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://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera"
payload := strings.NewReader("{\n \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\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://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera")
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 \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\n}"
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"pack_ids": [
123
],
"podcast_avatar_id": 123
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}{
"code": 123,
"msg": "<string>",
"retry_after": 2
}Avatars
Create multi camera avatar
Generate two multi-camera Podcast hosts with a shared library background. Uses the existing Web multi-camera pricing and asset storage.
POST
/
open
/
podcast
/
v1
/
avatars
/
multi_camera
create multi camera avatar
curl --request POST \
--url https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"background": {
"id": 1,
"user_background_id": 1
},
"hosts": [
{
"photo_url": "<string>",
"name": "<string>",
"timbre_unique_id": "<string>"
}
],
"prompt": "<string>",
"avatar_type": "default"
}
'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera"
payload = {
"background": {
"id": 1,
"user_background_id": 1
},
"hosts": [
{
"photo_url": "<string>",
"name": "<string>",
"timbre_unique_id": "<string>"
}
],
"prompt": "<string>",
"avatar_type": "default"
}
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({
background: {id: 1, user_background_id: 1},
hosts: [{photo_url: '<string>', name: '<string>', timbre_unique_id: '<string>'}],
prompt: '<string>',
avatar_type: 'default'
})
};
fetch('https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera', 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-services.podcastor.ai/open/podcast/v1/avatars/multi_camera",
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([
'background' => [
'id' => 1,
'user_background_id' => 1
],
'hosts' => [
[
'photo_url' => '<string>',
'name' => '<string>',
'timbre_unique_id' => '<string>'
]
],
'prompt' => '<string>',
'avatar_type' => 'default'
]),
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://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera"
payload := strings.NewReader("{\n \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\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://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/avatars/multi_camera")
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 \"background\": {\n \"id\": 1,\n \"user_background_id\": 1\n },\n \"hosts\": [\n {\n \"photo_url\": \"<string>\",\n \"name\": \"<string>\",\n \"timbre_unique_id\": \"<string>\"\n }\n ],\n \"prompt\": \"<string>\",\n \"avatar_type\": \"default\"\n}"
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"pack_ids": [
123
],
"podcast_avatar_id": 123
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}{
"code": 123,
"msg": "<string>",
"retry_after": 2
}MCP tool:
podcast_create_multi_camera_avatar. OAuth scope: podcast.generate.Authorizations
Headers
Replay a completed identical request without repeating side effects.
Maximum string length:
128Body
application/json
Two hosts and a required library background
Required library background. Use exactly one public or user background ID.
Show child attributes
Show child attributes
Two hosts, ordered left then right.
Required array length:
2 elementsShow child attributes
Show child attributes
3: Nano Banana, 9: Nano Banana Pro, 11: GPT Image 2.
Available options:
3, 9, 11 Scene and appearance instructions.
Maximum string length:
160000: 9:16, 1: 16:9.
Available options:
0, 1 Available options:
default, pet, cartoon