# ImageURL

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/prompt_values/ImageURL)

Image URL for multimodal model inputs (OpenAI format).

Represents the inner `image_url` object in OpenAI's Chat Completion API format. This
is used by `ImagePromptTemplate` and `ChatPromptTemplate`.

## Signature

```python
ImageURL()
```

## Description

**See Also:**

`ImageContentBlock`: LangChain's provider-agnostic image format used in message
content blocks. Use `ImageContentBlock` when working with the standardized
message format across different providers.

**Note:**

The `detail` field values are not validated locally. Invalid values
will be rejected by the downstream API, allowing new valid values to
be used without requiring a LangChain update.

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    detail: Literal['auto', 'low', 'high'],
    url: str,
)
```

| Name | Type |
|------|------|
| `detail` | `Literal['auto', 'low', 'high']` |
| `url` | `str` |


## Properties

- `detail`
- `url`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/core/langchain_core/prompt_values.py#L107)