# ImagePromptValue

> **Class** in `langchain_core`

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

Image prompt value.

## Signature

```python
ImagePromptValue(
    self,
    args: Any = (),
    kwargs: Any = {},
)
```

## Extends

- `PromptValue`

## Properties

- `image_url`
- `type`

## Methods

- [`to_string()`](https://reference.langchain.com/python/langchain-core/prompt_values/ImagePromptValue/to_string)
- [`to_messages()`](https://reference.langchain.com/python/langchain-core/prompt_values/ImagePromptValue/to_messages)

---

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