> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m-star.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Higgs Audio

> Serve Higgs Audio v3 STT and transcribe a recording in windows.

Higgs Audio v3 STT transcribes one audio recording to text. Start here for the Boson AI checkpoint. Choose [Whisper](https://docs.m-star.org/models/whisper-qwen-asr.md) if you need word timestamps.

## Install and start

The audio encoder and language model share one GPU. Offline deployments need both `bosonai/higgs-audio-v3-stt` and the `openai/whisper-large-v3` feature extractor.

### `higgs_audio`

Audio → text. The default `higgs_audio.yaml` uses 1 GPU. Beta. The [weights](https://huggingface.co/bosonai/higgs-audio-v3-stt) use Apache-2.0.

```bash theme={null}
uv pip install --torch-backend=auto "mstar-ai[asr]"
mstar serve higgs_audio
```

[Send the request](#transcribe).

## Send a request

Run either client example in a second terminal after `/health` returns 200.

### Transcribe a recording

Use a short English recording in `speech.wav` (under 30 seconds). For long files, the [transcription endpoint](https://docs.m-star.org/clients.md#transcription) applies the model’s windowing policy.

**Python SDK**

```python theme={null}
from mstar import MStarClient

client = MStarClient("http://localhost:8000")
print(client.transcribe("speech.wav"))
```

**curl**

```bash theme={null}
curl -fsS http://localhost:8000/v1/audio/transcriptions \
  -F file=@speech.wav -F response_format=text
```

## Deployment configs

| File | GPUs | Use |
| - | - | - |
| `higgs_audio.yaml` | 1 | The audio encoder and the LLM on one worker |

## Settings and defaults

| Knob | Where | Default | Effect |
| - | - | - | - |
| `prompt` | request (`text` on `/generate`) | the model's instruction | Replaces the transcription instruction. |
| `max_output_tokens` | request | 1024 | Transcript token cap. |
| `encoder_graphs` | deployment `model_kwargs` | `true` | `false` runs the audio tower eagerly instead of replaying a captured graph per chunk count. |

## Limits

* The model drops or repeats text on long audio, so `/v1/audio/transcriptions` cuts an upload longer than 30 s into windows of at most 30 s and runs them in parallel. `/generate` does not window; keep its clips to 30 s.
* One audio clip per request.
* `language` and timestamp requests are not read. A timed `response_format` gets one segment per window.


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