600msも待てない音声エージェントのために

MiniMax: Speech 2.8 HD

minimax/speech-2-8-hd
提供中 tts 2プロバイダー
Playground

MiniMax Speech 2.8 HD text-to-speech model for higher-quality speech synthesis with streaming, subtitle, language boost, voice modification, and pronunciation controls.

作成者MiniMax
言語24言語
ボイス読み込み中...
レスポンス形式MP3 · PCM · FLAC · WAV · µ-law · Opus
ステータス提供中

プロバイダー

同じモデルを複数のプロバイダーがホストしている場合があります。バックエンドを固定したい場合は1つのプロバイダーを選び、そうでなければルーティングに選択を任せられます。

プロバイダーSlug1,000文字あたりレイテンシiTTSのレイテンシは音声の最初のバイトが届くまでの時間、STTのレイテンシは最初のトークンが届くまでの時間で計測しています。モード稼働率
MiniMax 13個のパラメーター
minimax
$0.1
—
同期 · ストリーミング
Fal 8個のパラメーター
fal
$0.1
—
同期

対応言語

24言語
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

ボイス

機能

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

コード

クライアント
モード
言語

ElevenLabs SDKでのストリーミングTTS

ElevenLabs SDKをAllModels経由でルーティングし、音声レスポンスをストリーミングします。

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-hd",
  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.
}