Speech ElevenLabs
Speech ElevenLabs is the WinnerWare speech provider for teams that want a more customized spoken voice experience, and fast speech-to-text, through ElevenLabs.
Overview
This module connects WinnerWare to ElevenLabs in two ways:
| Part | Purpose |
|---|---|
| Eleven Labs settings page | Chooses the voices used in guided WinnerWare experiences (Pro-tip Voice and Coach Voice). |
| ElevenLabs AI provider | Lets you create AI connections and deployments that use ElevenLabs for text-to-speech, speech-to-text, and realtime speech-to-text. |
ElevenLabs turns text into speech and speech into text. It does not write answers, so it cannot be the chat model of an assistant.
Key Features
- Adds an Eleven Labs settings page in WinnerWare.
- Lets teams choose separate Pro-tip Voice and Coach Voice options, and preview voice samples before saving.
- Adds ElevenLabs as an AI provider for connections and deployments.
- Provides text-to-speech with the voices in your ElevenLabs account.
- Provides speech-to-text for recorded audio, for example dictation in the Audio input chat mode.
- Provides realtime speech-to-text: it transcribes a person's speech live while they talk.
- Lists the voices in your ElevenLabs account and the voices of all your ElevenLabs agents. Each agent shows with its agent name, also when it uses a voice that the account list already shows. When the API key cannot read the agents, for example because it has no access to Agents, the lists show only the account voices.
How It Works
Choose spoken voices for coaching and guidance
WinnerWare adds an Eleven Labs settings page under Settings so teams can choose the spoken voices used for speech-enabled guidance.

