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. HttpResponse
create(SpeechCreateParams params)
Generates audio from the input text. abstract HttpResponse
create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract SpeechService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
@MustBeClosed() HttpResponse create(SpeechCreateParams params)
Generates audio from the input text.
-
create
@MustBeClosed() abstract HttpResponse create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
-
-