Hecho para agentes de voz que no pueden esperar 600ms

Fish Audio: Fish Audio S1

fish/s1
activo tts 1 proveedor
Playground

Previous-generation Fish Audio text-to-speech model with parenthesis-style emotion tags.

AutorFish Audio
Idiomas1 idiomas
VocesCargando...
Formatos de respuestaMP3 · WAV · PCM · Opus
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
Fish Audio 19 parámetros
fish
$0,015
—
Síncrono · Streaming

Idiomas admitidos

1 idiomas
English en

Voces

Funciones

Text to speech

Generates spoken audio from text input.

text_to_speech
Streaming

Supports streaming audio output (HTTP + WebSocket) with optional timestamps.

streaming
Synchronous

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

synchronous
Multilingual

Supports 13 languages.

multilingual
Voice cloning

Supports instant (reference audio) and persistent (reference_id) voice cloning.

voice_cloning
Emotion / expression control

S1 uses (parenthesis) emotion tags.

emotion_control

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: "fish/s1",
  outputFormat: "mp3_44100_128"
}, {
  queryParams: {
    provider: {
      "only": [
        "fish"
      ]
    }
  }
});

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