Start here
Quickstart
Install the SDK, configure the client, and make your first requests.
Text generation
Streaming
Stream tokens for low-latency UIs.
Function calling
Let the model call your functions with structured arguments.
JSON mode
Force valid JSON outputs for structured responses.
Available models
See model options and recommended selectors.
Models API
Inspect live pricing, context windows, and capabilities.
Images
Image recognition
Send images to chat models for captions, OCR, and visual Q&A.
Image generation and edits
Generate new images or edit reference images with normalized base64 output.
