Actions3
Generate Text
AI-generatedSummary
Generate text from a prompt using a selected Gemini model on Google Vertex AI
Inputs
- prompt (required) — The text prompt to send to the model
- model — The Gemini model to use
Output shape
object
Each returned item contains text, optional parsed JSON, model, operation, usage metadata, safety ratings, finish reason, and optional debug info. Errors are either thrown or returned as error objects depending on continueOnFail setting.