Agencyjnie AI Images
Wersja v2.1.1 · 23 marca 2026
Integruje generowanie obrazow AI bezposrednio w edytorze WordPress. Obsluguje Google Gemini i DALL-E 3.
Changelog
Zmiana: Instrukcje promptu per kategoria
Zamiast wyboru stylu artystycznego z listy, każda kategoria ma teraz wolne pole tekstowe na dodatkowe instrukcje promptu.
Przykłady użycia:
Use warm orange and brown tones, autumn atmosphere, cozy vibeMinimalist, white background, clean corporate styleDark moody lighting, cyberpunk, blue and purple tones
Instrukcje są dołączane do promptu przy generowaniu obrazka dla wpisów z danej kategorii — jako uzupełnienie globalnych ustawień stylu, nie zamiana.
🎨 AI Image Planner
Nowy panel boczny w edytorze Gutenberg, który automatycznie analizuje treść artykułu i sugeruje gdzie wstawić obrazki AI.
Jak używać
1. Otwórz artykuł w edytorze bloków
2. W panelu bocznym (zakładka "Post") znajdź sekcję AI Image Planner
3. Kliknij "Zaplanuj obrazki" — Gemini Flash przeanalizuje strukturę artykułu
4. Przejrzyj propozycje, edytuj prompt/typ/styl według potrzeb
5. Kliknij "Wstaw zaznaczone" — bloki aai/ai-image pojawią się w odpowiednich miejscach
6. Kliknij "Generuj wszystkie" — sekwencyjnie wygeneruje obrazki we wszystkich blokach
Nowe funkcje
- AI Image Planner — analiza artykułu przez Gemini Flash z sugestiami rozmieszczenia obrazków
- Obsługa Classic Editora — działa też z artykułami napisanymi w starym edytorze (
core/freeform) - "Generuj wszystkie" — jeden przycisk generuje wszystkie oczekujące bloki AI Image
- Reaktywny UI — przycisk "Generuj wszystkie" pojawia się automatycznie po wstawieniu bloków
Ulepszenia bloku AI Image
- Rozszerzony prompt builder
- Dodatkowe opcje stylów artystycznych i typów zawartości
What's New in v1.9.0
10 new features added:
1. Prompt Preview — always-visible, editable prompt textarea with refresh
2. Custom Post Type Support — UI checkboxes in settings
3. WebP Conversion — automatic conversion with GD/Imagick
4. Generation History + Rollback — last 10 images tracked per post
5. Image Variants — generate 3 options, pick the best one
6. Cost/Stats Dashboard — generation logging with custom DB table
7. AI Article Analysis — Gemini analyzes full article for smarter prompts
8. Styles per Category — category → art style mapping admin page
9. Social Media OG Images — auto-crop to OG/Instagram/Pinterest sizes
10. Upscale / Image Edit — Gemini-powered upscaling and text-based editing
New files
includes/stats.php— statistics tracking and dashboardincludes/category-styles.php— per-category art style mappingincludes/social-images.php— social media image variants + OG meta tagsincludes/upscale.php— image upscaling and AI editing
Stats
- 12 files changed, 2733 insertions(+), 47 deletions(-)
- 4 new PHP files
- Fixed Gemini Pro model — updated to
gemini-3-pro-image-preview(oldgemini-2.5-pro-preview-06-05expired and returned 404) - Updated UI labels to reflect Gemini 3 Pro
Changes
v1.4.1
- Fixed GitHub auto-updater — folder rename now works correctly during updates
- Fixed auth for private repo ZIP downloads (Bearer header instead of deprecated query param)
v1.4.0 (included)
- Renamed plugin from "Agencyjnie AI Images" to "AI Images"
- Fixed XSS vulnerability in admin.js image preview
- Fixed model validation bug — Gemini Pro/Imagen3 selection now saves correctly
- Fixed double API key sanitization overwriting encrypted keys with plaintext
- Removed ~3,700 lines of dead code (content images, image sources, disabled API tests)
- Updated documentation