ImageURL#

class langchain_core.prompt_values.ImageURL[source]#

Image URL.

detail: Literal['auto', 'low', 'high']#

Specifies the detail level of the image. Defaults to 'auto'. Can be 'auto', 'low', or 'high'.

This follows OpenAIโ€™s Chat Completion APIโ€™s image URL format.

url: str#

Either a URL of the image or the base64 encoded image data.