Yapper API
Api reference
GET
/audio/voices

Returns preset voices compatible with one audio-generation model. Voice ids are model/provider-specific; choose a model from GET /models first, then pass its id as modelId. Use the returned voice id in an audio-generation process input.

Authorization

bearerAuth models:read
AuthorizationBearer <token>

In: header

Scope: models:read

Query Parameters

modelId*string

An audio-generation model id from GET /models.

search?string
limit?integer
Range1 <= value <= 100
cursor?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/audio/voices?modelId=string"
{  "data": [    {      "id": "string",      "name": "string",      "provider": "string",      "modelId": "string",      "description": "string",      "language": "string",      "languages": [        "string"      ],      "gender": "male",      "accent": "string",      "age": "string",      "previewAudioUrl": "http://example.com",      "thumbnailUrl": "http://example.com"    }  ],  "nextCursor": "string"}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}