> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.ai.DescribeImages

- Component: `appmixer.utils.ai.DescribeImages`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.ai 1.1.4](https://connectors.appmixer.com/connector/appmixer.utils.ai/1.1.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.ai/1.1.4/component/appmixer.utils.ai.DescribeImages>

Answer questions about the content of one or more images.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Prompt (`prompt`) | textarea | The question to answer about the content of one or more images. |
| Images (`images`) | expression | - |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Answer (`answer`) | string | - |
| Prompt (`prompt`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.ai.DescribeImages",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Answer questions about the content of one or more images.",
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string"
          },
          "images": {}
        },
        "required": [
          "prompt",
          "images"
        ]
      },
      "inspector": {
        "inputs": {
          "prompt": {
            "label": "Prompt",
            "type": "textarea",
            "index": 1,
            "tooltip": "The question to answer about the content of one or more images."
          },
          "images": {
            "label": "Images",
            "type": "expression",
            "index": 2,
            "levels": [
              "ADD"
            ],
            "fields": {
              "fileId": {
                "type": "filepicker",
                "label": "File ID",
                "tooltip": "The image file to attach. Only PNG, JPEG, non-animated GIF and WEBP image types are supported.",
                "index": 1
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Answer",
          "value": "answer",
          "schema": {
            "type": "string",
            "example": "The image shows a red bicycle leaning against a brick wall."
          }
        },
        {
          "label": "Prompt",
          "value": "prompt",
          "schema": {
            "type": "string",
            "example": "Describe what is in the image."
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
