Skip to Content
Model GuideModel workflowsOverview

Model workflows

Start with a successful first request, then choose the workflow your application needs. A model ID being available does not imply support for every workflow below; confirm the model and protocol together.

Build a feature

GoalGuideWhat you will implement
Display an answer as it arrivesStreamingIncremental output, completion states and cancellation
Let the application perform an operationFunction callingTool definitions, validation, execution and results
Extract machine-readable recordsStructured outputJSON mode, schemas and result validation
Understand images or documentsVisionCorrect content blocks and input checks
Search your own contentEmbeddingsVector generation and a consistent retrieval pipeline
Create or modify imagesImage generationGeneration, multipart edits and result handling

Operate the feature

For exact field names and response shapes, use the separate model API reference. To configure an existing application instead of writing an API client, use integrations.