Title: MartinCV AI Blog Post
Author: MartinCV
Published: <strong>14 Dicembre 2022</strong>
Last modified: 30 Luglio 2026

---

Ricerca i plugin

![](https://ps.w.org/martincv-openai-blog-post/assets/banner-772x250.png?rev=2834084)

![](https://ps.w.org/martincv-openai-blog-post/assets/icon-256x256.png?rev=2834084)

# MartinCV AI Blog Post

 Di [MartinCV](https://profiles.wordpress.org/martin7ba/)

[Scarica](https://downloads.wordpress.org/plugin/martincv-openai-blog-post.2.0.0.zip)

 * [Dettagli](https://it.wordpress.org/plugins/martincv-openai-blog-post/#description)
 * [Recensioni](https://it.wordpress.org/plugins/martincv-openai-blog-post/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/martincv-openai-blog-post/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/martincv-openai-blog-post/#developers)

 [Supporto](https://wordpress.org/support/plugin/martincv-openai-blog-post/)

## Descrizione

Type a post title, click **Generate Post**, and get a complete, well-structured 
blog post inserted straight into your editor — with AI-generated images saved to
your Media Library. Version 2.0 turns this plugin from an OpenAI-only tool into 
a **full multi-provider AI writing assistant**:

 * **OpenAI** — the GPT-5.6 family (Sol, Terra, Luna) plus still-supported classics
   like GPT-4.1, GPT-4o, and GPT-3.5 Turbo, with GPT Image 2 and DALL-E 3 for images.
 * **Anthropic Claude** — Claude Opus 5, Sonnet 5, and Haiku 4.5, plus legacy Claude
   4.x models.
 * **Perplexity** — the Sonar family, with an optional **“Sources” section** built
   from real web citations.
 * **Google Gemini** — Gemini 3.6/3.5 Flash for text, and the **Nano Banana** image
   family (Nano Banana 2, Nano Banana Pro) for stunning illustrations.

Works with the Block Editor (Gutenberg) and the Classic editor, on posts and pages.

#### ✍️ Writing, your way

 * Set the number of section headings, and choose whether to include an introduction
   and a conclusion — the post follows your structure exactly.
 * Pick a **default provider and model** once in Settings  AI Blog Post, then override
   either per post right from the editor sidebar.
 * If a post ever hits your token limit, you get a clear notice instead of a silently
   cut-off article.

#### 🖼️ Images that behave

 * Generate up to 4 images per post with Google Nano Banana or OpenAI.
 * Images are **saved to your Media Library** with proper alt text — no expiring
   external URLs, no broken posts a day later.
 * **Choose where images go:** spread between sections, at the beginning, after 
   the first paragraph, **after each heading**, at the end — or **pick the exact
   paragraph for each image** with the custom placement mode.
 * One click sets the first image as the **featured image**, correctly synced with
   the editor.

#### 🚀 Future-proof models

Model dropdowns are curated (latest + still-supported legacy models), and every 
provider also has a **Custom Model ID** field — when a provider ships a brand-new
model tomorrow, paste its ID and use it immediately. No plugin update required.

#### 🛠️ Built for developers

Clean provider abstraction with filters for everything: `martincv_openai_post_providers`(
register your own provider), `martincv_openai_post_models`, `martincv_openai_post_system_prompt`,`
martincv_openai_post_user_prompt`, `martincv_openai_post_image_prompt`, `martincv_openai_post_request_timeout`,
and `martincv_openai_post_post_types`.

## Screenshot

[⌊The Settings screen for the plugin.⌉⌊The Settings screen for the plugin.⌉[

The Settings screen for the plugin.

[⌊The AI options in the Add / Edit post screen.⌉⌊The AI options in the Add / Edit
post screen.⌉[

The AI options in the Add / Edit post screen.

[⌊Generated Post⌉⌊Generated Post⌉[

Generated Post

## Installazione

#### Installing:

 1. Download the package.
 2. Extract it to the “plugins” folder of your WordPress directory.
 3. In the Admin Panel, go to “Plugins” and activate it.
 4. Go to Settings  AI Blog Post, add the API key(s) for the provider(s) you want, 
    and pick your defaults.

#### Upgrading from 1.x:

Your existing OpenAI API key and settings are migrated automatically the first time
you visit the admin after updating.

#### Uninstalling:

 1. In the Admin Panel, go to “Plugins”, deactivate the plugin and click “Delete”. 
    All plugin settings are removed on delete.

#### Usage:

Create a Post or Page and enter a title — the title is the topic. In the sidebar“
AI Blog Post” box pick a provider and model (or keep your defaults), set the structure
and image options, and click **Generate Post**. The content is inserted into the
editor as regular blocks (or classic-editor content), and generated images land 
in your Media Library.

If you need any additional help feel free to contact me at [martin@martincv.com](https://it.wordpress.org/plugins/martincv-openai-blog-post/martin@martincv.com?output_format=md).

## FAQ

### Which API keys do I need?

Only the key(s) for the provider(s) you want to use. Each key field in Settings  
AI Blog Post links directly to that provider’s key page.

### I want to use a model that is not in the dropdown.

Enter its exact model ID in the “Custom Model ID” field — it overrides the dropdown.
This keeps the plugin working with models released after this version.

### Can I control where the generated images are placed?

Yes. Choose a placement in the editor sidebar: spread between sections, at the beginning,
after the first paragraph, after each heading, at the end — or “Custom”, which lets
you type the exact paragraph number for each image.

### The generation request times out. Why?

A full post is a single AI request that can take a minute or two depending on the
provider, model, and length. If your host enforces a short PHP/proxy timeout, lower
Max Tokens or use the `martincv_openai_post_request_timeout` filter.

### The text gets cut off before finishing.

The plugin will tell you when that happens — increase Max Tokens in Settings  AI
Blog Post (default 2048).

## Recensioni

![](https://secure.gravatar.com/avatar/fca418a834057a4203c6856e316ca4d7c71fa1b9076977e08e5c4d5a9cc9aec6?
s=60&d=retro&r=g)

### 󠀁[Glad to see OpenAI here.](https://wordpress.org/support/topic/glad-to-see-openai-here/)󠁿

 [Terry L.](https://profiles.wordpress.org/terrylin/) 16 Dicembre 2022 1 risposta

I haven't used this plugin yet. But I am glad to see the popular and mind-blowing
OpenAI can be used with WordPress.

![](https://secure.gravatar.com/avatar/31c2ca99e649c856c4623ace33abf3de6b8d23ef173f2db1f1354a4f2716911d?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-8589/)󠁿

 [MartinCV](https://profiles.wordpress.org/martin7ba/) 14 Dicembre 2022

It generates the post along with image

 [ Leggi tutte le recensioni di 2 ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/)

## Contributi e sviluppo

“MartinCV AI Blog Post” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ MartinCV ](https://profiles.wordpress.org/martin7ba/)

[Traduci “MartinCV AI Blog Post” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/martincv-openai-blog-post)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/martincv-openai-blog-post/)
segui il [repository SVN](https://plugins.svn.wordpress.org/martincv-openai-blog-post/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/martincv-openai-blog-post/)
tramite [RSS](https://plugins.trac.wordpress.org/log/martincv-openai-blog-post/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

_Release Date – 30 July 2026_

**Major update: one plugin, four AI providers**

 * New providers: **Anthropic Claude**, **Perplexity**, and **Google Gemini** join
   OpenAI.
 * Pick a default provider and model in Settings; override both per post in the 
   editor sidebar.
 * Curated model lists with the latest models (GPT-5.6, Claude Opus 5, Gemini 3.6,
   Sonar) plus still-supported legacy favorites (GPT-4o, GPT-4.1, GPT-3.5 Turbo,
   Claude 4.x), and a **Custom Model ID** field for anything newer.
 * **Image generation via Google Nano Banana** (Gemini image models) or OpenAI GPT
   Image 2 — images are saved to the Media Library with alt text instead of hotlinking
   expiring URLs.
 * **Image placement control**: spread between sections, at the beginning, after
   the first paragraph, after each heading, at the end, or a custom per-image paragraph
   position.
 * Option to set the first generated image as the **featured image**, properly synced
   with both editors.
 * **Perplexity citations**: optionally append a “Sources” section with real links.
 * **Truncation detection**: a clear notice when a post hits the Max Tokens limit;
   migrated 1.x limits are raised to a safe minimum.
 * Faster and more reliable: one AI request per post (previously three), cleaner
   content via native block conversion.
 * Fixed from 1.1: generated text was always empty (response parsed with the legacy
   completions shape); the Max Length setting was never applied; zero values (e.
   g. temperature 0) reset to defaults.
 * Security hardening: capability checks on generation, strict input sanitization,`
   manage_options` for the settings page, real HTTP status codes on errors.
 * Developer filters for providers, models, prompts, timeouts, and post types; settings
   are cleaned up on uninstall.

#### 1.1

 * Switched to gpt-3.5-turbo via Chat Completions.

#### 1.0

_Release Date – 14 December 2022_

 * Public release of ‘MartinCV OpenAi Post’

## Meta

 *  Versione **2.0.0**
 *  Ultimo aggiornamento **3 mesi fa**
 *  Installazioni attive **10+**
 *  Versione WordPress ** 5.9 o superiore **
 *  Testato fino alla versione **7.1.3**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/martincv-openai-blog-post/)
 * Tag
 * [AI](https://it.wordpress.org/plugins/tags/ai/)[Claude](https://it.wordpress.org/plugins/tags/claude/)
   [Gemini](https://it.wordpress.org/plugins/tags/gemini/)[openai](https://it.wordpress.org/plugins/tags/openai/)
   [post generator](https://it.wordpress.org/plugins/tags/post-generator/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/martincv-openai-blog-post/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  2 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/?filter=1)

[La tua recensione](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/martincv-openai-blog-post/reviews/)

## Collaboratori

 *   [ MartinCV ](https://profiles.wordpress.org/martin7ba/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/martincv-openai-blog-post/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://www.martincv.com/whp-donate)