AI Content Builder Next
WordPress plugin that converts voice notes into structured Gutenberg drafts using the WordPress AI Client and the Abilities API
by Your Name · github.com/carlodaniele/ai-content-builder-next
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/carlodaniele/ai-content-builder-next/archive/refs/heads/main.zipReadme
AI Content Builder Next
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
- Primario (Abilities API)
POST /wp-json/wp-abilities/v1/ai-content-builder/audio-to-gutenberg-blocks/run
- 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 abilityai-content-builder.php: bootstrap plugin + route fallbackeditor.js: UI editor + fallback client automatico