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

AI Image Detection

This action will send an image and a prompt to a vision-capable AI model and store the resulting description in a conversation variable. Use it to understand what an image sent by the user contains and react accordingly.

Settings

The action uses the following settings:

Setting
Description
Parsed

Image URL

The public URL of the image to analyze

✅

Prompt

What the AI should look for in the image, or how the description should be produced

✅

Use AI module settings

If enabled, the request uses the provider, model and API key configured in the AI module settings

⛔

AI Provider

The AI provider to use for this request. Only visible when Use AI module settings is disabled

⛔

Model Version

The model of the selected provider to use for this request. Only visible when Use AI module settings is disabled

⛔

API Key

The API key used to authenticate with the selected provider. Only visible when Use AI module settings is disabled

⛔

Remarks

The most common source for the image is a picture sent by the user. Use a Media Attachment Action to collect the image, then reference the variable that holds its URL in the Image URL field.

The Prompt field drives the result. You can ask for a generic description or for something very specific, for example:

  • Describe this image in one sentence.

  • Read the meter value shown in this photo. Reply with the number only.

  • Is the product in this picture damaged? Reply yes or no.

  • Extract the invoice number and the total amount from this document.

Asking for a short, well defined answer makes it easy to use the result in a Variable Switch Action to branch the conversation.

The selected model must support image input. Most recent models from the major providers do; check your provider documentation if the request fails.

The image must be reachable from the internet. Images behind authentication or on private networks cannot be read by the AI provider.

Trigger

On Image Described. This action will trigger any child operation as soon as the analysis is completed.

Variables

This action produces the following variables after being triggered:

Variable
Description

ai_image_detected

The description produced by the AI. Empty if the analysis failed

Availability

Channel specific availability follows the table below:

Channel

Availability

Facebook

Fully Available.

WhatsApp

Fully Available.

Telegram

Fully Available.

Web

Fully Available.

Alexa

Fully Available.

Google Assistant

Fully Available.

Slack

Fully Available.

API

Fully Available.

This action can be used only inside interactions and not as child of other actions.

Last updated

Was this helpful?