Request
Response
Vision (Image to Text)
You can also pass images to the model for image-to-text generation.Request
Response
Parameters
The model that will complete your prompt.
Input messages.
The maximum number of tokens to generate before stopping.
System prompt.
Amount of randomness injected into the response.
Use nucleus sampling.
Only sample from the top K options for each subsequent token.
Custom text sequences that will cause the model to stop generating.
Whether to incrementally stream the response using server-sent events.
An object describing metadata about the request.
How the model should use the provided tools.
Forces the model to use a specific tool.
Configuration for extended thinking.
The service tier for the request.
