Sentezleyici saglayicilarini getirme
curl --request GET \
--url https://app.whattalk.ai/api/user/assistants/synthesizer-providersimport requests
url = "https://app.whattalk.ai/api/user/assistants/synthesizer-providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.whattalk.ai/api/user/assistants/synthesizer-providers', 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://app.whattalk.ai/api/user/assistants/synthesizer-providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.whattalk.ai/api/user/assistants/synthesizer-providers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.whattalk.ai/api/user/assistants/synthesizer-providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.whattalk.ai/api/user/assistants/synthesizer-providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 2,
"name": "Azure",
"code": "azure"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
Asistanlar
Sentezleyici saglayicilarini getirme
Mevcut TTS (metinden konusmaya) sentezleyici saglayicilarini alma
GET
/
user
/
assistants
/
synthesizer-providers
Sentezleyici saglayicilarini getirme
curl --request GET \
--url https://app.whattalk.ai/api/user/assistants/synthesizer-providersimport requests
url = "https://app.whattalk.ai/api/user/assistants/synthesizer-providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.whattalk.ai/api/user/assistants/synthesizer-providers', 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://app.whattalk.ai/api/user/assistants/synthesizer-providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.whattalk.ai/api/user/assistants/synthesizer-providers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.whattalk.ai/api/user/assistants/synthesizer-providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.whattalk.ai/api/user/assistants/synthesizer-providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 2,
"name": "Azure",
"code": "azure"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
Bu endpoint, asistan olusturulurken veya guncellenirken kullanilabilecek mevcut sentezleyici saglayicilarinin listesini dondurur. Bir asistani yapilandirirken dondurulmus
id degerini synthesizer_provider_id olarak kullanin.
Sorgu Parametreleri
integer
Saglayicilari dil destegine gore filtreleyin. Yalnizca verilen dili destekleyen saglayicilari dondurur. Mevcut dil kimliklerini almak icin Dilleri Getir endpointini kullanin.
Yanit alanlari
array
[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 2,
"name": "Azure",
"code": "azure"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
[
{
"id": 1,
"name": "ElevenLabs",
"code": "elevenlabs"
},
{
"id": 3,
"name": "Cartesia",
"code": "cartesia"
}
]
Notlar
language_idfiltresi saglanmazsa, tum saglayicilar dondurulur- Tum saglayicilar tum dilleri desteklemez — uyumlu saglayicilari almak icin
language_idfiltresini kullanin - Sentezleyici saglayicilari yalnizca
pipelinevedualplexmodlari icin gecerlidir (multimodal mod TTS’yi dahili olarak yonetir) - Asistan olustururken
synthesizer_provider_idayarlamazsaniz, dilin varsayilan saglayicisi kullanilir

