Перейти к содержанию
НОВОЕМаркетплейс и ваша команда: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Изображения, видео и аудио

Изображения, видео и аудио

Генерация alt-текста изображений WordPress через OpenAI с проверкой в Google Sheets

Запускается каждый час и находит медиафайлы WordPress без alt-текста. Визуальная LLM пишет текст с учётом контекста прикреплённой записи, сохраняет его в Google Sheets на согласование, затем записывает одобренный текст обратно в WordPress.

Что делает

## Auto-fill missing WordPress image alt text with context-aware AI (no plugins) ### How it works This workflow finds WordPress media items that are missing image alt text, skips items already logged, enriches each image with the title and excerpt of the post or page it is attached to, and uses a vision-capable LLM to generate context-aware alt text in your chosen language. In review mode (default) suggestions are logged to Google Sheets as pending; change a row's status to approved (edit the text first if you like) and the hourly run writes it to WordPress. In auto mode alt text is written to WordPress immediately and logged. ### Setup steps - WordPress: Users → Profile → *Application Passwords* → create one. Add a WordPress API credential (site URL, username, application password) and select it in every WordPress HTTP Request node. - Google Sheets: create one tab named Log with this header row: media_id | image_url | admin_url | post_title | alt_text | is_decorative | confidence | status | updated_at Connect your Google Sheets credential in all four Sheets nodes. - AI model: add OpenAI credentials, or swap the chat model for Claude, Gemini or any other vision-capable model. - Config: fill in wp_base_url (no trailing slash), sheet_id, alt_language, mode and max_per_run. - Test with max_per_run = 5 via Manual Trigger and check the sheet before activating the schedules. ### Important — scope This updates the alt text stored on the media library item. WordPress stores alt text for images already placed inside post content in the post HTML, so those existing in-content images are not changed. Featured images, galleries, WooCommerce product images and future inserts use the new alt text. ### Customization Change max_per_run to control batch size and AI cost, max_alt_length for alt text length, or the prompt rules inside the LLM chain for your preferred style.

Шаги

  1. When Daily at 3 AM
  2. Manual Trigger
  3. Every Hour Trigger
  4. Set Config Parameters
  5. If Apply Run
  6. Read Processed Log in Sheets
  7. Fetch WordPress Media
  8. Filter Missing Alt & Supported Format
  9. Skip Processed Media IDs
  10. Limit Items per Run
  11. Set Media Item Fields
  12. If Attached to Post
  13. Get Parent Post Details
  14. If Post Found

Всего шагов: 28.

Похожие автоматизации