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