list image templates
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/image_templates \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/image_templates"
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_templates', 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_templates",
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_templates"
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_templates")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/image_templates")
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": [
{
"aspect_ratio": 123,
"cover_url": "<string>",
"id": 123,
"is_demo": true,
"preview_url": "<string>",
"tracks": [
{
"index": 123,
"key": "<string>",
"layers": [
{
"alpha": 123,
"api_template_meta": {
"replace_key": "<string>"
},
"color": "<string>",
"crop": {
"h": 123,
"w": 123,
"x": 123,
"y": 123
},
"fit_mode": "<string>",
"flip": "<string>",
"gauss": 123,
"h": 123,
"key": "<string>",
"mode": "<string>",
"moving_camera": {
"type": "<string>"
},
"path": "<string>",
"person_cover": "<string>",
"person_preview_url": "<string>",
"preview_path": "<string>",
"prop": {
"animationInfo": {
"cycle": {
"duration": 123,
"effectType": "<string>"
},
"enter": {
"duration": 123,
"effectType": "<string>"
},
"leave": {
"duration": 123,
"effectType": "<string>"
}
},
"audioPath": "<string>",
"bg_transparent": true,
"clip": {
"end": 123,
"start": 123
},
"emotion": {
"cover": "<string>",
"id": 123,
"name": "<string>",
"preview_transparent_video": "<string>",
"preview_video": "<string>"
},
"meta": {
"cover": "<string>",
"id": 123,
"name": "<string>",
"origin_height": 123,
"origin_width": 123,
"person_source": 123,
"playback_type": "<string>",
"preview_transparent_video": "<string>",
"preview_video": "<string>",
"show_type_preset": {
"all": {
"shape": {
"color": "<string>",
"h": 123,
"r": 123,
"type": "<string>",
"w": 123,
"x": 123,
"y": 123
},
"size": {
"h": 123,
"w": 123
}
},
"circle": {
"shape": {
"color": "<string>",
"h": 123,
"r": 123,
"type": "<string>",
"w": 123,
"x": 123,
"y": 123
},
"size": {
"h": 123,
"w": 123
}
}
},
"sub_type": "<string>",
"tts_url": "<string>",
"type": "<string>"
},
"play_mode": "<string>",
"renderScale": 123,
"shapeInfo": {
"color": "<string>",
"html": "<string>",
"strokeColor": "<string>",
"strokeType": "<string>",
"strokeWidth": 123,
"type": "<string>"
},
"show_type": "<string>",
"templateInfo": {},
"textConfig": {
"align": "<string>",
"background": {},
"color": "<string>",
"fontFamily": {},
"fontSize": 123,
"fontStyle": {},
"padding": {},
"shadow": {},
"stroke": {},
"textDecoration": "<string>",
"verticalAlign": "<string>"
},
"textInfo": {
"backgroundColor": "<string>",
"color": "<string>",
"content": "<string>",
"fontFamily": "<string>",
"fontFamilyID": "<string>",
"fontFileName": "<string>",
"fontSize": 123,
"fontStyle": "<string>",
"fontWeight": "<string>",
"paddingBottom": 123,
"paddingLeft": 123,
"paddingRight": 123,
"paddingTop": 123,
"radius": 123,
"strokeColor": "<string>",
"strokeWidth": 123,
"textAlign": "<string>",
"textDecoration": "<string>",
"textOrientation": "<string>",
"textShadowBlur": 123,
"textShadowColor": "<string>",
"textShadowH": 123,
"textShadowV": 123,
"writingMode": "<string>"
},
"waveformConfig": {},
"word_seq": [
{
"break": "<string>",
"end": 123,
"hide": true,
"key": "<string>",
"start": 123,
"text": "<string>"
}
]
},
"r": 123,
"radius": "<string>",
"shape": {
"background_gauss": 123,
"color": "<string>",
"content_position": {
"h": 123,
"r": 123,
"w": 123,
"x": 123,
"y": 123
},
"disable_shape": true,
"object_fit": "<string>",
"radius": 123,
"type": "<string>"
},
"subtitle": {
"font_family": {
"name": "<string>",
"url": "<string>"
},
"html": "<string>",
"line_size": 123,
"mss": 123,
"prop": {},
"text": "<string>",
"tts_info_index": 123,
"word_seq": [
{
"break": "<string>",
"end": 123,
"hide": true,
"key": "<string>",
"start": 123,
"text": "<string>"
}
]
},
"template_meta": {
"is_goods_media": true,
"is_logo": true,
"no_need_replace": true
},
"timeline": {
"cross": {
"in": [
"<string>"
],
"in_time": 123,
"out": [
"<string>"
],
"out_time": 123
},
"end": 123,
"key_frames": [
{
"func": "<string>",
"properties": {
"alpha": 123,
"h": 123,
"r": 123,
"scale": 123,
"w": 123,
"x": 123,
"y": 123
},
"timestamp": 123
}
],
"start": 123
},
"top_level_key": "<string>",
"tts_audio_url": "<string>",
"type": "<string>",
"volume": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"type": "<string>"
}
]
}
]
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}Templates and visual podcasts
List image templates
List public and user image Podcast templates.
GET
/
open
/
podcast
/
v1
/
image_templates
list image templates
curl --request GET \
--url https://api-services.podcastor.ai/open/podcast/v1/image_templates \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/image_templates"
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_templates', 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_templates",
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_templates"
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_templates")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/image_templates")
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": [
{
"aspect_ratio": 123,
"cover_url": "<string>",
"id": 123,
"is_demo": true,
"preview_url": "<string>",
"tracks": [
{
"index": 123,
"key": "<string>",
"layers": [
{
"alpha": 123,
"api_template_meta": {
"replace_key": "<string>"
},
"color": "<string>",
"crop": {
"h": 123,
"w": 123,
"x": 123,
"y": 123
},
"fit_mode": "<string>",
"flip": "<string>",
"gauss": 123,
"h": 123,
"key": "<string>",
"mode": "<string>",
"moving_camera": {
"type": "<string>"
},
"path": "<string>",
"person_cover": "<string>",
"person_preview_url": "<string>",
"preview_path": "<string>",
"prop": {
"animationInfo": {
"cycle": {
"duration": 123,
"effectType": "<string>"
},
"enter": {
"duration": 123,
"effectType": "<string>"
},
"leave": {
"duration": 123,
"effectType": "<string>"
}
},
"audioPath": "<string>",
"bg_transparent": true,
"clip": {
"end": 123,
"start": 123
},
"emotion": {
"cover": "<string>",
"id": 123,
"name": "<string>",
"preview_transparent_video": "<string>",
"preview_video": "<string>"
},
"meta": {
"cover": "<string>",
"id": 123,
"name": "<string>",
"origin_height": 123,
"origin_width": 123,
"person_source": 123,
"playback_type": "<string>",
"preview_transparent_video": "<string>",
"preview_video": "<string>",
"show_type_preset": {
"all": {
"shape": {
"color": "<string>",
"h": 123,
"r": 123,
"type": "<string>",
"w": 123,
"x": 123,
"y": 123
},
"size": {
"h": 123,
"w": 123
}
},
"circle": {
"shape": {
"color": "<string>",
"h": 123,
"r": 123,
"type": "<string>",
"w": 123,
"x": 123,
"y": 123
},
"size": {
"h": 123,
"w": 123
}
}
},
"sub_type": "<string>",
"tts_url": "<string>",
"type": "<string>"
},
"play_mode": "<string>",
"renderScale": 123,
"shapeInfo": {
"color": "<string>",
"html": "<string>",
"strokeColor": "<string>",
"strokeType": "<string>",
"strokeWidth": 123,
"type": "<string>"
},
"show_type": "<string>",
"templateInfo": {},
"textConfig": {
"align": "<string>",
"background": {},
"color": "<string>",
"fontFamily": {},
"fontSize": 123,
"fontStyle": {},
"padding": {},
"shadow": {},
"stroke": {},
"textDecoration": "<string>",
"verticalAlign": "<string>"
},
"textInfo": {
"backgroundColor": "<string>",
"color": "<string>",
"content": "<string>",
"fontFamily": "<string>",
"fontFamilyID": "<string>",
"fontFileName": "<string>",
"fontSize": 123,
"fontStyle": "<string>",
"fontWeight": "<string>",
"paddingBottom": 123,
"paddingLeft": 123,
"paddingRight": 123,
"paddingTop": 123,
"radius": 123,
"strokeColor": "<string>",
"strokeWidth": 123,
"textAlign": "<string>",
"textDecoration": "<string>",
"textOrientation": "<string>",
"textShadowBlur": 123,
"textShadowColor": "<string>",
"textShadowH": 123,
"textShadowV": 123,
"writingMode": "<string>"
},
"waveformConfig": {},
"word_seq": [
{
"break": "<string>",
"end": 123,
"hide": true,
"key": "<string>",
"start": 123,
"text": "<string>"
}
]
},
"r": 123,
"radius": "<string>",
"shape": {
"background_gauss": 123,
"color": "<string>",
"content_position": {
"h": 123,
"r": 123,
"w": 123,
"x": 123,
"y": 123
},
"disable_shape": true,
"object_fit": "<string>",
"radius": 123,
"type": "<string>"
},
"subtitle": {
"font_family": {
"name": "<string>",
"url": "<string>"
},
"html": "<string>",
"line_size": 123,
"mss": 123,
"prop": {},
"text": "<string>",
"tts_info_index": 123,
"word_seq": [
{
"break": "<string>",
"end": 123,
"hide": true,
"key": "<string>",
"start": 123,
"text": "<string>"
}
]
},
"template_meta": {
"is_goods_media": true,
"is_logo": true,
"no_need_replace": true
},
"timeline": {
"cross": {
"in": [
"<string>"
],
"in_time": 123,
"out": [
"<string>"
],
"out_time": 123
},
"end": 123,
"key_frames": [
{
"func": "<string>",
"properties": {
"alpha": 123,
"h": 123,
"r": 123,
"scale": 123,
"w": 123,
"x": 123,
"y": 123
},
"timestamp": 123
}
],
"start": 123
},
"top_level_key": "<string>",
"tts_audio_url": "<string>",
"type": "<string>",
"volume": 123,
"w": 123,
"x": 123,
"y": 123
}
],
"type": "<string>"
}
]
}
]
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}MCP tool:
podcast_list_image_templates. OAuth scope: asset.read.