Hecho para agentes de voz que no pueden esperar 600ms

Inworld AI: Realtime TTS-2

inworld/inworld-tts-2
activo tts 1 proveedor
Playground

Inworld's flagship text-to-speech model: 200+ languages and locales, natural-language steering with persistent bracketed instruction tags, word/character timestamps with phoneme and viseme detail, instant and professional voice cloning, and a reported 100 ms P90 server-side time to first audio byte.

AutorInworld AI
Idiomas94 idiomas
VocesCargando...
Estadoactivo

Proveedores

Distintos proveedores pueden alojar el mismo modelo. Elige un proveedor cuando necesites un backend fijo, o deja que el enrutamiento elija entre ellos.

ProveedorSlugPor 1k caracteresLatenciaiEn TTS, la latencia se mide como el tiempo hasta el primer byte de audio. En STT, se mide como el tiempo hasta el primer token.ModosDisponibilidad
Inworld AI 9 parámetros
inworld
Desde $0,025
—
Síncrono · Streaming

Idiomas admitidos

94 idiomas
Arabic ar
Chinese zh
Dutch nl
English en
French fr
German de
Hebrew he
Hindi hi
Italian it
Japanese ja
Korean ko
Polish pl
Portuguese pt
Russian ru
Spanish es
Afrikaans af
Albanian sq
Amharic am
Armenian hy
Assamese as
Azerbaijani az
Basque eu
Belarusian be
Bengali bn
Bulgarian bg
Burmese my
Cantonese yue
Catalan ca
Cebuano ceb
Croatian hr
Czech cs
Danish da
Eastern Yiddish yih
Egyptian Arabic arz
Estonian et
Filipino fil
Finnish fi
Galician gl
Garhwali gbm
Georgian ka
Greek el
Gujarati gu
Gulf Arabic afb
Haitian Creole ht
Hijazi Arabic acw
Hungarian hu
Icelandic is
Indonesian id
Javanese jv
Kannada kn
Kazakh kk
Konkani kok
Lao lo
Latvian lv
Libyan Arabic ayl
Lithuanian lt
Luxembourgish lb
Macedonian mk
Maithili mai
Malagasy mg
Malay ms
Malayalam ml
Marathi mr
Mongolian mn
Najdi Arabic ars
Nepali ne
Northern Uzbek uzn
Norwegian Bokmål nb
Norwegian Nynorsk nn
Odia or
Omani Arabic acx
Pashto ps
Persian fa
Piedmontese pms
Punjabi pa
Romanian ro
Serbian sr
Sindhi sd
Sinhala si
Slovak sk
Slovenian sl
Swahili sw
Swedish sv
Tamil ta
Telugu te
Thai th
Tunisian Arabic aeb
Turkish tr
Ukrainian uk
Urdu ur
Uzbek uz
Vietnamese vi
Võro vro
Welsh cy

Voces

Funciones

Text to speech

Generates spoken audio from text input.

text_to_speech
Streaming

HTTP chunked streaming (POST /tts/v1/voice:stream, newline-delimited JSON with base64 audio) and a bidirectional WebSocket API.

streaming
Async long-text synthesis

Async job API (POST /tts/v1/voice:synthesizeAsync) accepts up to 100,000 characters per job (On-Demand accounts capped at 10,000) and stitches the audio server-side; the sync and streaming APIs cap text at 2,000 characters.

async_long_text
Batch synthesis

Batch job API (POST /tts/v1/voice:synthesizeBatch, marked Preview) accepts up to 10,000 items of 100,000 characters each, capped at 10,000 characters per whole batch on On-Demand accounts, and is metered 20% below realtime synthesis on every plan.

batch
Word timestamps

timestampType=WORD returns timestampInfo.wordAlignment with per-token start and end times, and CHARACTER returns characterAlignment.

word_timestamps
Phoneme and viseme timing

WORD timestamps include phoneticDetails with IPA phone symbols, durations and viseme symbols for lip-sync.

visemes
Instant voice cloning

High-quality instant voice cloning (IVC) is supported.

instant_voice_cloning
Multilingual

200+ languages and locales, with cross-lingual synthesis and voice localization.

multilingual
Speaking rate control

audioConfig.speakingRate accepts 0.5-1.5 (1.0 = native speed).

speed_control
Non-verbal tags

Bracketed non-verbal sounds such as [laugh] and [sigh] work on both TTS-2 models.

non_verbal_tags
Synthesis context

synthesisContext.previousRequests supplies prior turns' text as context.

synthesis_context
Natural-language steering

Bracketed instruction tags and the request-level instruction field direct delivery, and a tag persists until changed or [reset].

instruction_steering
Delivery mode

deliveryMode (STABLE, BALANCED or CREATIVE) trades consistency against emotional range and defaults to BALANCED.

delivery_mode
Professional voice cloning

Professional Voice Cloning is documented as supported on inworld-tts-2 only.

professional_voice_cloning

Código

Cliente
Modo
Lenguaje

TTS en streaming con el ElevenLabs SDK

Enruta el ElevenLabs SDK a través de AllModels y transmite la respuesta de audio.

import { ElevenLabsClient } from "elevenlabs";

const client = new ElevenLabsClient({
  apiKey: process.env.ALLMODELS_API_KEY,
  baseUrl: "https://api.allmodels.io/el"
});

const stream = await client.textToSpeech.stream("voice_id", {
  text: "I'm sorry, Dave. I'm afraid I can't do that.",
  modelId: "inworld/inworld-tts-2",
  outputFormat: "mp3_44100_128"
}, {
  queryParams: {
    provider: {
      "only": [
        "inworld"
      ]
    }
  }
});

const reader = stream.getReader();
for (;;) {
  const { done, value } = await reader.read();
  if (done) break;
  // Write value to your response, file, or audio playback pipeline.
}