To use AI image generation, you need to configure an OpenAI API key in the instance and enable this feature. In the settings, you can choose the model and the resolution of the generated image.
Agent abilities.
Settings.
Configuring Long Processing Fallback
In the tab "Additional Settings", you can customize the message 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 normally take longer to complete.
In the example below, I set the timeout to 20 seconds. That way, 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 froze or stopped working.
Additional Settings.
Testing the functionality
In the test below, the lead was chatting with the AI Agent when they requested the generation of an image. During the process, the system sent the message configured in the Processing Fallback, informing that the request was in progress. Afterwards, the image was sent normally, as requested.