Interface SpeechService
-
- All Implemented Interfaces:
public interface SpeechService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSpeechService.WithRawResponseA view of SpeechService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract SpeechService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract HttpResponsecreate(AudioSpeechCreateParams params, RequestOptions requestOptions)Generates audio from the input text. abstract HttpResponsecreate(AudioSpeechCreateParams params)Generates audio from the input text. -
-
Method Detail
-
withRawResponse
abstract SpeechService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
abstract HttpResponse create(AudioSpeechCreateParams params, RequestOptions requestOptions)
Generates audio from the input text.
-
create
abstract HttpResponse create(AudioSpeechCreateParams params)
Generates audio from the input text.
-
-
-
-