الوصف
Automatically generate featured images for your WordPress posts and pages using AI.
ENGLISH
The AI Featured Image (AIFI) plugin allows you to automatically generate relevant and unique featured images for your WordPress posts and pages using various external Artificial Intelligence services. Save time and enhance the visual appeal of your content!
Note: Maybe prompts must currently be in English for most engines (try it).
- AI Services: Supports multiple AI providers:
- Stability AI: Generate images using various Stable Diffusion models (like SDXL, SD 1.6). Allows configuration of Engine ID and image dimensions. Requires a Stability AI Platform account and API key (paid service / credits).
- ClipDrop: (Also by Stability AI) Generate images via their API. Requires a ClipDrop account and API key (may have free tier limits).
- Pollutions AI: Support is included and requires no API Key. Allows configuration of Model and image dimensions.
- Manual Generation: Generate images on demand directly from the post/page editor using a dedicated metabox.
- Prompt Control:
- Enter a custom prompt to guide the AI.
- Enter an optional negative prompt (supported by Stability AI, potentially others) to specify what to avoid.
- If no custom prompt is given, the plugin automatically generates one based on your choice: Post Title, Post Excerpt (manual excerpt preferred), or the first ~300 characters of the Post Content.
- Configuration: A settings page allows you to:
- Select the active AI service.
- Enter your API keys.
- Configure service-specific options.
- Choose the source for automatic prompts.
- Benefits: Saves time creating or searching for images, ensures relevant visuals, potentially improves SEO and user engagement.
DEUTSCH
Das AI Featured Image (AIFI) Plugin ermöglicht es Ihnen, automatisch relevante und einzigartige Beitragsbilder für Ihre WordPress-Beiträge und -Seiten zu generieren, indem es verschiedene externe Künstliche Intelligenz-Dienste nutzt. Sparen Sie Zeit und verbessern Sie die visuelle Attraktivität Ihrer Inhalte!
Hinweis: Möglicherweise müssen die Eingabeaufforderungen für die meisten Engines derzeit auf Englisch sein (probieren Sie es aus).
- KI-Dienste: Unterstützt mehrere KI-Anbieter:
- Stability AI: Generieren Sie Bilder mit verschiedenen Stable Diffusion Modellen (wie SDXL, SD 1.6). Erlaubt die Konfiguration der Engine-ID und der Bilddimensionen. Benötigt einen Stability AI Platform Account und API-Schlüssel (kostenpflichtiger Dienst / Credits). Hinweis: Prompts müssen derzeit für die meisten Engines auf Englisch sein.
- ClipDrop: (Ebenfalls von Stability AI) Generieren Sie Bilder über deren API. Benötigt einen ClipDrop Account und API-Schlüssel (kann Free-Tier-Limits haben).
- Pollutions AI: Strukturelle Unterstützung ist enthalten und erfordert keinen API-Schlüssel. Ermöglicht die Konfiguration von Modell- und Bildabmessungen.
- Manuelle Generierung: Generieren Sie Bilder bei Bedarf direkt aus dem Beitrags-/Seiten-Editor über eine eigene Metabox.
- Prompt-Kontrolle:
- Geben Sie einen benutzerdefinierten Prompt ein, um die KI zu steuern.
- Geben Sie einen optionalen negativen Prompt ein (unterstützt von Stability AI, potenziell andere), um anzugeben, was vermieden werden soll.
- Wenn kein benutzerdefinierter Prompt eingegeben wird, generiert das Plugin automatisch einen basierend auf Ihrer Wahl: Beitragstitel, Auszug (manueller Auszug bevorzugt) oder die ersten ca. 300 Zeichen des Beitragsinhalts.
- Konfiguration: Eine Einstellungsseite erlaubt Ihnen:
- Den aktiven KI-Dienst auszuwählen.
- Ihre API-Schlüssel einzugeben.
- Dienst-spezifische Optionen zu konfigurieren.
- Die Quelle für automatische Prompts zu wählen.
- Vorteile: Spart Zeit bei der Erstellung oder Suche von Bildern, sorgt für relevante Visualisierungen, verbessert potenziell SEO und Nutzerbindung.
External Services
This plugin uses external services to provide functionality for automatically generating images from text content.
1. Clipdrop.co – https://clipdrop.co
What is it and what is it used for?
Generate images from text via their API. Requires a Clipdrop.co account and API key (may have free tier limits).
What data is sent and when?
The user decides which data the AI should use to generate a featured image. There are three options: the post title, the post excerpt, or the post content. These text fragments are passed to the AI. The AI generates a featured image from the text and other control prompts. The text is not saved. It merely serves as a prompt for image generation.
Example URL used:
https://clipdrop-api.co/text-to-image/v1
Important links:
– Terms and Conditions of Clipdrop.co
– Privacy Policy of Clipdrop.co
2. Stability.ai – https://stability.ai
What is it and what is it used for?
Generate images from text via their API. Requires a Stability.ai account and API key (may have free tier limits).
What data is sent and when?
The user decides which data the AI should use to generate a featured image. There are three options: the post title, the post excerpt, or the post content. These text fragments are passed to the AI. The AI generates a featured image from the text and other control prompts. The text is not saved. It merely serves as a prompt for image generation.
Example URL used:
https://api.stability.ai/v1/generation/{$engine_id}/text-to-image
Important links:
– Terms and Conditions of Stability.ai
– Privacy Policy of Stability.ai
3. Pollinations.ai – https://pollinations.ai
What is it and what is it used for?
Generate images from text via their API. Requires a Pollinations.ai account and API key (may have free tier limits).
What data is sent and when?
The user decides which data the AI should use to generate a featured image. There are three options: the post title, the post excerpt, or the post content. These text fragments are passed to the AI. The AI generates a featured image from the text and other control prompts. The text is not saved. It merely serves as a prompt for image generation.
Example URL used:
https://pollinations.ai/p/
Important links:
– Terms and Conditions of Pollinations.ai
– Privacy Policy of Pollinations.ai
لقطات الشاشة
التنصيب
- Installieren Sie das Plugin entweder über das WordPress.org Plugin-Verzeichnis oder durch Hochladen der Dateien auf Ihren Server (in das Verzeichnis
/wp-content/plugins/). - Aktivieren Sie das “AI Featured Image”-Plugin über das ‘Plugins’-Menü in WordPress.
- Gehen Sie zu “Einstellungen” -> “AI Featured Image”.
- Wählen Sie den gewünschten KI-Dienst aus.
- Geben Sie Ihren API-Schlüssel für den gewählten Dienst ein.
- Konfigurieren Sie ggf. weitere Optionen.
- Speichern Sie die Einstellungen.
- In der Bearbeitungsansicht von Beiträgen oder Seiten finden Sie nun die “AIFI-Generator”-Box (normalerweise in der Seitenleiste).
الأسئلة المتكررّة
-
Which AI services are supported?
-
Currently ClipDrop, Stability AI and Pollutions AI. Google comming soon.
-
Is this plugin free to use?
-
The plugin itself is free. However, the AI services (ClipDrop, Stability AI) usually require an API key associated with an account. These services often have costs based on usage (pay-per-image or credits) or very limited free tiers/quotas. Please check the pricing of the respective AI provider.
-
Why does Stability AI block German/non-English prompts?
-
The Stability AI API (specifically tested with v1.6) returned a 403 error stating “English is the only language supported” when a German prompt was sent. While tests showed that other non-English languages (like Latin or Italian) might sometimes pass, relying on English prompts is necessary for consistent results with Stability AI.
-
Why doesn’t Google Gemini work out of the box?
-
Google’s AI landscape is complex and evolving. You need to find the correct Model ID capable of text-to-image generation accessible via the API method you’re using (e.g., Generative Language API with an AI Studio key, or Vertex AI). You also need to verify the exact request and response structure in the official Google AI documentation and potentially adapt the
generate_with_geminifunction inclass-aifi-api-handler.phpaccordingly. The current implementation is a structural placeholder. -
Where do I get the API keys?
-
- ClipDrop: https://clipdrop.co/apis
- Stability AI: https://platform.stability.ai/ (Create an account, find API keys in settings)
- Google Gemini: https://aistudio.google.com/app/apikey (or via Google Cloud Console, depending on the API used)
- Pollutions AI: [https://github.com/pollinations/pollinations/blob/master/APIDOCS.md) (Find things)
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“AI featured image” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”AI featured image“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.0
- Initial Release.
- Support for ClipDrop (API-Key required).
- Support for Stability AI (API-Key required).
- Support for Pollutions AI (requires no user or API-Key).
- Manual generation trigger via Metabox in Post Editor.
- Configurable source for automatic prompt (Title, Excerpt, Content).
- Negative prompt support (primarily for Stability AI).
- Settings page for API keys and options.



