Generates text content or speech audio from prompts using Gemini models. Supports text generation models (Gemini Flash, Pro) and text-to-speech models with configurable parameters. Generated text is nested at results[i].response.data.text. Output may be wrapped in markdown fence…
modelstringModel to use for generation. Text generation models: 'gemini-2.5-flash' (default, fast & efficient), 'gemini-2.5-pro' (advanced reasoning), 'gemini-2.0-flash' (previous generation), 'gemini-2.0-flash-lite' (cost-optimized). Text-to-speech models: 'gemini-2.5-flash-preview-tts' (…
top_kintegerTop-k sampling parameter
top_pnumberNucleus sampling parameter (0.0 to 1.0)
promptRequiredstringREQUIRED. The text prompt for content generation. This field must be provided. Example: 'Write a short poem about the ocean' or 'Explain quantum computing in simple terms'. For TTS models, include style instructions in the prompt (e.g., 'Say cheerfully: Hello!').
voice_namestringAvailable prebuilt voices for text-to-speech generation. Complete list of 30 official Gemini TTS voices as documented at: https://ai.google.dev/gemini-api/docs/speech-generation
temperaturenumberControls randomness (0.0 to 2.0)
stop_sequencesarraySequences where generation should stop
safety_settingsarraySafety filter settings
max_output_tokensintegerMaximum number of tokens to generate If response finishReason='MAX_TOKENS', output was truncated; narrow prompt scope or increase this value and regenerate.
system_instructionstringSystem instruction to guide the model's behavior
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
Aident-managed access. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.