Skip to main content

Inworld TTS

Reference for Inworld TTS in LiveKit Inference.

Overview

LiveKit Inference offers voice models powered by Inworld. Pricing information is available on the pricing page.

Model IDLanguages
inworld/inworld-tts-1
enesfrkonlzhdeitjaplpt

Usage

To use Inworld, pass a descriptor with the model and voice to the tts argument in your AgentSession:

from livekit.agents import AgentSession
session = AgentSession(
tts="inworld/inworld-tts-1:ashley",
# ... llm, stt, vad, turn_detection, etc.
)
import { AgentSession } from '@livekit/agents';
session = new AgentSession({
tts: "inworld/inworld-tts-1:ashley",
// ... tts, stt, vad, turn_detection, etc.
});

Parameters

To customize additional parameters, use the TTS class from the inference module:

from livekit.agents import AgentSession, inference
session = AgentSession(
tts=inference.TTS(
model="inworld/inworld-tts-1",
voice="ashley",
language="en"
),
# ... tts, stt, vad, turn_detection, etc.
)
import { AgentSession } from '@livekit/agents';
session = new AgentSession({
tts: new inference.TTS({
model: "inworld/inworld-tts-1",
voice: "ashley",
language: "en"
}),
// ... tts, stt, vad, turn_detection, etc.
});
modelstringRequired

The model ID from the models list.

voicestringRequired

See voices for guidance on selecting a voice.

languagestringOptional

Language code for the input text. If not set, the model default applies.

extra_kwargsdictOptional

Additional parameters to pass to the Inworld TTS API. See the provider's documentation for more information.

Voices

LiveKit Inference supports all of the default voices available in the Inworld API. You can explore the available voices in the Inworld TTS Playground (free account required), and use the voice by copying its name into your LiveKit agent session.

Cloned voices unavailable

Cloned voices are not yet supported in LiveKit Inference. To use these voices, create your own Inworld account and use the Inworld plugin for LiveKit Agents instead.

The following is a small sample of the Inworld voices available in LiveKit Inference.

Ashley

Warm, natural American female

🇺🇸
Diego

Soothing, gentle Mexican male

🇲🇽
Edward

Fast-talking, emphatic American male

🇺🇸
Olivia

Upbeat, friendly British female

🇬🇧

Additional resources

The following links provide more information about Inworld in LiveKit Inference.