Actions2
Generate Content
AI-generatedSummary
Generate text content using a specified Gemini language model by providing a prompt and optional system instructions. Supports configuration of generation parameters like temperature, maximum tokens, and sampling controls, with optional extraction of source URLs from responses.
Inputs
- Model — Select the Gemini model to use for content generation.
- Prompt (required) — Enter the prompt text to send to the Gemini model for content generation.
- System Instruction — Provide optional system instructions to guide the model's behavior.
- Options — Configure advanced options including batching (items per batch and batch interval), temperature (controls randomness), max output tokens, top P and top K sampling parameters, and whether to extract source URLs from the generated content.
Output shape
a list of items, each with a JSON object containing the generated text under 'response' and optionally additional metadata such as full API response, source URLs, redirected URLs, and URL context metadata.
The output includes the generated text response and may contain source URL information if requested. Batch processing is supported and handled according to batching options, with each input item yielding a corresponding output item containing generation results or error information.