Add Slides to a Soliloquy Slider with AI
New slides added to a Soliloquy slider, with alt text, after you see exactly what changes.
Prerequisites
A site connected to WPVibe running Soliloquy 2.9.0 or newer (the free Slider by Soliloquy plugin) on WordPress 6.9 or newer, with an administrator account. Allow AI to edit sliders is turned on in your WordPress admin under Soliloquy, Settings, AI & MCP. The new photos are already in your media library.
My WordPress site uses Soliloquy. Add my photos of [what they show, or words from their titles] to my [slider name] slider. 1. Run discover_abilities with category soliloquy. If the Soliloquy abilities are not there, stop and tell me to install the free Slider by Soliloquy plugin or update it to 2.9.0 or newer (it needs WordPress 6.9 or newer). Then run soliloquy/describe-slider-schema. If writes_enabled is false, stop and tell me to turn on Allow AI to edit sliders in my WordPress admin under Soliloquy, Settings, AI & MCP, then ask again. Never change that setting yourself. 2. Run soliloquy/list-sliders with search set to words from the slider name, status any and per_page 50. If several match, show them with their status and slide_count and ask which one. If none match, try a single word, then run it without search and show me the list (if total_pages is more than 1, ask whether to read the next page). Sliders in the trash are not listed. 3. Run soliloquy/get-slider with its id and max_length 100000. Its slides are the photos in the order they show, each with attachment_id, status, title, alt and caption. If the answer says it was cut, read the slides with rest_api GET /wp/v2/soliloquy/SLIDER_ID with context edit, _fields id,slider_data.slider and max_length 4000000 instead. That answer holds the same slides keyed by attachment id, but they arrive sorted by id, not in the order they show: use it for the count, titles, alt text and status only, and tell me the order could not be read. If that is cut too, tell me the slide list is incomplete. Show me its slides in order as a numbered list with title and alt text; if it has more than 30, show the count and the last 10. Tell me about any slide whose status is pending: visitors don't see it until it is made active in the slider's edit screen. 4. Find where the slider is shown: run rest_api GET /wp/v2/pages and GET /wp/v2/posts, each with search soliloquy, status publish,draft,private,pending,future, per_page 100 and _fields id (if a full page of 100 comes back, read the next page, and so on; an answer of rest_post_invalid_page_number means there are no more). If there are more than 40 in all, tell me how many and ask before reading them; if I say no, tell me that what you report about where sliders are shown is incomplete. Read their content 10 at a time with rest_api GET /wp/v2/pages (or /wp/v2/posts) with include set to those ids, per_page 10, status publish,draft,private,pending,future, context edit, _fields id,title,status,link,content.raw and max_length 100000. If a response says it was cut (truncated), read those ids fewer at a time; if a post is still cut on its own, read it with rest_api GET /wp/v2/pages/POST_ID (or /wp/v2/posts/POST_ID) with context edit, _fields id,status,content.raw and max_length 4000000. The search also matches the word in ordinary text, so a post may show no slider at all. A post shows the slider when its content has the soliloquy shortcode with id set to SLIDER_ID (in double, single or no quotes; the Soliloquy block saves this shortcode inside it) or with slug set to the slider's slug. This does not see sliders on other content types, such as products or courses, in synced patterns, in a widget area, placed with a page builder widget, or placed by a theme template or template part. Tell me where it is shown. If the slider is a draft, tell me it shows nothing to visitors anywhere until it is published; if it is private, only signed-in users who may read it see it. If it is published, tell me visitors see the new slides as soon as they are added wherever it is shown, as this search can't see every place: a change to a slider can't be saved as a draft first. 5. Search my media library with rest_api GET /wp/v2/media with search set to my words, media_type image, per_page 50, context edit and _fields id,title,alt_text,caption,source_url. It matches every word in titles, captions and descriptions, so if nothing fits, try each word on its own. Leave out photos already in the slider (their id is an attachment_id from step 3), show me the rest as a numbered list with title, alt text (or: no alt text), caption (if any) and link, and wait for my pick and its order. A photo's media library caption shows as text over its slide, so tell me which picked photos have one. 6. Soliloquy copies each photo's title, alt text and caption from the media library at the moment the photo is added, and the slider keeps that copy: a photo with no alt text gets its title as alt text, and fixing alt text in the media library later does not change the slider. So before adding, list the picked photos with no alt text (up to 20 in one run; if there are more, tell me, and offer to do the first 20 now and the rest in another run) and write alt text of about 125 characters or fewer for each, from the photo itself if you can see it at its link, otherwise from its title, caption and file name, marked as a guess. Show me the list and wait for my yes or edits; tell me the alt text is saved in my media library, so it is used wherever the photo is used. Then read the approved photos again in one call, rest_api GET /wp/v2/media with include set to their ids, per_page 100, context edit and _fields id,alt_text, and skip any whose alt_text is no longer empty; save each of the rest with rest_api_write POST /wp/v2/media/ATTACHMENT_ID with alt_text only. Never change alt text that is already there. 7. Show me what will be added, and wait for my yes. Then run soliloquy/add-slides with the slider_id and attachment_ids in my order, up to 100 at a time. They go at the end of the slider. If nothing was added (an error such as soliloquy_no_images, or added is empty with nothing in existing), stop and tell me why. 8. Read the slides again as in step 3. Tell me the slide count before and after, the titles added, and any in skipped (not images in the media library, or uploaded by someone whose uploads this account can't edit) or existing (already in the slider, left as they were). Tell me the abilities can't take slides out: to undo, open the slider in WordPress admin (Soliloquy, then the slider) and remove the added slides there.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Add Slides to a Soliloquy Slider with AI” recipe from the WPVibe cookbook on my connected site.
A slider goes stale fast: last season’s offer, the old menu, a project from two years ago. Adding photos means opening the slider, searching the media picker, saving, and checking which ones are already in it, so the same three slides keep turning.
Tell the AI which slider and which photos. It shows you what the slider holds now and where it is shown, searches your media library for the new photos, leaves out the ones already in it, and writes alt text for any that have none, saved after your yes. It adds what you pick in one change and reads the slider back.
A change to a published slider can’t be saved as a draft first: on a published page, visitors see the new slides as soon as they are added, so the AI asks first. New slides go at the end. The abilities can’t take slides out or change their order, and this recipe doesn’t try: to undo, remove them in the slider’s edit screen. To start a new slider, use this recipe.
Outcome
The slider holds the photos you added, with alt text, after every slide it had before, and you know where it is shown.