List Voices
curl --request GET \
--url https://app.luly.ai/api/v1/voices \
--header 'authorization: <authorization>'import requests
url = "https://app.luly.ai/api/v1/voices"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://app.luly.ai/api/v1/voices', 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.luly.ai/api/v1/voices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$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.luly.ai/api/v1/voices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
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.luly.ai/api/v1/voices")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.luly.ai/api/v1/voices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"voices": [
{
"id": "2f9fdbc7-4bf2-4792-8a18-21ce3c93978f",
"name": "maya",
"description": "Young American Female",
"public": true,
"tags": [
"english",
"soft",
"Luly Curated"
]
},
{
"id": "37b3f1c8-a01e-4d70-b251-294733f08371",
"name": "ryan",
"description": "Professional American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "90295ec4-f0fe-4783-ab33-8b997ddc3ae4",
"name": "mason",
"description": "American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "bbeabae6-ec8d-444f-92ad-c8e620d3de8d",
"name": "tina",
"description": "Gentle American Female",
"public": true,
"tags": [
"english",
"gentle"
]
},
//...
]
}
Voices
List Voices
Retrieves all available voices for your account.
GET
/
v1
/
voices
List Voices
curl --request GET \
--url https://app.luly.ai/api/v1/voices \
--header 'authorization: <authorization>'import requests
url = "https://app.luly.ai/api/v1/voices"
headers = {"authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {authorization: '<authorization>'}};
fetch('https://app.luly.ai/api/v1/voices', 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.luly.ai/api/v1/voices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$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.luly.ai/api/v1/voices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
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.luly.ai/api/v1/voices")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.luly.ai/api/v1/voices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"voices": [
{
"id": "2f9fdbc7-4bf2-4792-8a18-21ce3c93978f",
"name": "maya",
"description": "Young American Female",
"public": true,
"tags": [
"english",
"soft",
"Luly Curated"
]
},
{
"id": "37b3f1c8-a01e-4d70-b251-294733f08371",
"name": "ryan",
"description": "Professional American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "90295ec4-f0fe-4783-ab33-8b997ddc3ae4",
"name": "mason",
"description": "American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "bbeabae6-ec8d-444f-92ad-c8e620d3de8d",
"name": "tina",
"description": "Gentle American Female",
"public": true,
"tags": [
"english",
"gentle"
]
},
//...
]
}
Headers
string
required
Your API key for authentication.
Response
array
Contains a list of the voices available for your account.
string
The unique identifier for the voice.
string
The name of the voice. This value can also be used in the voice parameter when sending calls.
string
A brief description of the voice.
boolean
Indicates whether the voice is publicly available or specific to your account.
array
A list of tags that describe the voice. We recommend “Luly Curated” voices for the best quality over the phone.
number
The number of ratings the voice has received.
number
The average rating of the voice, out of 5.
{
"voices": [
{
"id": "2f9fdbc7-4bf2-4792-8a18-21ce3c93978f",
"name": "maya",
"description": "Young American Female",
"public": true,
"tags": [
"english",
"soft",
"Luly Curated"
]
},
{
"id": "37b3f1c8-a01e-4d70-b251-294733f08371",
"name": "ryan",
"description": "Professional American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "90295ec4-f0fe-4783-ab33-8b997ddc3ae4",
"name": "mason",
"description": "American Male",
"public": true,
"tags": [
"english",
"Luly Curated"
]
},
{
"id": "bbeabae6-ec8d-444f-92ad-c8e620d3de8d",
"name": "tina",
"description": "Gentle American Female",
"public": true,
"tags": [
"english",
"gentle"
]
},
//...
]
}
⌘I