Skip to main content
GET
/
v1
/
voices
/
recommendations
cURL
curl --request GET \
  --url 'https://api.typecast.ai/v1/voices/recommendations?query=warm%20female%20voice%20for%20product%20tutorial&count=5' \
  --header 'X-API-KEY: <api-key>'
[
  {
    "voice_id": "tc_60e5426de8b95f1d3000d7b5",
    "voice_name": "Olivia",
    "score": 0.92
  },
  {
    "voice_id": "tc_62a8975e695ad26f7fb514d1",
    "voice_name": "Emma",
    "score": 0.87
  }
]

Authorizations

X-API-KEY
string
header
required

API key for authentication. You can obtain an API key from the Typecast API Console.

Query Parameters

query
string
required

Text description. Describe the desired style, mood, language, use case, or content context with keywords or sentences.

Required string length: 1 - 500
count
integer
default:5

Maximum number of recommended voices to return after filtering. Must be between 1 and 10. Fewer than count voices may be returned when there are not enough matching candidates.

Required range: 1 <= x <= 10

Response

Success - Returns recommended voices sorted by score

Maximum array length: 10
voice_id
string
required

Typecast voice identifier with the tc_ prefix. Use this value as voice_id in text-to-speech requests.

Example:

"tc_60e5426de8b95f1d3000d7b5"

voice_name
string
required

Human-readable voice name.

Example:

"Olivia"

score
number
required

Recommendation relevance score. Higher values indicate a stronger match for the query.

Example:

0.92