Smallest.ai

Text-to-speech

View as MarkdownOpen in Claude

Smallest.ai’s Waves platform offers fast Lightning text-to-speech voices with especially strong coverage of Indian languages.

Models

SignalWire supports the following Waves Lightning models.

ModelDescription
lightning_v3.1Default. Fast, low-latency model
lightning_v3.1_proHigher-quality model

Voices

Press play to audition any Smallest.ai voice, then copy config to grab the value for SWML or your SDK.

Smallest.ai provides roughly 250 voices in the Waves catalog. A voice’s name is its voice ID — for example, sophia (the default, an American English female voice) becomes smallest.sophia in the voice string.

Browse the catalog in Smallest.ai’s platform and documentation:

Languages

Smallest.ai supports the following languages:

LanguageCode
Englishen
Spanishes
Hindihi
Bengalibn
Gujaratigu
Kannadakn
Malayalamml
Marathimr
Odiaor
Punjabipa
Tamilta
Telugute

Refer to the Waves docs for the most up-to-date reference to supported languages and voices.

Usage

A voice identifier string has three parts: the smallest engine code, a voice ID, and an optional model.

Format: smallest.<voiceId>:<model>

  • voiceId (required): a Waves voice ID (for example, sophia); see Voices.
  • model (optional): one of the models above. Defaults to lightning_v3.1.

Examples:

smallest.sophia:lightning_v3.1
smallest.sophia:lightning_v3.1_pro

You can also set the model with the separate model parameter of the languages SWML method instead of appending :model to the voice string:

1languages:
2- name: English
3 code: en-US
4 voice: smallest.sophia
5 model: lightning_v3.1

Build with Smallest.ai on SignalWire

1

Create a Space and add credit

If you don’t have one yet, you’ll need to create a SignalWire Space. Be sure to add some credit to test with.

2

Add a new Resource

Navigate to the Resources tab in your SignalWire Dashboard and click + Add New to create a new Resource.

3

Create a SWML Script

From the Resources menu, select SWML Script. Name it something fun and recognizable. Ours is titled Smallest Wizard.

Next, paste the following starter script into the text box, and hit Save:

1version: 1.0.0
2sections:
3 main:
4 - ai:
5 prompt:
6 text: |
7 You're Sophia, a voice from Smallest.ai's Waves Lightning TTS engine!
8 Introduce yourself, and have a conversation about programmable unified communications on the SignalWire platform.
9 languages:
10 - name: English
11 code: en-US
12 voice: smallest.sophia:lightning_v3.1
4

Buy and assign a phone number

Navigate to the Phone Numbers section of the Dashboard’s left sidebar menu.

Purchase a phone number and assign it to the desired SWML script.

A purchased phone number showing assignment to a specified Resource.

Assigning a phone number to the SWML Script
5

Give it a call!

Call the number you just assigned to chat with your new AI voice application on the phone.

Next steps with SWML

Now you’ve deployed your very first SignalWire voice AI application using Smallest.ai voices. Next, dive deeper into SWML to explore its capabilities!