-
The
SpeechModel
interface provides a way to interact with the OpenAI
Text-to-Speech (TTS) API.
The
SpeechPrompt
class represents a request to the OpenAI Text-to-Speech (TTS)
API.
Creates a new instance of SpeechResponse with the given speech result.
The
StreamingSpeechModel
interface provides a way to interact with the OpenAI
Text-to-Speech (TTS) API using a streaming approach, allowing you to receive the
generated audio in a real-time fashion.
-
The Speech class represents the result of speech synthesis from an AI model.
The
SpeechMessage
class represents a single text message to be converted to
speech by the OpenAI TTS API.
The
SpeechPrompt
class represents a request to the OpenAI Text-to-Speech (TTS)
API.
Creates a new instance of SpeechResponse with the given speech result.