Skip to content
Docs

AI Gateway Inputs and Tools

Choose a guide for the input you have or the function you want a model to call. Each guide includes examples for supported API formats and explains their differences.

CapabilityUse it toExample input
VisionDescribe images, read charts, or inspect screenshotsPNG image
File InputSummarize documents or extract informationPDF document
Tool UseConnect a model to application functionsFunction schema and tool results
Audio InputAsk questions about recorded speechMP3 recording
Video InputSummarize events or inspect actions in a clipMP4 video

For SDK concepts, start with AI SDK message prompts and tool calling, or the Python beta messages and agents guides.

A model must support the input type and the selected provider must accept that request format. The model catalog describes model capabilities. Check model-specific limits as well as the format notes in each guide, including for any configured fallback models.

Examples group AI SDK 7 TypeScript and AI SDK for Python (beta) under one AI SDK tab. Chat Completions, Messages API, and Responses / OpenResponses follow, with TypeScript, Python, and cURL language switchers where supported. See SDKs and APIs for installation, authentication, and endpoint differences.

These guides focus on understanding existing input. For other tasks, see:

Last updated September 8, 2026

Was this helpful?

supported.