Audio Models
curl --request GET \
--url https://nano-gpt.com/api/v1/audio-modelsimport requests
url = "https://nano-gpt.com/api/v1/audio-models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://nano-gpt.com/api/v1/audio-models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nano-gpt.com/api/v1/audio-models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://nano-gpt.com/api/v1/audio-models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nano-gpt.com/api/v1/audio-models")
.asString();require 'uri'
require 'net/http'
url = URI("https://nano-gpt.com/api/v1/audio-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEndpoint Examples
Audio Models
List available text-to-speech and speech-to-text models
GET
/
api
/
v1
/
audio-models
Audio Models
curl --request GET \
--url https://nano-gpt.com/api/v1/audio-modelsimport requests
url = "https://nano-gpt.com/api/v1/audio-models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://nano-gpt.com/api/v1/audio-models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nano-gpt.com/api/v1/audio-models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://nano-gpt.com/api/v1/audio-models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nano-gpt.com/api/v1/audio-models")
.asString();require 'uri'
require 'net/http'
url = URI("https://nano-gpt.com/api/v1/audio-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyOverview
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
GET https://nano-gpt.com/api/v1/audio-models
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
{
"object": "list",
"data": [
{
"id": "tts-model-id",
"object": "model",
"name": "Display name",
"description": "Model description",
"architecture": {
"modality": "audio",
"input_modalities": ["text"],
"output_modalities": ["audio"]
},
"pricing": {
"currency": "USD"
},
"capabilities": {
"text_to_speech": true,
"speech_to_text": false
},
"supported_parameters": {}
}
],
"meta": {
"count": 1,
"generated_at": "2026-05-07T12:00:00.000Z"
}
}
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
curl "https://nano-gpt.com/api/v1/audio-models?type=stt&detailed=true" \
-H "x-api-key: $NANOGPT_API_KEY"
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.