The page includes:
- Pro-tip Voice
- Coach Voice
Click Play sound sample next to a voice to hear it before you save.
The voice lists show the voices of the ElevenLabs account that the deployment's API key belongs to. A deployment that you make in the admin has no API key of its own, so it uses the key of the CloudSolutions_ElevenLabs_Speech configuration section (see Connect to ElevenLabs). When the default text-to-speech deployment is an ElevenLabs deployment, the page uses that deployment. When there is no default text-to-speech deployment, or it uses another provider, the page uses the first ElevenLabs text-to-speech deployment.
The lists show the voices in the languages of the site and the voices that have no language. A voice that ElevenLabs verified in more than one language shows on every site.
If WinnerWare cannot load the voices, for example because the API key is wrong, the page still opens and shows a warning. Correct the API key, restart the app (see Which API key is used), then open the page again.
A saved voice stays selected, also when the list does not include it, so a save does not change it:
- When the language of the voice is not a language of the site, the list shows the voice with its name.
- When the voice is not in the voice list of the deployment, the list shows the voice ID, followed by "(not in the voice list of this deployment)". If the voice belongs to another ElevenLabs account, choose a voice from the list.
When no voice loads and no voice is saved, you cannot save the page, because both voices are required.
Use ElevenLabs as an AI provider
The module registers ElevenLabs as a provider for AI connections and deployments. A deployment that uses ElevenLabs can serve one of these jobs:
| Job | What it does |
|---|---|
| Text-to-speech | Reads text aloud with an ElevenLabs voice. |
| Speech-to-text | Turns recorded audio into text. |
| Realtime speech-to-text | Transcribes live microphone audio while the person talks. |
The deployment's Model name selects the ElevenLabs model. The format of that value depends on the job:
| Job | Model name format | Example |
|---|---|---|
| Text-to-speech | The ElevenLabs model ID. WinnerWare sends it to ElevenLabs unchanged. | eleven_flash_v2_5 |
| Speech-to-text (recorded audio) | The ElevenLabs model ID: scribe_v1 or scribe_v2. The names ScribeV1 and ScribeV2 also work, but use the ElevenLabs ID. Upper and lower case do not matter. Another value is rejected with the error "The specified ElevenLabs Speech to Text model ID ... is not valid." | scribe_v1 |
| Realtime speech-to-text | The ElevenLabs realtime model ID. WinnerWare sends it to ElevenLabs unchanged. | scribe_v2_realtime |
Always fill in Model name. See AI Realtime Voice for model recommendations, and AI Deployments for how to create a deployment and mark its Model capabilities.
Text-to-speech
ElevenLabs text-to-speech reads text aloud with a voice from your ElevenLabs account.
- Voice. The request uses the voice that the feature chooses, for example the Voice on an AI Profile. When no voice is chosen, WinnerWare uses the default voice ID from the site configuration. When there is no default voice either, the request fails with "No ElevenLabs voice was configured for the selected text-to-speech request."
- Streaming. When a feature asks for streamed audio, WinnerWare passes the audio on in small pieces as ElevenLabs produces it, so playback can start before the whole sentence is ready. Empty pieces of text, such as a single line break, are skipped instead of ending the session.
- Audio format. WinnerWare returns Opus audio unless the feature asks for another format, for example the raw audio that a realtime voice session needs.
Speech-to-text
ElevenLabs speech-to-text turns recorded audio into text.
- Audio input. When an ElevenLabs deployment is the Default speech-to-text deployment, the Audio input chat mode of AI Chat uses it. The person dictates with the microphone button, and WinnerWare sends the recording to ElevenLabs.
- Not for live conversation. ElevenLabs returns the text after the recording ends. For a live spoken conversation, use a Cascaded Realtime deployment, with an ElevenLabs realtime speech-to-text deployment as the listening step. See AI Realtime Voice.
Realtime speech-to-text
Realtime speech-to-text opens a live connection to ElevenLabs and returns the text as the person speaks. It returns partial text while the person talks and final text when each turn ends.
- Transcription only. ElevenLabs realtime turns speech into text. It does not reply. If a feature asks an ElevenLabs deployment for a spoken conversation, WinnerWare refuses the session with a clear error instead of opening a connection that never answers.
- Use it as the listening step of a voice assistant. A voice assistant can chain three deployments: speech-to-text, a chat model, and text-to-speech. ElevenLabs can provide the listening and speaking steps. To use ElevenLabs as the listening and speaking steps of a voice assistant, see AI Realtime Voice.
- Turn detection. By default, ElevenLabs detects when the speaker stops (voice activity detection) and closes the turn. When a feature turns voice activity detection off, the feature decides where each turn ends.
- Audio formats. Realtime speech-to-text accepts PCM audio at 8000, 16000 (the default), 22050, 24000, 44100, or 48000 Hz, or μ-law audio at 8000 Hz. Other formats are refused when the session opens, because audio at the wrong rate would produce wrong text.
- Model. The deployment's Model name selects the realtime transcription model, so it is required. Enter a realtime model ID, for example
scribe_v2_realtime. When a recipe or a configuration-based deployment gives no Model name, WinnerWare uses the deployment name as the model. - Voices. When a realtime voice picker asks an ElevenLabs deployment for voices, WinnerWare returns the voices in your ElevenLabs account.
Configuration
Enable the ElevenLabs provider
Turn on Speech Services (Eleven Labs) in Configuration -> Features for the tenant. This also turns on the AI Services feature, because the module needs it.
Choose the guidance voices
- Go to Settings -> Eleven Labs.
- Choose the Pro-tip Voice.
- Choose the Coach Voice.
- Click Play sound sample to preview a voice if needed.
- Save the settings.
Connect to ElevenLabs
- Ask your hosting team to add the ElevenLabs API key to the
CloudSolutions_ElevenLabs_Speechconfiguration section (see Where to set the values). The ElevenLabs deployment editor has no API key box. - Go to Artificial Intelligence -> Deployments, select Add Deployment, and choose ElevenLabs in Available Providers.
- Enter the Model name in the format for the job (see Use ElevenLabs as an AI provider).
- On the Model capabilities card, check the capability for the job, and clear Text conversation, Tool calling, and Streaming, because ElevenLabs cannot chat.
- Select Save.
A deployment that you make in the admin has no API key or default voice of its own. So all the ElevenLabs deployments that you make in the admin use the ApiKey and the DefaultVoiceId of the CloudSolutions_ElevenLabs_Speech section, and they all use the same ElevenLabs account.
Configuration values
The CloudSolutions_ElevenLabs_Speech section can hold these values. In the app configuration (see Where to set the values), the section goes in the OrchardCore section:
{
"OrchardCore": {
"CloudSolutions_ElevenLabs_Speech": {
"ApiKey": "<your ElevenLabs API key>",
"DefaultVoiceId": "<optional default voice ID>"
}
}
}
| Value | Purpose |
|---|---|
ApiKey | Your ElevenLabs API key. Required when the deployment has no API key of its own. |
DefaultVoiceId | The voice used for text-to-speech when no voice is chosen. |
TextToSpeechModelId and SpeechToTextModelId | Not used by deployments. WinnerWare always sends the Model name of the deployment, or the deployment name when Model name is empty. So give each deployment a Model name. |
Keep the API key in a secure configuration store, not in a file that is checked into source control.
Where to set the values
| Place | How to write the section |
|---|---|
The app configuration: appsettings.json or App_Data/appsettings.json. When the site keeps its shell settings in Azure Blob Storage, use the appsettings.json file at the root of the Blob Storage shells container in place of App_Data/appsettings.json. The local App_Data/appsettings.json file is then not read. | In the OrchardCore section, as in the example above. For one tenant only, use OrchardCore:{Tenant}:CloudSolutions_ElevenLabs_Speech, where {Tenant} is the tenant name. |
| Environment variables, for example the application settings of an Azure App Service | OrchardCore__CloudSolutions_ElevenLabs_Speech__ApiKey for all the tenants, or OrchardCore__{Tenant}__CloudSolutions_ElevenLabs_Speech__ApiKey for one tenant. A root-level CloudSolutions_ElevenLabs_Speech__ApiKey is not read. |
The tenant's own appsettings.json file: App_Data/Sites/{Tenant}/appsettings.json, or the same file in Azure Blob Storage when the site keeps its tenant settings there | At the root of the file: { "CloudSolutions_ElevenLabs_Speech": { "ApiKey": "..." } }. Use this root-level form only in this file. |
Which API key is used
When the API key is in more than one place, WinnerWare uses the first of these:
- A key on the deployment:
ApiKey,xi-api-key, orXiApiKeyon a configuration-based deployment, or a protectedApiKeythat a recipe added to the deployment. - The tenant's own
appsettings.jsonfile. OrchardCore:{Tenant}:CloudSolutions_ElevenLabs_Speech.OrchardCore:CloudSolutions_ElevenLabs_Speech.
In items 3 and 4, an environment variable wins over the same value in App_Data/appsettings.json or in the Blob Storage appsettings.json file.
After you change a value, restart the app on every instance. A tenant reload is not enough: it does not read App_Data/appsettings.json, the Blob Storage appsettings.json file or the environment variables again.
To see which key a call uses, set Logging:LogLevel:CloudSolutions.Speech.ElevenLabs to Debug. Put this setting in the Logging section at the root of the app's own appsettings.json file, next to the other log levels, or add the environment variable Logging__LogLevel__CloudSolutions.Speech.ElevenLabs (for example an application setting of an Azure App Service). A log level in App_Data/appsettings.json, in the OrchardCore section, or in the tenant's appsettings.json file has no effect. The module then logs whether the key came from the deployment or from the CloudSolutions_ElevenLabs_Speech section. It never logs the key. Remove the setting after the test.
Usage
Use separate voices for different types of guidance
The split between Pro-tip Voice and Coach Voice works well when the product should clearly separate lightweight guidance from stronger coaching or feedback moments.
Use ElevenLabs when voice quality is part of the experience
Choose this module when the spoken experience should feel more polished or more tailored to the product voice. This is especially useful in guided experiences where users hear frequent spoken prompts.
Add live transcription to a voice experience
Create an ElevenLabs deployment for realtime speech-to-text, and pair it with a chat deployment and a text-to-speech deployment in a Cascaded Realtime deployment. To use ElevenLabs as the listening and speaking steps of a voice assistant, see AI Realtime Voice.
Operational Notes
- The module adds a Manage Eleven Labs Settings permission. A role with this permission can open and edit the Eleven Labs settings page, also when it has no other settings permission.
- The list of voices is cached for 15 minutes, so a voice you just added in ElevenLabs can take up to 15 minutes to appear.
- When WinnerWare cannot read your ElevenLabs agents, for example because the API key has no access to Agents, the voice lists show only the account voices. WinnerWare caches that shorter list for 1 minute, so the agent voices come back soon after you correct the problem.
- ElevenLabs does not provide chat, embeddings, or image generation. Use another provider for those deployments.
- ElevenLabs can end a realtime session because of its own limits, for example quota or session length. WinnerWare reports the ElevenLabs error when the session ends.
- This module does not transcribe Speech Insights call recordings. Those use Speech Azure.