Package org.springframework.ai.openai.audio.speech


package org.springframework.ai.openai.audio.speech
  • Class
    Description
    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 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.