Class OpenAiTextToSpeechResponse
java.lang.Object
dev.langchain4j.model.openai.internal.audio.texttospeech.OpenAiTextToSpeechResponse
Represents the response of the OpenAI speech API.
The body is raw binary audio (not JSON), so this is built from the raw HTTP response
rather than deserialized;
contentType carries the audio format reported by the API.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenAiTextToSpeechResponse
-
-
Method Details
-
audio
public byte[] audio() -
contentType
-
from
-