
A warm, friendly woman in her late twenties with a soft British accent and calm pacing, suitable for a guided meditation app.
Hello, this is a sample of my voice. Take a slow breath with me.
// 1. Designconst result = await tts.designVoice({ designPrompt: "Calm British narrator", numberOfSamples: 3,});// 2. Publish to a permanent voiceIdconst voice = await tts.publishVoice({ voice: result.previewVoices[0].voiceId, displayName: "Meditation Guide",});// 1. Designconst result = await tts.designVoice({ designPrompt: "Calm British narrator", numberOfSamples: 3,});// 2. Publish to a permanent voiceIdconst voice = await tts.publishVoice({ voice: result.previewVoices[0].voiceId, displayName: "Meditation Guide",});import { InworldTTS } from '@inworld/tts';
const tts = InworldTTS(); // reads INWORLD_API_KEY
// 1. Design: generate up to three voice previews from a description
const result = await tts.designVoice({
designPrompt:
'A warm, friendly woman in her late twenties with a soft British accent and calm pacing.',
previewText: 'Hello, this is a sample of my voice.',
numberOfSamples: 3,
langCode: 'EN_US',
});
// 2. Preview: listen to each generated voice (base64 WAV)
for (const preview of result.previewVoices) {
console.log(preview.voiceId, preview.previewAudio.slice(0, 32));
}
// 3. Publish: save the one you like as a permanent voice
const voice = await tts.publishVoice({
voice: result.previewVoices[0].voiceId,
displayName: 'Meditation Guide - British EN',
description: 'Calm, guided-meditation narrator',
tags: ['meditation', 'british', 'female'],
});
// 4. Use it anywhere Inworld TTS, Realtime API, or voice agents run
const audio = await tts.synthesize({
voiceId: voice.voiceId,
modelId: 'inworld-tts-1.5-max',
text: 'Welcome back. Let us begin with a slow breath.',
});