# Assistant API: Can Assistant API response with the image url in the message content?

**URL:** <https://community.openai.com/t/assistant-api-can-assistant-api-response-with-the-image-url-in-the-message-content/1269940>\
**Category:** API\
**Tags:** assistants, assistants-api, file-uploads\
**Created:** [May 27, 2025, 5:05am UTC](https://community.openai.com/t/assistant-api-can-assistant-api-response-with-the-image-url-in-the-message-content/1269940 "2025-05-27T05:05:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vunhan.contact](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@vunhan.contact](https://community.openai.com/u/vunhan.contact)\
**Post date:** [May 27, 2025, 5:05am UTC](https://community.openai.com/t/assistant-api-can-assistant-api-response-with-the-image-url-in-the-message-content/1269940/1 "2025-05-27T05:05:45Z")

</div>

I am working with content messages structured like the example below:

```json
[
  {
    type: 'image_url',
    image_url: {
      url: 'https://f19-zpc.zdn.vn/jpg/***.jpg',
      detail: 'low'
    }
  }
]

```

Then I send a message like:  
**“Give me the source URL of the image I have sent”** ,  
but the assistant is unable to respond properly to this request.

What I expect is for the assistant to **access or reference the image URL** from the message content and return it. However, it either fails to respond or doesn’t recognize that an image was provided via `image_url`. I need help ensuring the assistant can **parse and return the actual URL** from such content inputs.

---

<div class="post-metadata">

**Author:** ![vunhan.contact](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@vunhan.contact](https://community.openai.com/u/vunhan.contact)\
**Post date:** [May 27, 2025, 5:12am UTC](https://community.openai.com/t/assistant-api-can-assistant-api-response-with-the-image-url-in-the-message-content/1269940/2 "2025-05-27T05:12:10Z")

</div>

Why assistant can read the content in the image url but can not response that url.

---

<div class="post-metadata">

**Author:** ![jlvanhulst](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/jlvanhulst/32/195305_2.png) [@jlvanhulst](https://community.openai.com/u/jlvanhulst)\
**Post date:** [May 27, 2025, 11:25am UTC](https://community.openai.com/t/assistant-api-can-assistant-api-response-with-the-image-url-in-the-message-content/1269940/3 "2025-05-27T11:25:25Z")

</div>

You should add it to your prompt information as well then you will have no problem.
