---
title: "How to Use the AI Text Generator of Nexter Blocks?"
url: https://nexterwp.com/docs/ai-text-generator/
date: 2026-01-22
modified: 2026-09-28
lang: en
author: "Aditya Sharma"
description: "Writing placeholder copy twice — once to see the layout, once for real — is one of the slower parts of building a page. The AI text generator writes directly..."
image: https://nexterwp.com/wp-content/uploads/2026/01/How-to-Use-the-AI-Text-Generator-of-Nexter-Blocks-1024x538.jpg
word_count: 746
---

# How to Use the AI Text Generator of Nexter Blocks?

## Key Takeaways

- Nexter Blocks generates AI text directly inside the Gutenberg editor, and it works in almost all text-related blocks such as Heading and Accordion.
- Manage API Keys sits under Nexter > Extra Options > AI Integration, and it connects Nexter Blocks with OpenAI or Google Gemini API.
- OpenAI text generation is free to use in Nexter Blocks, but it requires an OpenAI account and an API key created from the OpenAI platform.
- Nexter Blocks lets users set Max Text Tokens per Prompt, choose a Text Model, and add Custom Context with business and target audience details.
- Generate With AI supports editing existing Gutenberg text with Fix Grammar, Make Longer, Make Shorter, Rephrase, Summarize, and Translate, plus repeater-based blocks like Testimonials and Team Member.

Writing placeholder copy twice — once to see the layout, once for real — is one of the slower parts of building a page. The AI text generator writes directly into the block you are editing.

It connects to your own OpenAI or Google Gemini account. Nexter does not provide the model or the credit; you bring the key and pay the provider.

## Before You Start

- **An API key of your own**, from OpenAI or Google Gemini.

- **You have to be an administrator.** Measured across four roles: the AI endpoints require the `manage_options` capability, which administrators have and editors, authors and subscribers do not. An editor cannot generate AI content.

- **The AI integration switched on** in Nexter's settings before anything appears in the editor.

## Required Setup

![](https://nexterwp.com/wp-content/uploads/2026/01/enable-manage-api-keys.webp)

![](https://nexterwp.com/wp-content/uploads/2026/01/api-key-popup.webp)

Turn the AI integration on, then add the key for whichever provider you are using.

![](https://nexterwp.com/wp-content/uploads/2026/01/open-ai-api-key-1.webp)

![](https://nexterwp.com/wp-content/uploads/2026/01/open-ai-api-key-2.webp)

![](https://nexterwp.com/wp-content/uploads/2026/01/open-ai-api-key-3.webp)

## How Your Key Is Stored

- **Your API key is stored encrypted.** Measured: the settings are written as an encrypted blob and decrypted when used, so the key is not sitting in the options table in readable form.

- **You have to be an administrator.** Measured across four roles: the AI endpoints require the `manage_options` capability, which administrators have and editors, authors and subscribers do not. An editor cannot generate AI content.

- **It costs your visitors nothing.** Measured: the AI layer is loaded only inside wp-admin or on its own REST endpoints, so no AI code runs on a front-end page view.

## Adding Context

A business description and a target audience can be saved once and applied to every generation, so you do not have to repeat them in each prompt.

![Nexter Blocks AI: the API Key dialog on the OpenAI tab with the key field, Verify button, Text and Image Generation switches and the model settings](https://nexterwp.com/wp-content/uploads/2026/09/ai-api-key-openai.webp)

- **Both are stored with your other AI settings** and sent with requests.

- **They are a starting point, not a style guide.** They shape tone; they will not stop the model producing something you would not have written.

## Generating Text

![Nexter Blocks AI: the Custom Context dialog with the About Business and About Target Audience fields](https://nexterwp.com/wp-content/uploads/2026/09/ai-custom-context.webp)

![Nexter Blocks AI: the AI Content Generator panel with the Prompt field, Suggested Prompts, Creativity Level and Tone](https://nexterwp.com/wp-content/uploads/2026/09/ai-text-generator-panel.webp)

- **If you enable both providers, Gemini is used.** Measured from the selection logic: Gemini is checked first, and OpenAI is only reached when Gemini is off or has no key. Enabling both does not load-balance or fall back.

- **The default models are recent ones** — measured as `gpt-5.2` for OpenAI and `gemini-3-pro-preview` for Gemini — and both are selectable.

- **A maximum token setting caps each response**, which is also what caps your cost per generation.

- **Requests go directly from your site to the provider.** Measured destinations: OpenAI's chat completions endpoint and Google's generative language endpoint. Nothing is routed through Nexter.

## Modifying Generated Text

![](https://nexterwp.com/wp-content/uploads/2026/01/ai-text-modify-settings.webp)

Generated text can be regenerated or adjusted without starting again.

## Repeater Blocks And Code

Repeater-based blocks can be filled item by item, and the code block can generate code as well as prose.

![](https://nexterwp.com/wp-content/uploads/2026/01/google-gemini-api-key-1.webp)

![](https://nexterwp.com/wp-content/uploads/2026/01/google-gemini-api-key-2.webp)

![](https://nexterwp.com/wp-content/uploads/2026/01/google-gemini-api-key-3.webp)

## Limitations

- **What this page verified, and what it did not.** Setup, permissions, storage, provider selection and the exact failure messages were measured on a site with no API key. Generation itself was not exercised, so nothing here describes output quality, token cost or rate limits.

- **You pay the provider directly.** Every generation is billed to your own account, and nothing in the editor shows a running cost.

- **Enabling both providers does not give you a fallback.** See the Gemini precedence above; if Gemini's key is wrong, it fails rather than trying OpenAI.

- **Administrators only.** A site where editors write the content cannot use this without giving them administrator access, which is usually the wrong trade.

- **Generated text is a first draft.** It does not know your product, your claims or your legal constraints, and it will state things confidently that are not true.

- **Model names change.** The defaults measured here are current to this version; providers retire models on their own schedule.

## Troubleshooting

### The AI options are not in the editor

The integration is not enabled in Nexter's settings, or you are not logged in as an administrator.

### Generation fails immediately

The message you get with nothing configured is `No AI service is enabled or API key is missing` for text and prompt enhancement, and `Settings not found` for image generation — two different messages for the same cause, so do not read the second as a separate fault.

### Responses are being cut off

The maximum token setting is capping them. Raise it, and expect the cost per generation to rise with it.

### I set an OpenAI key but Gemini is being used

Gemini takes precedence when both are enabled. Switch Gemini off to use OpenAI.

![Nexter Blocks AI: the API Key dialog on the Google Gemini tab with the key field, Verify button and model settings](https://nexterwp.com/wp-content/uploads/2026/09/ai-api-key-gemini.webp)

## Related Docs

- [AI image generator](https://nexterwp.com/docs/ai-image-generator/)

- [Generate price-optimized AI images](https://nexterwp.com/docs/generate-price-optimized-ai-images/)

- [Cross-domain copy paste](https://nexterwp.com/docs/add-cross-domain-copy-paste-for-free-in-wordpress/)

- [Advanced tab settings](https://nexterwp.com/docs/use-advanced-tab-in-nexter-blocks/)