Zero2Webmaster AI Engine
HTTP service wrapping the @zero2webmaster/ai-engine library — the door for the Python / no-Node / render-only half of the portfolio.
Endpoints
- GET /api/health — liveness (unauthenticated, no database)
- POST
/v1/generate— text completion, optionally with tool use (declaretools; the engine returns the model'stoolUsesand never executes one) - POST
/v1/summarize— text → summary - POST
/v1/embed— text embeddings (vectors) - POST
/v1/moderate— content-moderation verdict - POST
/v1/copy— email / notification copy draft - POST
/v1/page— structured page spec + Design-Lens - POST
/v1/image— text → image bytes - POST
/v1/transcribe— audio → text (multipart/form-data) - POST
/v1/speak— text → audio bytes (narration) - GET
/v1/usage— this tenant’s metered usage
All /v1/* endpoints require Authorization: Bearer <api-key>. See the service README for request shapes and setup.