Skip to content

Conversation

@serbanbjd
Copy link

The OpenAi api allows to also send an image_url property in the conversation.item.create event, as part of item.content object

https://platform.openai.com/docs/api-reference/realtime-client-events/conversation/item/create#realtime_client_events-conversation-item-create-item-realtime_user_message_item-content-image_url

  • Added new image_url property to ItemContent struct.
  • Added InputImage variant for ItemContentType enum

Copy link
Owner

@dongri dongri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongri dongri merged commit 9c72d98 into dongri:main Nov 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants