Admin Magic AI
Generate images
Changed onGenerates one or more images from a prompt with the configured AI provider. Each image is returned as a base64 data URL in url. Requires Magic AI and its image generation feature to be enabled in Configuration → Magic AI.
post/magic-ai/image
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The generated images.
Changes
- info
endpoint added
- info