Skip to main content
Generate or edit images synchronously through the Google Vertex AI Gemini API. You provide a text prompt and can optionally attach reference images or Gemini input files. The node returns the generated image and, depending on the selected response mode, a text response.

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.
  • The prompt input is validated and must contain at least one character after whitespace is removed.

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