Skip to Content
Models and voices

List approved voices for a model

Permissioninference-voices:readAdd-onInferenceAuthentication
GET
/inference/voices

Lists the voices approved for one model. A voice that isn't approved for the model you send returns 404 inference_voice_not_found.

See model and voice selection.

Authorization

inferenceBearerAuth
headerAuthorizationBearer <token>

Use an Inference API key. Access and keys.

Query Parameters

model*string

Response Body

List approved voices for a model

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.kejue.co/v1/inference/voices?model=string'
Example Response
{  "data": [    {      "language_label": "string",      "gender_label": "string",      "dialect_label": "string",      "sub_dialect_label": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "language": "string",      "gender": "string",      "dialect": "string",      "sub_dialect": "string",      "description": "string",      "sample_available": true    }  ]}