Class TextToSpeechAPI
java.lang.Object
net.andrewcpu.elevenlabs.api.ElevenLabsAPI
net.andrewcpu.elevenlabs.api.impl.TextToSpeechAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateTextToSpeech(String voiceId, String text, String modelId, GeneratedAudioOutputFormat outputFormat, StreamLatencyOptimization streamLatencyOptimization, VoiceSettings voiceSettings) generateTextToSpeech(String voiceId, String text, String modelId, VoiceSettings voiceSettings) generateTextToSpeechStreamed(String voiceId, String text, String modelId, GeneratedAudioOutputFormat outputFormat, StreamLatencyOptimization streamLatencyOptimization, VoiceSettings voiceSettings) generateTextToSpeechStreamed(String voiceId, String text, String modelId, VoiceSettings voiceSettings) Methods inherited from class net.andrewcpu.elevenlabs.api.ElevenLabsAPI
sendRequest
-
Constructor Details
-
TextToSpeechAPI
public TextToSpeechAPI()
-
-
Method Details
-
generateTextToSpeech
public File generateTextToSpeech(String voiceId, String text, String modelId, VoiceSettings voiceSettings) -
generateTextToSpeech
public File generateTextToSpeech(String voiceId, String text, String modelId, GeneratedAudioOutputFormat outputFormat, StreamLatencyOptimization streamLatencyOptimization, VoiceSettings voiceSettings) -
generateTextToSpeechStreamed
public InputStream generateTextToSpeechStreamed(String voiceId, String text, String modelId, GeneratedAudioOutputFormat outputFormat, StreamLatencyOptimization streamLatencyOptimization, VoiceSettings voiceSettings) -
generateTextToSpeechStreamed
public InputStream generateTextToSpeechStreamed(String voiceId, String text, String modelId, VoiceSettings voiceSettings)
-