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

Creates a new edit for the provided input, instruction, and parameters.

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

Parameters

options: EditOptions

Returns

Promise<Edit>