Skip to main content
Semantic Kernel’s OpenAI audio connectors accept a pre-built client, so a base URL override is enough.

Python

Notes: the Python voice field only accepts OpenAI voice names, which Lokutor maps onto its voices (alloy and the others map onto F1-F5 / M1-M5). Audio is always WAV and STT takes WAV only. Verified against the live API (TTS to STT round trip) with the semantic-kernel Python package. Runnable copy: lokutor-ai/openai-compatible-examples.

.NET

OpenAITextToAudioService and OpenAIAudioToTextService take an OpenAIClient; build it with new OpenAIClientOptions { Endpoint = new Uri("https://api.lokutor.com/v1") } and your Lokutor key. Not run: the .NET connectors were not tested.