query avatar info
curl --request POST \
--url https://api-services.podcastor.ai/open/podcast/v1/avatars/info \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"persons": [
{
"id": 123,
"person_source": 123
}
],
"podcast_avatar_id": 123
}
'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/avatars/info"
payload = {
"persons": [
{
"id": 123,
"person_source": 123
}
],
"podcast_avatar_id": 123
}
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({persons: [{id: 123, person_source: 123}], podcast_avatar_id: 123})
};
fetch('https://api-services.podcastor.ai/open/podcast/v1/avatars/info', 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/info",
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([
'persons' => [
[
'id' => 123,
'person_source' => 123
]
],
'podcast_avatar_id' => 123
]),
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/info"
payload := strings.NewReader("{\n \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\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/info")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/avatars/info")
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 \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\n}"
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"aigc_podcast_avatar_dp": {
"aigc_podcast_avatar_id": 123,
"aspect_ratio": 123,
"avatar_type": "<string>",
"background_id": 123,
"create_time": 123,
"delete_time": 123,
"id": 123,
"motion_preview_url": "<string>",
"preview_url": "<string>",
"prj_user_digital_person1_id": 123,
"prj_user_digital_person2_id": 123,
"space_id": 123,
"status": 123,
"typ": 123,
"update_time": 123,
"user_id": 123
},
"digital_person1": {
"avatar_xid": 123,
"dp_info": {
"age": "<string>",
"aspect_ratio": 123,
"avatar_library_id": "<string>",
"avatar_type": "<string>",
"avatar_url": "<string>",
"avatar_x_belong": 123,
"avatar_x_name": "<string>",
"avatar_x_num": 123,
"bgTransparent": true,
"circle_cover_url": "<string>",
"cover_url": "<string>",
"digitalPersonCanUse": true,
"display_position": 123,
"dontUseStaticFrame": true,
"ethnicity": "<string>",
"face_center_x": 123,
"face_center_y": 123,
"face_doubled": true,
"face_json": "<string>",
"face_url": "<string>",
"forms": {},
"gender": 123,
"h": 123,
"id": 123,
"keying_enable": 123,
"keying_face_doubled": true,
"keying_video_url": "<string>",
"length": 123,
"mask_url": "<string>",
"name": "<string>",
"occupation": "<string>",
"originPersonSource": 123,
"personSource": 123,
"pose": "<string>",
"prefer_model": "<string>",
"preview_mask_url": "<string>",
"preview_url": "<string>",
"selectVoiceId": "<string>",
"skins": "<string>",
"sort": 123,
"spaceId": 123,
"style": "<string>",
"theme": "<string>",
"third_party_lip": 123,
"timbre_id": 123,
"type": 123,
"voice_id": "<string>",
"w": 123,
"webm_url": "<string>",
"welcome_url": "<string>"
},
"timbre_lang_id": "<string>",
"timbre_name": "<string>",
"timbre_type": "<string>"
},
"digital_person2": {
"avatar_xid": 123,
"dp_info": {
"age": "<string>",
"aspect_ratio": 123,
"avatar_library_id": "<string>",
"avatar_type": "<string>",
"avatar_url": "<string>",
"avatar_x_belong": 123,
"avatar_x_name": "<string>",
"avatar_x_num": 123,
"bgTransparent": true,
"circle_cover_url": "<string>",
"cover_url": "<string>",
"digitalPersonCanUse": true,
"display_position": 123,
"dontUseStaticFrame": true,
"ethnicity": "<string>",
"face_center_x": 123,
"face_center_y": 123,
"face_doubled": true,
"face_json": "<string>",
"face_url": "<string>",
"forms": {},
"gender": 123,
"h": 123,
"id": 123,
"keying_enable": 123,
"keying_face_doubled": true,
"keying_video_url": "<string>",
"length": 123,
"mask_url": "<string>",
"name": "<string>",
"occupation": "<string>",
"originPersonSource": 123,
"personSource": 123,
"pose": "<string>",
"prefer_model": "<string>",
"preview_mask_url": "<string>",
"preview_url": "<string>",
"selectVoiceId": "<string>",
"skins": "<string>",
"sort": 123,
"spaceId": 123,
"style": "<string>",
"theme": "<string>",
"third_party_lip": 123,
"timbre_id": 123,
"type": 123,
"voice_id": "<string>",
"w": 123,
"webm_url": "<string>",
"welcome_url": "<string>"
},
"timbre_lang_id": "<string>",
"timbre_name": "<string>",
"timbre_type": "<string>"
}
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}Avatars
Query avatar info
Resolve selected Podcast avatar information.
POST
/
open
/
podcast
/
v1
/
avatars
/
info
query avatar info
curl --request POST \
--url https://api-services.podcastor.ai/open/podcast/v1/avatars/info \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"persons": [
{
"id": 123,
"person_source": 123
}
],
"podcast_avatar_id": 123
}
'import requests
url = "https://api-services.podcastor.ai/open/podcast/v1/avatars/info"
payload = {
"persons": [
{
"id": 123,
"person_source": 123
}
],
"podcast_avatar_id": 123
}
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({persons: [{id: 123, person_source: 123}], podcast_avatar_id: 123})
};
fetch('https://api-services.podcastor.ai/open/podcast/v1/avatars/info', 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/info",
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([
'persons' => [
[
'id' => 123,
'person_source' => 123
]
],
'podcast_avatar_id' => 123
]),
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/info"
payload := strings.NewReader("{\n \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\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/info")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-services.podcastor.ai/open/podcast/v1/avatars/info")
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 \"persons\": [\n {\n \"id\": 123,\n \"person_source\": 123\n }\n ],\n \"podcast_avatar_id\": 123\n}"
response = http.request(request)
puts response.read_body{
"cause": "<string>",
"code": 123,
"data": {
"aigc_podcast_avatar_dp": {
"aigc_podcast_avatar_id": 123,
"aspect_ratio": 123,
"avatar_type": "<string>",
"background_id": 123,
"create_time": 123,
"delete_time": 123,
"id": 123,
"motion_preview_url": "<string>",
"preview_url": "<string>",
"prj_user_digital_person1_id": 123,
"prj_user_digital_person2_id": 123,
"space_id": 123,
"status": 123,
"typ": 123,
"update_time": 123,
"user_id": 123
},
"digital_person1": {
"avatar_xid": 123,
"dp_info": {
"age": "<string>",
"aspect_ratio": 123,
"avatar_library_id": "<string>",
"avatar_type": "<string>",
"avatar_url": "<string>",
"avatar_x_belong": 123,
"avatar_x_name": "<string>",
"avatar_x_num": 123,
"bgTransparent": true,
"circle_cover_url": "<string>",
"cover_url": "<string>",
"digitalPersonCanUse": true,
"display_position": 123,
"dontUseStaticFrame": true,
"ethnicity": "<string>",
"face_center_x": 123,
"face_center_y": 123,
"face_doubled": true,
"face_json": "<string>",
"face_url": "<string>",
"forms": {},
"gender": 123,
"h": 123,
"id": 123,
"keying_enable": 123,
"keying_face_doubled": true,
"keying_video_url": "<string>",
"length": 123,
"mask_url": "<string>",
"name": "<string>",
"occupation": "<string>",
"originPersonSource": 123,
"personSource": 123,
"pose": "<string>",
"prefer_model": "<string>",
"preview_mask_url": "<string>",
"preview_url": "<string>",
"selectVoiceId": "<string>",
"skins": "<string>",
"sort": 123,
"spaceId": 123,
"style": "<string>",
"theme": "<string>",
"third_party_lip": 123,
"timbre_id": 123,
"type": 123,
"voice_id": "<string>",
"w": 123,
"webm_url": "<string>",
"welcome_url": "<string>"
},
"timbre_lang_id": "<string>",
"timbre_name": "<string>",
"timbre_type": "<string>"
},
"digital_person2": {
"avatar_xid": 123,
"dp_info": {
"age": "<string>",
"aspect_ratio": 123,
"avatar_library_id": "<string>",
"avatar_type": "<string>",
"avatar_url": "<string>",
"avatar_x_belong": 123,
"avatar_x_name": "<string>",
"avatar_x_num": 123,
"bgTransparent": true,
"circle_cover_url": "<string>",
"cover_url": "<string>",
"digitalPersonCanUse": true,
"display_position": 123,
"dontUseStaticFrame": true,
"ethnicity": "<string>",
"face_center_x": 123,
"face_center_y": 123,
"face_doubled": true,
"face_json": "<string>",
"face_url": "<string>",
"forms": {},
"gender": 123,
"h": 123,
"id": 123,
"keying_enable": 123,
"keying_face_doubled": true,
"keying_video_url": "<string>",
"length": 123,
"mask_url": "<string>",
"name": "<string>",
"occupation": "<string>",
"originPersonSource": 123,
"personSource": 123,
"pose": "<string>",
"prefer_model": "<string>",
"preview_mask_url": "<string>",
"preview_url": "<string>",
"selectVoiceId": "<string>",
"skins": "<string>",
"sort": 123,
"spaceId": 123,
"style": "<string>",
"theme": "<string>",
"third_party_lip": 123,
"timbre_id": 123,
"type": 123,
"voice_id": "<string>",
"w": 123,
"webm_url": "<string>",
"welcome_url": "<string>"
},
"timbre_lang_id": "<string>",
"timbre_name": "<string>",
"timbre_type": "<string>"
}
},
"details": "<unknown>",
"msg": "<string>",
"rid": "<string>"
}MCP tool:
podcast_query_avatar_info. OAuth scope: asset.read.Authorizations
Headers
Replay a completed identical request without repeating side effects.
Maximum string length:
128Body
application/json
请求参数