Closed Source
Send requests to any Google model by specifying the {model}
placeholder in the path.
POST
Authorizations
Provide your API key as Key your-key-here
in the Authorization
header.
Provide your provider API key as Provider-Key your-provider-key-here
in the header.
Path Parameters
The specific Google model to interact with (e.g., gemini-1.5-flash
).
Body
application/json
Send messages to the specified Google model.
Messages to process.
Enable or disable streaming responses.
Response
200 - application/json
Successful response from the specified Google model.
Model output text.