AI Nodes

Image Analysis

Category
AI
Node Type
Image Understanding and Analysis

Overview

The Image Analysis Node uses advanced AI models to interpret and analyze images. It can describe objects, scenes, and actions in an image or provide targeted answers to specific questions about it.

This node is ideal for workflows that involve image understanding, such as detecting objects, summarizing visual content, generating image captions, or answering user-defined questions about uploaded or generated images.

It is fully designed for no-code workflows, enabling users to perform complex visual AI analysis without writing any code.

Description

Extract insights from images using AI.

Use the Image Analysis Node to automatically analyze images and generate detailed descriptions or answers. It supports two main modes of operation:

General Description

Automatically generate a detailed caption or summary of the image content.

Visual QA

Ask specific questions about the image to get targeted answers.

You can upload or reference one or more images through the attachments field. The AI will automatically analyze them and generate a response based on your input.

Input Parameters

The Image Analysis node accepts flat key-value inputs that define which images to analyze and what kind of information the AI should extract.

analysisTypestringRequired
Must always be set to 'image-analysis'. This specifies that the node will use an AI model designed for image understanding.
Example
"image-analysis"
attachmentsstringRequired
Comma-separated list of image file IDs or variable references representing the images to be analyzed.
Example
"file1.png,file2.jpg" or "{{imageGen.output.image}}"
questionstringOptional
A specific question or instruction about the image content. If left empty, the AI provides a general summary.
Example
"What is the person holding?"
Instructions

Provide all inputs as flat key-value pairs.

Dynamic variables can be referenced using {{nodeId.output.<key>}} syntax to link outputs from previous nodes.

Output Parameters

After execution, the Image Analysis node provides the AI’s interpretation of the image along with processing details.

contentstringOptional
The AI-generated description or analytical response about the image.
Example
"This is a warm, well-lit indoor scene..."
dataarrayOptional
Structured data returned for specific analysis types like face detection (if applicable).
Example
[{"age_range": ..., "emotions": ...}]
processingTimestringOptional
The time taken to analyze the image.
Example
"6.272"
processingIdstringOptional
Unique identifier for the analysis request.
Example
"xai-grok-1761734286842"
Accessing Data

Access the generated description in your workflow using:

{{nodeId.output.content}}

Output Type

Output Type: text

This node always outputs textual AI analysis results about one or more images. Do not modify this type — it ensures the output is recognized properly in downstream workflow nodes.

Example Usage

Example 1: General Image Description

Generate a detailed description of an uploaded image.

{  "analysisType": "image-analysis",  "attachments": "file123.jpg",  "question": "Describe the image."}
{  "content": "### Detailed Description of the Image\n\nThis is a warm, well-lit indoor scene capturing a young Black woman studying at a wooden desk...",  "processingTime": "6.272",  "processingId": "xai-grok-1761734286842",  "processingCount": 533}

Example 2: Visual Question Answering

Ask a specific question about the image.

{  "analysisType": "image-analysis",  "attachments": "{{imageGenNode.output.image}}",  "question": "Is the person wearing glasses?"}
{  "content": "No, the person in the image is not wearing glasses.",  "processingTime": "2.145",  "processingId": "xai-grok-9988776655",  "processingCount": 12}

How to Use in a No-Code Workflow

1

Add the Node

Drag and drop the Image Analysis Node into your workflow.

2

Provide Attachments

Connect the output of an image-generating or image-uploading node to the attachments field.

3

Set Analysis Type

Always use "image-analysis" for the analysisType field.

4

Add an Optional Question

Enter a specific question (e.g., “Is this food vegetarian?”) or leave it blank for a general analysis.

5

Run the Workflow

The node will analyze the provided image(s) and generate a text-based interpretation.

6

Use Output

Access the result using {{nodeId.output.content}} in downstream nodes like Text Generation, Reporting, or Notifications.

Best Practices

  • Always ensure attachments contain valid image files or variable references.
  • Keep the question short and specific for better results.
  • If analyzing multiple images, use comma-separated references for consistent results.
  • Combine this node with Text Generation or Report Creation nodes to turn image insights into summaries or structured reports.
  • Use high-quality images for more accurate AI interpretation.

Do / Don’t

Do
  • ✔️ Use high-resolution images where objects are clearly visible.
  • ✔️ Be specific with your questions (e.g., "What color is the car?" instead of "Tell me about the car").
  • ✔️ Use this node for accessibility features like generating alt text.
Don’t
  • ❌ Don’t use blurry or extremely dark images.
  • ❌ Don’t ask questions about details that are too small to see.
  • ❌ Don’t expect the AI to identify specific individuals (facial recognition for identity is often restricted).

Common Errors

Missing attachmentsErrorOptional
No image references were provided in the attachments field. Make sure you include valid file IDs or variable references.
Invalid analysisTypeErrorOptional
The analysisType parameter is missing or set incorrectly. Always set the value to 'image-analysis'.
No content outputErrorOptional
The AI model returned an empty or invalid response. Try using a clearer image or providing a more specific question.
File not accessibleErrorOptional
The referenced image file could not be accessed or loaded. Check file permissions or confirm that the image has been properly uploaded.

Example Workflow Integration

Use Case 1: Automated Alt Text Generation

Automatically generate accessibility descriptions for uploaded images.

  1. File Upload Node – User uploads an image.
  2. Image Analysis Node – Generates a description of the image.
  3. Database Node – Stores the image URL and the generated description.

Workflow Data Flow:

{{fileUpload.output.fileId}}        →  {{imageAnalysis.input.attachments}}
{{imageAnalysis.output.content}}    →  {{database.input.altText}}

Use Case 2: Visual Content Moderation

Check if an uploaded image contains inappropriate content.

  1. File Upload Node – User uploads an image.
  2. Image Analysis Node – Asks "Does this image contain inappropriate content?".
  3. Logic Node (If/Else) – Checks if the answer is "Yes" or "No".
  4. Email Node – Alerts the admin if content is flagged.

Workflow Data Flow:

{{fileUpload.output.fileId}}        →  {{imageAnalysis.input.attachments}}
"Does this image contain unsafe content?" → {{imageAnalysis.input.question}}