We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c83caf commit 641fdd0Copy full SHA for 641fdd0
openai-java-example/src/main/java/com/openai/example/ImageEditingExample.java
@@ -26,7 +26,9 @@ public static void main(String[] args) {
26
ImageEditParams editParams = ImageEditParams.builder()
27
.responseFormat(ImageEditParams.ResponseFormat.URL)
28
.image(MultipartField.<Image>builder()
29
- .value(Image.ofInputStream(alohaStream))
+ .value(
30
+ // Or use `Image.ofInputStreams` and pass a `List` to edit multiple images.
31
+ Image.ofInputStream(alohaStream))
32
.contentType("image/png")
33
.filename(alohaFilename)
34
.build())
0 commit comments