Skip to content

Commit

Permalink
Merge pull request #131 from fluidpixel/chore/readme-example-typo
Browse files Browse the repository at this point in the history
chore: fixed typo in examples for image edits/variations
  • Loading branch information
ingvarus-bc authored Nov 27, 2023
2 parents 3ab5c92 + 9d1680c commit 1b1765b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 1b1765b

Please sign in to comment.