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

Cartesia: Ink 2

cartesia/ink-2
提供中 stt 1プロバイダー
Playground

Cartesia's fastest, most accurate streaming speech-to-text model with the lowest word error rate and best turn detection; English only.

作成者Cartesia
言語1言語
ステータス提供中

プロバイダー

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

プロバイダーSlug1時間あたりレイテンシiTTSのレイテンシは音声の最初のバイトが届くまでの時間、STTのレイテンシは最初のトークンが届くまでの時間で計測しています。モード稼働率
Cartesia 3個のパラメーター
cartesia
$0.5396
—
ストリーミング

対応言語

1言語
English en

機能

Speech to text

Transcribes spoken audio to text.

speech_to_text
Streaming

Real-time streaming transcription over WebSocket.

streaming
Multilingual transcription

English only.

multilingual_transcription

コード

クライアント
モード
言語

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

マイクまたはファイルの音声を、ElevenLabs互換のAllModelsルート経由でストリーミングします。

import { ElevenLabsClient } from "elevenlabs";

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

const connection = await client.speechToText.realtime.connect({
  modelId: "cartesia/ink-2",
  languageCode: "en"
}, {
  queryParams: {
    provider: {
      "only": [
        "cartesia"
      ]
    }
  }
});

// Send audio frames to connection, then handle transcript events.