This package integrates the Cobot for NEOS CMS. It offers text and image generation with the OpenAI API and the Flux API.
composer require ujamii/neos-cobot
You need to add the API key for the Cobot API to your Settings.yaml
.
You get the API key from your Cobot account settings.
# Configuration/Settings.yaml
Ujamii:
Cobot:
services:
# The API key for the Cobot API
# You can get it from your Cobot account settings
apiKey: <your-api-key>
To enable Cobot Text Generation functionality within your node, add the following configuration to your YAML file. This will display the Cobot inline editing options directly in the RichTextToolbar, allowing for AI-powered content generation within text fields.
Neos.NodeTypes:Text:
properties:
text:
ui:
inline:
formatting:
cobot: true
The Cobot Image Generation feature is enabled by default, displaying the ImageGeneration button in all image editors. If you prefer to disable this feature, you can add the following configuration to your YAML file and set enabled to false.
Ujamii:
Cobot:
ImageEditorExtension:
enabled: true