Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method OpenAI.prototype.createImageEdit
import { OpenAI } from "https://deno.land/x/commit_genius@v0.1.0/deps.ts";

Creates an edited or extended image given an original image and a prompt.

https://platform.openai.com/docs/api-reference/images/create-edit

Parameters

options: ImageEditOptions

Returns

Promise<Image>