For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Agents - Generate Images

Configuring the image generation model

To use AI image generation, it is necessary to configure an OpenAI API key in the instance and enable this feature. In the settings, it is possible to choose the model and the resolution of the generated image.

Agent skills.
Settings.

Configuring Long Processing Fallback

In the "Additional Settings", it is possible to customize the message that the lead will receive if the AI response time exceeds the stipulated limit, using the field "Long Processing Fallback". This is especially useful in image generation situations, which usually take longer to complete.

In the example below, I set the timeout to 20 seconds. Thus, if the AI takes longer than that, the lead will be informed that the response is still being generated — avoiding the impression that the system has frozen or stopped working.

Additional Settings.

Testing the feature

In the test below, the lead was talking to the AI Agent when they requested an image generation. During the process, the system sent the message configured in the Processing Fallback, informing that the request was in progress. Then, the image was sent normally, as requested.

Image generation example.

Last updated

Was this helpful?