Multimodal Inputs
UserMessage.content accepts either plain text or an ordered list of multimodal
parts.
Source Types
Usesource.type to describe payload delivery:
data: Inline base64 payload with requiredmime_typeurl: HTTP(S) or data URL, optionalmime_type
Common Use Cases
Visual QA
Audio transcription
Deprecated binary model
BinaryInputContent is deprecated and emits a DeprecationWarning. It is kept
as a temporary compatibility path while migrating to modality-specific parts.