---
type: email
from: Thomas Mansencal <notifications@github.com>
subject: Re: [openai/openai-agents-python] feat: #1614 gpt-realtime migration

 (Realtime API GA) (PR #1646)
received: 2026-03-06 07:26:52
date_header: Tue, 09 Sep 2025 15:11:26 -0700
priority: normal
status: awaiting_approval
uid: 29958
---

## Email Content

**From:** Thomas Mansencal <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] feat: #1614 gpt-realtime migration

 (Realtime API GA) (PR #1646)
**Date:** Tue, 09 Sep 2025 15:11:26 -0700

### Body (preview)

KelSolaar left a comment (openai/openai-agents-python#1646)



Hello,



I'm looking for image input, and unless I'm missing something, it is not supported at the moment right?



From `agents\realtime\openai_realtime.py`:



```python

    @classmethod

    def convert_user_input_to_conversation_item(

        cls, event: RealtimeModelSendUserInput

    ) -> OpenAIConversationItem:

        user_input = event.user_input



        if isinstance(user_input, dict):

            return RealtimeConversationItemUserMessage(

                type="message",

                role="user",

                content=[

                    Content(

                        type="input_text",

                        text=item.get("text"),

                    )

                    for item in user_input.get("content", [])

                ],

            )

        else:

            return RealtimeConversationItemUserMessage(

                type="message",

                role="user",

                content=[Content(type="input_text", text=user_input)],

            )

```



The [API should look like this](https://openai.com/index/introducing-gpt-realtime/):



```javascript

{

    "type": "conversation.item.create",

    "previous_item_id": null,

    "item": {

        "type": "message",

        "role": "user",

        "content": [

            {

                "type": "input_image",

                "image_url": "data:image/{format(example: png)};base64,{some_base64_image_bytes}"

            }

        ]

    }

}

```



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1646#issuecomment-3272438366

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/pull/1646/c3272438366@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
