output_schema pattern stay the same.
Input argument per modality
All four classes accept
url, filepath, or raw bytes via content. The cookbook fetches audio and video bytes first.
Bounding boxes
For region detection, return normalized coordinates so the result is resolution-independent.Transcription and diarization
Audio extraction covers transcription, speaker diarization, and timestamped segments. Each is a schema change, not a different API.Model choice
gemini-3.5-flash handles text, image, audio, video, and PDF natively, so the cookbook uses it across every modality. Agno is model-agnostic, so you can swap in any model that supports the modality.