Skip to content

AI image generation

Articles without a featured image rank worse and get fewer social shares. SeoFreshUp can generate featured images automatically during a rewrite — and inline “info-card” images from external service URLs.

Two kinds of generated images

Generated when you rewrite an article that has no featured image. The plugin:

  1. Builds a prompt from the article title + category + excerpt + your brand template
  2. Calls the configured image gen model (default: google/gemini-3-pro-image-preview)
  3. Resizes to 1920×1080 (Full HD 16:9)
  4. Optionally overlays your logo (PHP composition) at the position you choose (corner, size %)
  5. Uploads to media library + sets as featured image

2. Inline info-card images

When you provide an external service URL during rewrite (e.g., a competitor’s pricing page, a tool you’re recommending), the plugin:

  1. Scrapes the page via Firecrawl → markdown + screenshot
  2. Asks an LLM to extract the most relevant data section (pricing table, feature list)
  3. Asks the image gen model to recreate that data as a clean editorial info-card (using the screenshot as visual reference)
  4. Uploads to media library and instructs the rewrite LLM to insert it as <figure> in the article body

Configuration

In Settings → API Keys & Models → Image generation:

  • Activer la génération d’image: master toggle
  • Modèle: choose from curated list (Gemini 3 Pro Image Preview, Gemini 2.5 Flash Image, GPT Image 1, etc.) or paste a custom OpenRouter model ID
  • Prompt par défaut: editable template for the featured image (placeholders: {TITRE_ARTICLE}, {CATEGORIE}, {RESUME_ARTICLE})
  • Logo overlay PHP: enable to overlay your brand logo on top of generated images
    • Position: bottom-right (default), bottom-left, top-right, top-left, center
    • Size: 5-30 % of image width
  • Logo personnalisé: upload PNG/WebP/JPEG up to 2 MB; falls back to default LWS-white.png if removed
  • Mention du logo dans le prompt: also tells the AI to render the logo in the image (multimodal — passes the logo as visual reference). Disable if double-logo issues.

Cost

ModelPer imageQuality
google/gemini-2.5-flash-image (Nano Banana)~$0.02Fast, good quality, native 16:9
google/gemini-3-pro-image-preview~$0.04Highest quality, slowest (~30s)
openai/gpt-image-1~$0.04Good but uses /v1/images endpoint (not chat) — currently not supported
Custom modelvariesRisk of compatibility issues

Discovering models

OpenRouter adds/deprecates image models frequently. Click 🔍 Découvrir les modèles dispo in settings to query the live OpenRouter catalog and pick from currently available models.

Quality tips

  • Keep the prompt concise (200-400 chars). Long prompts dilute the model’s focus
  • Avoid asking for text in the image (image gen models are bad at text)
  • If the model “draws a logo” you didn’t want, add: “INSTRUCTIONS NÉGATIVES: NE génère AUCUN logo, watermark ou marque dans l’image.”
  • For best logo overlay results, leave a clean area in the corner for the PHP logo (the prompt automatically asks for this when overlay is enabled)

Manual generation from a post

Even outside a rewrite flow, the metabox in the WordPress post editor has a 🎨 Generate AI image button. Useful for:

  • Adding a featured image to an old article without rewriting it
  • Regenerating a featured image you don’t like (variants)

What’s next?