list image backgrounds
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds', 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/image_backgrounds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"list": [
{
"background": "<string>",
"category": "<string>",
"err_msg": "<string>",
"height": 123,
"id": 123,
"is_demo": true,
"output_url": [
"<string>"
],
"photo_info": {
"age": "<string>",
"avatar_library_id": 123,
"avatar_library_name": "<string>",
"background": "<string>",
"base_photo_url": "<string>",
"detail": "<string>",
"gender": "<string>",
"model": 123,
"number_of_images": 123,
"origin": "<string>",
"photo_real": true,
"preset_style": "<string>",
"quality": "<string>",
"reference_images": [
{
"key": "<string>",
"url": "<string>"
}
],
"resolution": "<string>",
"talking_pose": "<string>"
},
"photo_unique_id": "<string>",
"progress_desc": "<string>",
"width": 123
}
]
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}Templates and visual podcasts
List image backgrounds
List image Podcast backgrounds.
GET
/
open
/
podcast
/
v1
/
image_backgrounds
list image backgrounds
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds', 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/image_backgrounds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/image_backgrounds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"list": [
{
"background": "<string>",
"category": "<string>",
"err_msg": "<string>",
"height": 123,
"id": 123,
"is_demo": true,
"output_url": [
"<string>"
],
"photo_info": {
"age": "<string>",
"avatar_library_id": 123,
"avatar_library_name": "<string>",
"background": "<string>",
"base_photo_url": "<string>",
"detail": "<string>",
"gender": "<string>",
"model": 123,
"number_of_images": 123,
"origin": "<string>",
"photo_real": true,
"preset_style": "<string>",
"quality": "<string>",
"reference_images": [
{
"key": "<string>",
"url": "<string>"
}
],
"resolution": "<string>",
"talking_pose": "<string>"
},
"photo_unique_id": "<string>",
"progress_desc": "<string>",
"width": 123
}
]
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}MCP tool:
podcast_list_image_backgrounds. OAuth scope: asset.read.