Skip to Content
Models and voices

Play a voice sample

Permissioninference-voices:readAdd-onInferenceAuthentication
GET
/inference/voices/{id}/sample

Plays a short sample of an approved voice, so you can hear it before you build it into something.

See voice samples.

Authorization

inferenceBearerAuth
headerAuthorizationBearer <token>

Use an Inference API key. Access and keys.

Path Parameters

id*string
Formatuuid

Query Parameters

model*string

Response Body

Play a voice sample

response?fileaudio/wav
Formatbinary
Example Request
curl -X GET 'https://api.kejue.co/v1/inference/voices/497f6eca-6276-4993-bfeb-53cbbbba6f08/sample?model=string'
Example Response
"string"