Библиотека / Изображения, видео и аудио
Изображения, видео и аудио
Генерация 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.
Шаги
- When Daily at 3 AM
- Manual Trigger
- Every Hour Trigger
- Set Config Parameters
- If Apply Run
- Read Processed Log in Sheets
- Fetch WordPress Media
- Filter Missing Alt & Supported Format
- Skip Processed Media IDs
- Limit Items per Run
- Set Media Item Fields
- If Attached to Post
- Get Parent Post Details
- If Post Found
Всего шагов: 28.
Похожие автоматизации
Изображения, видео и аудиоГенерация отсутствующего alt-текста для изображений WordPress с помощью OpenAI VisionШагов: 13Написание и генерация контентаГенерация недостающего альтернативного текста изображений с OpenAIШагов: 25Веб-скрейпинг и исследованияАудит изображений страницы и альт-текста в Google SheetsШагов: 11Написание и генерация контентаУлучшение доступности сайта с альтернативным текстом от GPT-4oШагов: 11