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