> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.oai.bedrock.parse_image

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### parse\_image

```python theme={null}
parse_image(image_url: str) -> tuple[bytes, str]
```

Try to get the raw data from an image url.<br />Ref: [https://docs.aws.amazon.com/bedrock/latest/APIReference/API\_runtime\_ImageSource.html](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ImageSource.html)
returns a tuple of (Image Data, Content Type)

<b>Parameters:</b>

| Name        | Description   |
| ----------- | ------------- |
| `image_url` | **Type:** str |

<br />
