Conçu pour les agents vocaux qui ne peuvent pas attendre 600ms

MiniMax : Speech 2.8 Turbo

minimax/speech-2-8-turbo
actif tts 2 fournisseurs
Playground

MiniMax Speech 2.8 Turbo text-to-speech model optimized for faster speech synthesis with streaming, subtitle, language boost, voice modification, and pronunciation controls.

AuteurMiniMax
Langues24 langues
VoixChargement...
Formats de réponseMP3 · PCM · FLAC · WAV · µ-law · Opus
Statutactif

Fournisseurs

Plusieurs fournisseurs peuvent héberger le même modèle. Choisissez-en un lorsque vous avez besoin d’un backend fixe, ou laissez le routage choisir parmi eux.

FournisseurSlugPour 1k caractèresLatenceiPour le TTS, la latence correspond au délai jusqu’au premier octet audio. Pour le STT, elle correspond au délai jusqu’au premier token.ModesDisponibilité
MiniMax 13 paramètres
minimax
$0,06
—
Synchrone · Streaming
Fal 8 paramètres
fal
$0,06
—
Synchrone

Langues prises en charge

24 langues
Arabic ar
Cantonese yue
Chinese (Mandarin) zh
Czech cs
Dutch nl
English en
Finnish fi
French fr
German de
Greek el
Hindi hi
Indonesian id
Italian it
Japanese ja
Korean ko
Polish pl
Portuguese pt
Romanian ro
Russian ru
Spanish es
Thai th
Turkish tr
Ukrainian uk
Vietnamese vi

Voix

Fonctionnalités

Text to speech

Generates spoken audio from text input.

text_to_speech
Streaming

Supports streaming output with stream=true.

streaming
Synchronous

Synthesizes speech from fully-submitted text in a single synchronous request.

synchronous
Subtitles

Supports sentence, word, and streaming word subtitle modes.

subtitles
Language boost

Supports language-specific recognition enhancement or automatic language detection with language_boost=auto.

language_boost
Voice modification

Supports pitch, intensity, timbre, and sound effect controls through voice_modify.

voice_modification
Pronunciation dictionary

Supports pronunciation replacement through pronunciation_dict.

pronunciation_dictionary

Code

Client
Mode
Langage

TTS en streaming avec l’ElevenLabs SDK

Fait passer l’ElevenLabs SDK par AllModels et diffuse la réponse audio en streaming.

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: "minimax/speech-2-8-turbo",
  outputFormat: "mp3_44100_128"
}, {
  queryParams: {
    provider: {
      "only": [
        "minimax"
      ]
    }
  }
});

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