# create_image_content_part

> **Function** in `langchain_google_vertexai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-vertexai/_image_utils/create_image_content_part)

Create a dictionary that can be part of a message content list.

## Signature

```python
create_image_content_part(
    image_str: str,
) -> dict
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `image_str` | `str` | Yes | Can be either:  - b64 encoded image data - GCS uri - Url - Path to an image. |

## Returns

`dict`

Dictionary that can be part of a message content list.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/vertexai/langchain_google_vertexai/_image_utils.py#L274)