Skip to main content
The GeminiImage2Node generates or edits images using the Google Vertex AI Gemini model. You provide a text prompt and optionally reference images or files; the node sends them to the API and returns the generated image, plus a text response when requested.

Inputs

Constraints:
  • The images input supports a maximum of 14 images. If more are provided, an error is raised.
  • When more than 10 images are provided, the first 10 are uploaded as URL references and the remaining images are sent inline in the request.
  • The files input must be connected to a node that outputs the GEMINI_INPUT_FILES data type.
  • When response_modalities is set to “IMAGE”, only the image is returned and the text output is empty.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 02293dad786d4b441da3174fa76f6c5847f122d294bd7e1f765ffd72420034a4