Name of the Gemini model (e.g. gemini-3.8-flash).
List of messages with 'role' (user/model) and 'content'.
Optional system instruction for the model.
Structured config serializer for OpenAPI documentation.
List of tools (function declarations) the model may call.
Controls how the model uses the provided tools.
Webhook URL for async status updates.
If true, the request blocks until generation completes and returns the result directly. Default is false (async).
Generated text response from the model.
Reason for failure if status is failed.
Credits consumed for this generation.
endpoint added