Class SpeechPrompt

java.lang.Object
org.springframework.ai.openai.audio.speech.SpeechPrompt
All Implemented Interfaces:
ModelRequest<SpeechMessage>

public class SpeechPrompt extends Object implements ModelRequest<SpeechMessage>
The SpeechPrompt class represents a request to the OpenAI Text-to-Speech (TTS) API. It contains a list of SpeechMessage objects, each representing a piece of text to be converted to speech.
Since:
1.0.0-M1
Author:
Ahmed Yousri