Fish S1
Previous-generation speech synthesis for compatibility.
- Speech price
- First audio
- median latency
- Completion
- median duration
01Routes
02Capabilities
- Input
- text
- Output
- audio
- Context
- —
- Max output
- —
Streaming
03Quick start
Call it with your RProuter key
Any OpenAI-compatible SDK works. Point it at the RProuter base URL from your API keys page and use this model ID.
curl "$RPROUTER_BASE_URL/audio/speech" \
-H "Authorization: Bearer $RPROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model":"fish/s1","voice":"YOUR_RPROUTER_VOICE_ID","input":"Every story starts somewhere.","response_format":"mp3"}' \
--output speech.mp304Example request and response
Request
POST /v1/audio/speech
Authorization: Bearer YOUR_RPROUTER_KEY
{
"model": "fish/s1",
"voice": "YOUR_RPROUTER_VOICE_ID",
"input": "Every story starts somewhere.",
"response_format": "mp3"
}Response
200 OK
Content-Type: audio/mpeg
Transfer-Encoding: chunked
x-request-id: b0e4f7d2-91c3-4a6e-8d15-7f2a9c3e5b18
<streamed MP3 audio>