With GPT-4o, can we now pass images into assistant runs?

Previously we couldn’t but I can’t find any docs saying we can or can’t anymore. It doesn’t look like the SDK is letting me either?

1 Like

Yes, you should be able to create messages with image files and URLs! https://platform.openai.com/docs/api-reference/messages/createMessage#messages-createmessage-content

Guide: https://platform.openai.com/docs/assistants/how-it-works/creating-image-input-content


How can you call a function that read an image ?
I have a while loop that execute many tools and I don’ understand how to pass it an image natively to the assitant