Documentation Index
Fetch the complete documentation index at: https://docs.nano-gpt.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
UseGET /api/v1/audio-models to discover the currently available audio models. The response includes both text-to-speech (TTS) and speech-to-text (STT) models.
This endpoint is cacheable. Refresh it periodically and do not hardcode audio model capabilities in your client.
Endpoint
Authentication
Authentication is optional.Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEY
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
detailed | boolean | true | Include names, descriptions, pricing, capabilities, and supported parameters. |
type | string | all | Filter by audio model type. Allowed values: all, tts, stt. |
Response
type is not all, meta may include the active filter.
Model Types
| Type | Description |
|---|---|
tts | Text-to-speech models for POST /api/v1/audio/speech and related TTS endpoints. |
stt | Speech-to-text models for transcription endpoints. |
all | Both TTS and STT models. |
Example
Notes
- Supported parameters vary by model, including voices, formats, streaming support, file formats, language support, diarization, timestamps, and max input size.
- Use this endpoint instead of hardcoding audio model capabilities.
- The response is cacheable, but model availability can change.