Cartesia : Ink 2
cartesia/ink-2
actif
stt
1 fournisseur
Cartesia's fastest, most accurate streaming speech-to-text model with the lowest word error rate and best turn detection; English only.
AuteurCartesia
Langues1 langues
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.
FournisseurSlugPar heureLatenceiPour 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é
Cartesia
3 paramètres
cartesia
$0,5396
—
Streaming
Langues prises en charge
1 langues
English
en
Fonctionnalités
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
Code
STT en streaming avec l’ElevenLabs SDK
Diffuse l’audio du micro ou d’un fichier via la route AllModels compatible ElevenLabs.
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.
