> ## Documentation Index
> Fetch the complete documentation index at: https://visionagents.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fish Audio STT

[Fish Audio](https://fish.audio) provides speech-to-text with automatic language detection. Buffers audio per participant (minimum 1 second) before sending to the API for accurate transcription.

> [!NOTE]
>
> Vision Agents uses [Stream Video](https://getstream.io/video/) for real-time WebRTC transport by default. [External WebRTC transports](https://visionagents.ai/integrations/introduction-to-integrations.md#edge-transport) are supported as well. Most AI providers offer free tiers to get started.

> [!TIP]
>
> Fish Audio also provides high-quality [text-to-speech](https://visionagents.ai/integrations/tts/fish.md) with prosody control and voice cloning. You can use both in the same agent.

## Installation

```sh theme={null}
uv add "vision-agents[fish]"
```

## Quick Start

```python theme={null}
from vision_agents.core import Agent, User
from vision_agents.plugins import fish, gemini, getstream

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Assistant", id="agent"),
    instructions="You are a helpful assistant.",
    llm=gemini.LLM("gemini-3-flash-preview"),
    stt=fish.STT(),
    tts=fish.TTS(),
)
```

> [!WARNING]
>
> Set `FISH_API_KEY` in your environment or pass `api_key` directly.

## Parameters

```python theme={null}
stt = fish.STT(language="en")  # Or None for auto-detection
```

| Name | Type | Default | Description |
| - | - | - | - |
| `language` | `str` | `None` | Language code (`"en"`, `"zh"`, etc.) or `None` for auto-detect |
| `api_key` | `str` | `None` | API key (defaults to `FISH_API_KEY` env var) |

## Next Steps

> [card] [Fish Audio TTS](https://visionagents.ai/integrations/tts/fish.md)
>
> Text-to-speech with prosody control

> [card] [Build a Voice Agent](https://visionagents.ai/introduction/voice-agents.md)
>
> Get started with voice


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.