Interface ImageServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface ImageServiceAsync.WithRawResponse
A view of ImageServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
createVariation(ImageCreateVariationParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /images/variations
, but is otherwise the same as ImageServiceAsync.createVariation.abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
createVariation(ImageCreateVariationParams params)
Returns a raw HTTP response for post /images/variations
, but is otherwise the same as ImageServiceAsync.createVariation.abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
edit(ImageEditParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /images/edits
, but is otherwise the same as ImageServiceAsync.edit.abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
edit(ImageEditParams params)
Returns a raw HTTP response for post /images/edits
, but is otherwise the same as ImageServiceAsync.edit.abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
generate(ImageGenerateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /images/generations
, but is otherwise the same as ImageServiceAsync.generate.abstract CompletableFuture<HttpResponseFor<ImagesResponse>>
generate(ImageGenerateParams params)
Returns a raw HTTP response for post /images/generations
, but is otherwise the same as ImageServiceAsync.generate.-
-
Method Detail
-
createVariation
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> createVariation(ImageCreateVariationParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /images/variations
, but is otherwise the same as ImageServiceAsync.createVariation.
-
createVariation
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> createVariation(ImageCreateVariationParams params)
Returns a raw HTTP response for
post /images/variations
, but is otherwise the same as ImageServiceAsync.createVariation.
-
edit
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> edit(ImageEditParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /images/edits
, but is otherwise the same as ImageServiceAsync.edit.
-
edit
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> edit(ImageEditParams params)
Returns a raw HTTP response for
post /images/edits
, but is otherwise the same as ImageServiceAsync.edit.
-
generate
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> generate(ImageGenerateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /images/generations
, but is otherwise the same as ImageServiceAsync.generate.
-
generate
abstract CompletableFuture<HttpResponseFor<ImagesResponse>> generate(ImageGenerateParams params)
Returns a raw HTTP response for
post /images/generations
, but is otherwise the same as ImageServiceAsync.generate.
-
-
-
-