OptionaldetailImage analysis detail level.
Image content data.
Either base64-encoded image data or a URL reference.
Type discriminator for identifying the specific content modality.
Provides type-safe discrimination between different content types such as "text", "audio", "image", and "file". This discriminator enables proper type narrowing and ensures that each content type is processed according to its specific characteristics and requirements.
The type field is essential for the multimodal content processing pipeline, allowing the system to route different content types to appropriate handlers while maintaining type safety throughout the conversation flow.
Content type representing image input from users in the conversation.
Enables users to share visual references, UI mockups, diagrams, screenshots, or other visual materials as part of their development requirements. Image content supports both base64-encoded image data and URL references, providing flexibility for different use cases and integration scenarios.