Aitronix icon

Aitronix

This is Aitronix Custom Node

Aitronix

AI-generated

Summary

Send a prompt to the Google Gemini model and receive the generated textual response.

Inputs

  • Prompt (required) — The message you want to send to Gemini.
  • Model Name — The version of the Gemini model to use, either 'Gemini 2.5 Flash' or 'Gemini Pro' (defaults to 'Gemini 2.5 Flash').

Output shape

A JSON object containing the original prompt, the generated text response, and the full API response data for each input item.

Returns one output object per input item. If an error occurs and 'Continue On Fail' is enabled, returns an error message in place of the response. Otherwise, execution will stop on failure.

Examples

Example 1: Using the prompt input 'What is the capital of France?' with the default model 'Gemini 2.5 Flash', the node returns the generated text answer (e.g., 'Paris') along with the full detail of the response from the Google Gemini API.

Set 'Prompt' to your question or request. Optionally select the specific Gemini model to use.

Discussion