Class OpenAiTextToSpeechModel

java.lang.Object
dev.langchain4j.model.openai.OpenAiTextToSpeechModel
All Implemented Interfaces:
TextToSpeechModel

@Experimental public class OpenAiTextToSpeechModel extends Object implements TextToSpeechModel
Represents an OpenAI text-to-speech model with a speech generation interface. The supported models are tts-1, tts-1-hd, gpt-4o-mini-tts, and gpt-4o-mini-tts-2025-12-15.
You can find a description of the parameters here.
Since:
1.18.0