From 9d1680ca48b99ac352d15a494b0139cbf3a1330f Mon Sep 17 00:00:00 2001 From: Stuart Varrall Date: Fri, 24 Nov 2023 23:06:51 +1000 Subject: [PATCH] Update README.md fixed typos in examples for ImageEditsQuery and ImageVariationsQuery --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d42bb4b..7d9564d4 100644 --- a/README.md +++ b/README.md @@ -472,7 +472,7 @@ Uses the ImagesResult response similarly to ImagesQuery. ```swift let data = image.pngData() -let query = ImagesEditQuery(image: data, fileName: "whitecat.png", prompt: "White cat with heterochromia sitting on the kitchen table with a bowl of food", n: 1, size: "1024x1024") +let query = ImageEditQuery(image: data, fileName: "whitecat.png", prompt: "White cat with heterochromia sitting on the kitchen table with a bowl of food", n: 1, size: "1024x1024") openAI.imageEdits(query: query) { result in //Handle result here } @@ -506,7 +506,7 @@ Uses the ImagesResult response similarly to ImagesQuery. ```swift let data = image.pngData() -let query = ImagesVariationQuery(image: data, fileName: "whitecat.png", n: 1, size: "1024x1024") +let query = ImageVariationQuery(image: data, fileName: "whitecat.png", n: 1, size: "1024x1024") openAI.imageVariations(query: query) { result in //Handle result here }