# AI Image Generator for WordPress

> Generate featured images and illustrations from a sentence, or edit an image you already have (“remove the background”, “make it evening”), with OpenAI or…

TW-AI-13 AI


Generate featured images and illustrations from a sentence, or edit an image you already have (“remove the background”, “make it evening”), with OpenAI or Google Gemini. Results go straight into the media library, and posts can get a featured image automatically when published.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

AI Image Generator

**Part number**
: TW-AI-13
**Section**
: [AI](https://togglework.app/features/ai/)
**Settings**
: 7 (2 on/off)
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Many posts go out with no featured image or a generic stock photo. Generating an image from a sentence, in a consistent house style, gives every post a picture that fits, and editing an existing image (“remove the background”, “make it evening”) saves a trip to an image editor.

### What it does

- Generates images from a sentence with OpenAI or Google Gemini.
- “Edit with AI” on any image in the Media Library; the edit is saved as a new copy.
- A house style added to every prompt, and a default shape.
- Optionally creates a featured image when a post is published without one.

![AI Image Generator settings screen in the Toggleworks WordPress plugin, showing Image provider, OpenAI model, Gemini model, Default shape](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/ai-image-generator.webp?v=1795524126)

The AI Image Generator screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Save an OpenAI or Gemini key in [AI Connection](https://togglework.app/features/ai/connection/).
2. Write a house style, for example “flat illustration, soft pastel palette, no text”.
3. Generate a few images and adjust the style until they look right.

## What you can set

Switch AI Image Generator on in Toggleworks → AI, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Image provider
- OpenAI model
- Gemini model
- Default shape
- House style
- Edit images with AI from the media library
- Create a featured image when a post is published without one

## Good to know

- Image models still struggle with text in images. Keep “no text” in the house style.
- Image generation is priced per image. Set a budget in [AI Usage & Costs](https://togglework.app/features/ai/usage/).

## Comes with 187 more parts

AI Image Generator is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 22 AI parts](https://togglework.app/features/ai/)

### People also look for it as

- image generation
- ai image
- featured image
- dall-e
- gpt-image
- gemini image
- illustration
- image editing
- edit image
- remove background
- nano banana

## Often switched on with it

- [AI Internal Links & Image Finder](https://togglework.app/features/ai/content-helpers/) — TW-AI-10 · Suggest internal links to your other pages (and insert them in one click), and find a free, openly licensed featured image for… · 2 settings
- [Auto Featured Image](https://togglework.app/features/content/auto-featured-image/) — TW-CNT-01 · Posts saved without a featured image get the first image from their content, or a fallback image you choose. Fill in existing… · 2 settings
- [Admin Columns](https://togglework.app/features/interface/admin-columns/) — TW-ADM-02 · Add featured image, ID, last modified and word count columns to post lists, and signup / last login columns to the users list. · 8 settings
- [Hardening](https://togglework.app/features/security/hardening/) — TW-SEC-07 · Switch off XML-RPC and the file editor, hide the WordPress version, stop username discovery, and limit the REST API for visitors. · 10 settings
- [Image Optimizer](https://togglework.app/features/performance/image-optimizer/) — TW-PRF-08 · Save uploaded JPEG and PNG images as WebP or AVIF, set the compression quality and downscale huge uploads. Uses your server's… · 5 settings
- [Image Service (on-the-fly AVIF)](https://togglework.app/features/performance/image-service/) — TW-PRF-09 · Serve every image at the exact width the screen needs, as AVIF or WebP when the browser supports it — generated on first request… · 3 settings

## Questions

**Is AI Image Generator included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, AI Image Generator among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does AI Image Generator slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on AI Image Generator only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try AI Image Generator before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/ai/image-generator/
