Back
create-image-edit (clj)
(source)function
(create-image-edit params)
(create-image-edit params options)
Creates an edited or extended image given an original image and a prompt.
Example:
```
(create-image-edit {:image (clojure.java.io/file "path/to/otter.png")
:mask (clojure.java.io/file "path/to/mask.png")
:prompt "A cute baby sea otter wearing a beret"
:n 2
:size "1024x1024"})
```
Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/images/create-edit)