Package com.openai.services.async.audio
Interface SpeechServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface SpeechServiceAsync.WithRawResponse
A view of SpeechServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<HttpResponse>
create(SpeechCreateParams params)
Returns a raw HTTP response for post /audio/speech
, but is otherwise the same as SpeechServiceAsync.create.abstract CompletableFuture<HttpResponse>
create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
create
@MustBeClosed() CompletableFuture<HttpResponse> create(SpeechCreateParams params)
Returns a raw HTTP response for
post /audio/speech
, but is otherwise the same as SpeechServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponse> create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
-
-