> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 (current TTS) and Pulse (current
> STT). Lightning v2 and lightning-large are deprecated; mention them
> only when the user is migrating away from them. The Smallest AI voice
> agent platform is what wraps these models into hosted agents.

# Get Voices

GET https://api.smallest.ai/waves/v1/{model}/get_voices

List voices available for Lightning v3.1. The response is the union of the standard and Pro voice catalogs — the API does not return a per-voice "is Pro" flag, so consult the [Lightning v3.1 Pro](/models/model-cards/text-to-speech/lightning-v-3-1-pro) and [Lightning v3.1](/models/model-cards/text-to-speech/lightning-v-3-1) model cards for the canonical per-pool voice lists. Use the `voice_id` from this response together with `"model": "lightning_v3.1"` (default) or `"model": "lightning_v3.1_pro"` on the unified `/waves/v1/tts` route to pick the pool.


Reference: https://docs.smallest.ai/models/api-reference/text-to-speech/get-waves-voices

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: waves-v4
  version: 1.0.0
paths:
  /waves/v1/{model}/get_voices:
    get:
      operationId: get-waves-voices
      summary: Get Voices
      description: >
        List voices available for Lightning v3.1. The response is the union of
        the standard and Pro voice catalogs — the API does not return a
        per-voice "is Pro" flag, so consult the [Lightning v3.1
        Pro](/models/model-cards/text-to-speech/lightning-v-3-1-pro) and
        [Lightning v3.1](/models/model-cards/text-to-speech/lightning-v-3-1)
        model cards for the canonical per-pool voice lists. Use the `voice_id`
        from this response together with `"model": "lightning_v3.1"` (default)
        or `"model": "lightning_v3.1_pro"` on the unified `/waves/v1/tts` route
        to pick the pool.
      tags:
        - voices
      parameters:
        - name: model
          in: path
          description: >
            The catalog to query. Currently only `lightning-v3.1` is supported —
            the response returns the union of standard Lightning v3.1 voices and
            Lightning v3.1 Pro voices. The API does not include a per-voice Pro
            flag; consult the model cards for the canonical per-pool catalogs.
          required: true
          schema:
            $ref: '#/components/schemas/WavesV1ModelGetVoicesGetParametersModel'
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Voices retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Voices_getWavesVoices_Response_200'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWavesVoicesRequestBadRequestError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWavesVoicesRequestUnauthorizedError'
        '500':
          description: Server error occurred
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWavesVoicesRequestInternalServerError'
servers:
  - url: https://api.smallest.ai
    description: waves
components:
  schemas:
    WavesV1ModelGetVoicesGetParametersModel:
      type: string
      enum:
        - lightning-v3.1
      default: lightning-v3.1
      title: WavesV1ModelGetVoicesGetParametersModel
    WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItemsTags:
      type: object
      properties:
        language:
          type: array
          items:
            type: string
          description: >-
            Languages the voice was trained on (e.g., `["english"]`,
            `["english", "hindi"]`).
        accent:
          type: string
          description: Accent of the voice (e.g., `american`, `british`, `indian`).
        gender:
          type: string
          description: Gender of the voice (`male` or `female`).
        age:
          type: string
          description: Age range of the voice (e.g., `young`, `middle aged`, `senior`).
        emotions:
          type: array
          items:
            type: string
          description: Emotional ranges the voice supports. May be empty.
        usecases:
          type: array
          items:
            type: string
          description: >-
            Recommended use cases for the voice (e.g., `conversational`,
            `narration`).
      description: >-
        Tag metadata used to identify the voice's characteristics. Filter on
        these fields to find voices for a target language, accent, or use case.
        Fields may be empty on some voices.
      title: >-
        WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItemsTags
    WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItems:
      type: object
      properties:
        voiceId:
          type: string
          description: >-
            Unique Voice ID. Pass this value as `voice_id` on `POST
            /waves/v1/tts` (or the streaming route).
        displayName:
          type: string
          description: Display name for the voice.
        tags:
          $ref: >-
            #/components/schemas/WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItemsTags
          description: >-
            Tag metadata used to identify the voice's characteristics. Filter on
            these fields to find voices for a target language, accent, or use
            case. Fields may be empty on some voices.
      required:
        - voiceId
        - displayName
      title: WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItems
    Voices_getWavesVoices_Response_200:
      type: object
      properties:
        voices:
          type: array
          items:
            $ref: >-
              #/components/schemas/WavesV1ModelGetVoicesGetResponsesContentApplicationJsonSchemaVoicesItems
          description: List of available voices.
      title: Voices_getWavesVoices_Response_200
    GetWavesVoicesRequestBadRequestError:
      type: object
      properties:
        error:
          type: string
          description: Error type
        message:
          type: string
          description: Error message
      title: GetWavesVoicesRequestBadRequestError
    GetWavesVoicesRequestUnauthorizedError:
      type: object
      properties:
        error:
          type: string
          description: Error type
        message:
          type: string
          description: Error message
      title: GetWavesVoicesRequestUnauthorizedError
    GetWavesVoicesRequestInternalServerError:
      type: object
      properties:
        error:
          type: string
          description: Error type
        message:
          type: string
          description: Error message
      title: GetWavesVoicesRequestInternalServerError
  securitySchemes:
    BearerAuth:
      type: apiKey
      in: header
      name: Authorization

```

## Examples



**Response**

```json
{
  "voices": [
    {
      "voiceId": "avery",
      "displayName": "Avery",
      "tags": {
        "language": [
          "english"
        ],
        "accent": "american",
        "gender": "female",
        "age": "young",
        "emotions": [],
        "usecases": [
          "conversational"
        ]
      }
    },
    {
      "voiceId": "liam",
      "displayName": "Liam",
      "tags": {
        "language": [
          "english"
        ],
        "accent": "british",
        "gender": "male",
        "age": "young",
        "emotions": [],
        "usecases": [
          "conversational"
        ]
      }
    },
    {
      "voiceId": "devansh",
      "displayName": "Devansh",
      "tags": {
        "language": [
          "hindi",
          "english"
        ],
        "accent": "indian",
        "gender": "male",
        "age": "young",
        "emotions": [],
        "usecases": [
          "conversational"
        ]
      }
    }
  ]
}
```

**SDK Code**

```typescript Voices_getWavesVoices_example
import { SmallestAIClient } from "smallestai";

async function main() {
    const client = new SmallestAIClient();
    await client.waves.getVoices("lightning-v3.1");
}
main();

```

```python Voices_getWavesVoices_example
from smallestai import SmallestAI

client = SmallestAI()

client.waves.get_voices(
    model="lightning-v3.1",
)

```

```go Voices_getWavesVoices_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <BearerAuth>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Voices_getWavesVoices_example
require 'uri'
require 'net/http'

url = URI("https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <BearerAuth>'

response = http.request(request)
puts response.read_body
```

```java Voices_getWavesVoices_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices")
  .header("Authorization", "Bearer <BearerAuth>")
  .asString();
```

```php Voices_getWavesVoices_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices', [
  'headers' => [
    'Authorization' => 'Bearer <BearerAuth>',
  ],
]);

echo $response->getBody();
```

```csharp Voices_getWavesVoices_example
using RestSharp;

var client = new RestClient("https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <BearerAuth>");
IRestResponse response = client.Execute(request);
```

```swift Voices_getWavesVoices_example
import Foundation

let headers = ["Authorization": "Bearer <BearerAuth>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.smallest.ai/waves/v1/lightning-v3.1/get_voices")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```