Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/edits.ts>Edits#create

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Edits.prototype.create
Deprecated
Deprecated

The Edits API is deprecated; please use Chat Completions instead.

https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api

import { Edits } from "https://deno.land/x/openai@v4.24.3/resources/edits.ts";

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

Parameters

optional
options: Core.RequestOptions

Returns

Core.APIPromise<Edit>