Admin Magic AI

Generate text content

Changed on

Generates text from a prompt with the configured AI provider, the same way the admin editor's Magic AI button does. Requires Magic AI and its text generation feature to be enabled in Configuration → Magic AI.

post/magic-ai/content

Request

Request body

promptstring required
modelstring nullable

Response

The generated text.

Changes