analyze_image: Analyze Image

View source: R/image_api.R

analyze_imageR Documentation

Analyze Image

Description

Analyze an image with a multimodal language model.

Usage

analyze_image(model, image, prompt, system = NULL, registry = NULL, ...)

Arguments

model

A LanguageModelV1 object or provider:model string.

image

Image source accepted by input_image().

prompt

Prompt describing the analysis task.

system

Optional system prompt.

registry

Optional provider registry.

...

Additional arguments passed to generate_text().

Value

A GenerateResult.


aisdk documentation built on May 29, 2026, 9:07 a.m.