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

# Audio Models

> Open-weight speech-to-text and text-to-speech models on herogpu, billed per minute of audio.

Herogpu serves three open-weight audio models on OpenAI-compatible endpoints: `whisper-tiny` for speech-to-text on [`POST /v1/audio/transcriptions`](https://docs.herogpu.com/api-reference/audio-transcriptions), and `chatterbox-nano` and `chatterbox` for text-to-speech, with voice cloning, on [`POST /v1/audio/speech`](https://docs.herogpu.com/api-reference/audio-speech). Authenticate with `x-api-key` or `Authorization: Bearer`, so the OpenAI SDKs work with only the base URL and API key changed.

## At a glance

| Model | Price /min | Task |
| - | -: | - |
| [![whisper-tiny](https://models-favicon.zerogpu.ai/gpt-oss-120b/gpt-oss-120b.png) `whisper-tiny`](https://docs.herogpu.com/api-reference/models/whisper-tiny) | \$0.02 | Speech-to-Text |
| [![chatterbox-nano](https://cdn-avatars.huggingface.co/v1/production/uploads/6000a0456a2a91af974298cf/qmxSbcVBCwUtVez918IkQ.png) `chatterbox-nano`](https://docs.herogpu.com/api-reference/models/chatterbox-nano) | \$0.01 | Text-to-Speech |
| [![chatterbox](https://cdn-avatars.huggingface.co/v1/production/uploads/6000a0456a2a91af974298cf/qmxSbcVBCwUtVez918IkQ.png) `chatterbox`](https://docs.herogpu.com/api-reference/models/chatterbox) | \$0.015 | Text-to-Speech |

Audio is billed per minute, rounded up to the next whole minute with a one-minute minimum: uploaded audio for `whisper-tiny`, generated audio for `chatterbox-nano`. `chatterbox` is metered at the same per-minute rate but rounded up to the next whole second of generated audio, per request. The billed length is returned in the `x-audio-duration-seconds` header.

## Model cards

> [card]
>
> ![whisper-tiny](https://models-favicon.zerogpu.ai/gpt-oss-120b/gpt-oss-120b.png)
>
> whisper-tiny
>
> Speech-to-Text39M params\$0.02 / minute
>
> OpenAI's Whisper Tiny is the smallest model in the Whisper family of speech recognition models, at 39M parameters. It is the multilingual checkpoint: it transcribes speech in the language it was spoken…
>
> [Open](https://docs.herogpu.com/api-reference/models/whisper-tiny.md)

> [card]
>
> ![chatterbox-nano](https://cdn-avatars.huggingface.co/v1/production/uploads/6000a0456a2a91af974298cf/qmxSbcVBCwUtVez918IkQ.png)
>
> chatterbox-nano
>
> Text-to-SpeechVoice cloning110M params\$0.01 / minute
>
> Resemble AI's Chatterbox Nano is a 110M-parameter English text-to-speech model built for fast, low-cost speech generation. It speaks your text in a built-in voice, or clones a speaker…
>
> [Open](https://docs.herogpu.com/api-reference/models/chatterbox-nano.md)

> [card]
>
> ![chatterbox](https://cdn-avatars.huggingface.co/v1/production/uploads/6000a0456a2a91af974298cf/qmxSbcVBCwUtVez918IkQ.png)
>
> chatterbox
>
> Text-to-SpeechVoice cloning0.5B params\$0.015 / minute
>
> Resemble AI's Chatterbox is the original 0.5B-parameter ChatterboxTTS model, the larger sibling of chatterbox-nano. It speaks your text in a built-in voice, or clones a speaker zero-shot…
>
> [Open](https://docs.herogpu.com/api-reference/models/chatterbox.md)

## whisper-tiny

> OpenAI's Whisper Tiny is the smallest model in the Whisper family of speech recognition models, at 39M parameters. It is the multilingual checkpoint: it transcribes speech in the language it was spoken, detecting that language on its own when you don't name it, and it can translate speech into English. Its size makes it fast and cheap enough for high-volume transcription where throughput and cost matter more than the accuracy of the larger Whisper models: voice agents, meeting notes, subtitles, podcasts, and audio indexing.

**References:** [Model card](https://huggingface.co/openai/whisper-tiny) • [License](https://github.com/openai/whisper/blob/main/LICENSE) • [Terms](https://zerogpu.ai/terms) • [Privacy](https://zerogpu.ai/privacy-policy)

```bash cURL theme={null}
curl --location 'https://api.herogpu.com/v1/audio/transcriptions' \
  --header 'x-api-key: YOUR_API_KEY' \
  --form 'model="whisper-tiny"' \
  --form 'file=@"/path/to/audio.mp3"'
```

```python OpenAI SDK theme={null}
from openai import OpenAI

client = OpenAI(
    base_url="https://api.herogpu.com/v1",
    api_key="YOUR_API_KEY",  # sent as Authorization: Bearer
)

with open("/path/to/audio.mp3", "rb") as audio:
    transcript = client.audio.transcriptions.create(
        model="whisper-tiny",
        file=audio,
    )

print(transcript.text)
```

```json Response theme={null}
{
  "text": "the quick brown fox jumps over the lazy dog."
}
```

See [Transcriptions](https://docs.herogpu.com/api-reference/audio-transcriptions.md) for all fields, response formats, and limits.

## chatterbox-nano

> Resemble AI's Chatterbox Nano is a 110M-parameter English text-to-speech model built for fast, low-cost speech generation. It speaks your text in a built-in voice, or clones a speaker from a short reference clip you upload with the request, and inline tags such as `[laugh]`, `[chuckle]`, and `[cough]` add paralinguistic cues. Its compact size keeps generation cheap enough for high-volume work: voice agents, conversational AI, gaming, accessibility, audiobooks, and content creation.

**References:** [Model card](https://huggingface.co/ResembleAI/chatterbox-nano) • [License](https://github.com/resemble-ai/chatterbox/blob/master/LICENSE) • [Terms](https://zerogpu.ai/terms) • [Privacy](https://zerogpu.ai/privacy-policy)

```bash cURL (voice cloning) theme={null}
curl --location 'https://api.herogpu.com/v1/audio/speech' \
  --header 'x-api-key: YOUR_API_KEY' \
  --form 'model="chatterbox-nano"' \
  --form 'input="Testing model to generate voice. Hey how are you today?"' \
  --form 'response_format="mp3"' \
  --form 'seed="1234"' \
  --form 'voice_sample=@"/path/to/file"' \
  --output speech.mp3
```

```python OpenAI SDK theme={null}
from openai import OpenAI

client = OpenAI(
    base_url="https://api.herogpu.com/v1",
    api_key="YOUR_API_KEY",  # sent as Authorization: Bearer
)

with client.audio.speech.with_streaming_response.create(
    model="chatterbox-nano",
    voice="alloy",  # OpenAI voice names map to the built-in voice
    input="Hello from herogpu.",
    response_format="mp3",
) as response:
    response.stream_to_file("speech.mp3")
```

Response from a test run of the SDK request above:

```text Response theme={null}
HTTP/2 200
content-type: audio/mpeg
x-audio-duration-seconds: 1.76

<binary MP3 audio>
```

To clone a voice, attach a 6 to 30 second reference clip as `voice_sample` in a `multipart/form-data` request, as in the cURL example. The OpenAI SDKs send JSON and can't attach a clip. See [Speech](https://docs.herogpu.com/api-reference/audio-speech.md) for all fields and limits.

## chatterbox

> Resemble AI's Chatterbox is the original 0.5B-parameter ChatterboxTTS model, the larger sibling of chatterbox-nano. It speaks your text in a built-in voice, or clones a speaker zero-shot from a short reference clip you upload with the request, and inline tags such as `[dramatic]`, `[sarcastic]`, and `[happy]` steer delivery. It runs on the same `POST /v1/audio/speech` endpoint, and its generated audio is billed per second, rounded up to the next whole second per request, rather than per whole minute.

**References:** [Model card](https://huggingface.co/ResembleAI/chatterbox) • [License](https://github.com/resemble-ai/chatterbox/blob/master/LICENSE) • [Terms](https://zerogpu.ai/terms) • [Privacy](https://zerogpu.ai/privacy-policy)

```bash cURL theme={null}
curl --location 'https://api.herogpu.com/v1/audio/speech' \
  --header 'content-type: application/json' \
  --header 'x-api-key: YOUR_API_KEY' \
  --data '{
  "model": "chatterbox",
  "input": "[dramatic] Oh, another AI model that needs eight GPUs just to say hello? [sarcastic] How adorable. [shush] Do not tell anyone... [happy] I run on the edge.",
  "voice": "default",
  "response_format": "mp3",
  "seed": 42,
  "temperature": 0.8,
  "top_p": 0.95,
  "repetition_penalty": 1.2
}' \
  --output speech.mp3
```

```bash cURL (voice cloning) theme={null}
curl --location 'https://api.herogpu.com/v1/audio/speech' \
  --header 'x-api-key: YOUR_API_KEY' \
  --form 'model="chatterbox"' \
  --form 'input="Testing model to generate voice. Hey how are you today?"' \
  --form 'response_format="mp3"' \
  --form 'seed="42"' \
  --form 'voice_sample=@"/path/to/file"' \
  --output speech.mp3
```

```python OpenAI SDK theme={null}
from openai import OpenAI

client = OpenAI(
    base_url="https://api.herogpu.com/v1",
    api_key="YOUR_API_KEY",  # sent as Authorization: Bearer
)

with client.audio.speech.with_streaming_response.create(
    model="chatterbox",
    voice="alloy",  # OpenAI voice names map to the built-in voice
    input="Hello from herogpu.",
    response_format="mp3",
) as response:
    response.stream_to_file("speech.mp3")
```

The response is the audio file itself, with a content type matching `response_format` and the billed length in the `x-audio-duration-seconds` header. To clone a voice, attach a 6 to 30 second reference clip as `voice_sample` in a `multipart/form-data` request, as in the second cURL example. The OpenAI SDKs send JSON and can't attach a clip. See [Speech](https://docs.herogpu.com/api-reference/audio-speech.md) for all fields and limits.


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