Skip to main content
Module

x/openai/mod.ts>OpenAI#createImageEdit

Unofficial Deno wrapper for the Open Ai api
Extremely Popular
Go to Latest
method OpenAI.prototype.createImageEdit
import { OpenAI } from "https://deno.land/x/openai@1.4.3/mod.ts";

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

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

Returns

Promise<Image>