Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,20 @@ tts:
voices: ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
```

#### OpenAI-compatible endpoints

The optional `url` field points the `openai` provider at any service that implements the OpenAI speech API. Set it to the service's full speech endpoint and configure the model and voices that service documents. For example, [Gandr](https://gandr.ai) accepts `tts-1` as the model and either the OpenAI voice names, which map onto its own voices, or its native voice ids:

**Example:**
```yaml filename="speech / tts / openai (custom url)"
tts:
openai:
url: "https://tts.gandr.ai/v1/audio/speech"
apiKey: "${GANDR_API_KEY}"
model: "tts-1"
voices: ["gandr-mia", "gandr-ava", "gandr-jenny", "gandr-dane", "gandr-leo", "gandr-lewis"]
```

### azureOpenAI

Azure OpenAI TTS configuration.
Expand Down