← Tools Reference

Gemini

Gemini integration (AI). Imported from open-connector.

API key5 toolshttps://generativelanguage.googleapis.com/v1beta
GET
gemini_list_models
List the available Gemini and Veo models.

/models

1 parameter
ParamTypeRequiredDescription
filter_prefixstringoptionalThe model name prefix to filter by.
POST
gemini_generate_content
Generate text or speech audio with Gemini models.

/models/{trimmed}

11 parameters
ParamTypeRequiredDescription
modelstringoptionalThe model name to use.
top_kintegeroptionalThe top-K sampling parameter.
top_pnumberoptionalThe top-P sampling parameter.
temperaturenumberoptionalThe sampling temperature.
safety_settingsarrayoptionalThe safety settings to apply.
max_output_tokensintegeroptionalThe maximum number of output tokens.
system_instructionstringoptionalThe system instruction prepended to the prompt.
promptstringrequiredThe text prompt to send to the model.
voice_namestringoptionalThe voice name for speech audio output.
stop_sequencesarrayoptionalThe sequences that stop generation.
trimmedstringrequiredPath parameter: trimmed
POST
gemini_count_tokens
Count the Gemini token usage for input text.

/models/{trimmed}

3 parameters
ParamTypeRequiredDescription
textstringrequiredThe text to count tokens for.
modelstringoptionalThe model name to use for tokenization.
trimmedstringrequiredPath parameter: trimmed
GET
gemini_get_videos_operation
Fetch the current status for a Gemini Veo operation.

/models/{model}/operations/{trimmed}

3 parameters
ParamTypeRequiredDescription
operation_namestringrequiredThe long-running Veo operation name.
modelstringrequiredPath parameter: model
trimmedstringrequiredPath parameter: trimmed
GET
gemini_wait_for_video
Poll a Gemini Veo operation and return the finished video via transit URL.

/models/{model}/operations/{trimmed}

3 parameters
ParamTypeRequiredDescription
operation_namestringrequiredThe long-running Veo operation name.
modelstringrequiredPath parameter: model
trimmedstringrequiredPath parameter: trimmed