OpenAI Text Generation

Adds an AI Generate button to the Lexical editor that inserts OpenAI-written text

Community 2 23/wk MIT v0.2.0

Installation

pnpm add payloadcms-openai-textgen

About

OpenAI Text Generation adds an AI Generate button to the rich text toolbar in the Payload admin. Editors type a prompt into a drawer, and the answer is inserted into the document as real headings, lists and paragraphs instead of raw HTML. It is useful for first drafts of articles, product copy or summaries without leaving the editing screen.

Requests pass through the Payload server to OpenAI, so the API key stays out of the browser. Generation uses an OpenAI account and is billed by OpenAI per request.

Package info

Package name
payloadcms-openai-textgen
Latest version
0.2.0
Unpacked size
20 kB
License
MIT
Weekly downloads
23
Last publish
Apr 14, 2026

Similar plugins

More in AI

Visual drag-and-drop page builder for Payload collections with live canvas editing

Chat agent that composes and edits Payload pages from your block library

Translates default-locale content into secondary locales with OpenAI or a custom provider

Translates localized content fields with an AI provider from the admin panel

Works out EU VAT on Payload orders, with reverse charge and OSS totals

Writes product titles, descriptions and translations with Claude, ChatGPT, Gemini or Kimi