WP Manifestindependent plugin directory
manifest / ai / ai-content-builder-next

AI Content Builder Next

WordPress plugin that converts voice notes into structured Gutenberg drafts using the WordPress AI Client and the Abilities API

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/carlodaniele/ai-content-builder-next/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Plugin WordPress che converte un file audio in blocchi Gutenberg.

Cosa fa

  • Trascrive un audio (audio_id)
  • Genera contenuto strutturato (title, sections)
  • Converte in blocchi Gutenberg (blocks)

Endpoint usati

  1. Primario (Abilities API)
  • POST /wp-json/wp-abilities/v1/ai-content-builder/audio-to-gutenberg-blocks/run
  1. Fallback compatibilità
  • POST /wp-json/ai-content-builder/v1/generate

Il fallback richiama la stessa callback server-side (nessuna duplicazione della pipeline AI).

Requisiti

  • WordPress 7.0+
  • PHP 8.0+
  • Provider AI configurato in Settings > Connectors

Payload input

{ "audio_id": 1234 }

Payload output

{
  "title": "string",
  "sections": [],
  "blocks": [],
  "transcript": "string"
}

Errori principali

  • missing_audio_id (400)
  • audio_not_found (404)
  • invalid_audio_type (400)
  • audio_path_missing (404)
  • audio_read_failed (500)
  • no_supported_model (400)
  • empty_transcript (500)
  • invalid_ai_json (500)
  • empty_structured_content (500)
  • ai_disabled (403)

File principali

  • abilities.php: pipeline AI + registrazione ability
  • ai-content-builder.php: bootstrap plugin + route fallback
  • editor.js: UI editor + fallback client automatico