ComfyUI Node
Google AI Studio Text Generator
Generate text using Google AI Studio models
Google AI Studio Text Generator
- text
◄promptWrite a creative short story about artificial intelligence.►
◄api_key►
◄modelgemini-2.5-flash►
◄system_instruction►
◄temperature0.7►
◄max_output_tokens1024►
◄thinking_leveloff►
CategoryGoogle AI Studio
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Write a creative short story about artificial intelligence. | — |
| api_key | STRING | Your Google AI Studio API key | |
| model | COMBO | gemini-2.5-flash | 10 options: gemini-3.1-pro-preview, gemini-3.1-flash-lite-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, +4 |
| system_instructionopt | STRING | System instruction to guide the model's behavior | |
| temperatureopt | FLOAT | 0.70–2 | Controls randomness in generation (0=deterministic, 2=very creative) |
| max_output_tokensopt | INT | 10241–8192 | Maximum number of tokens to generate |
| thinking_levelopt | COMBO | off | Reasoning depth (Gemini 2.5/3 only). 'high' for complex tasks, 'low' for latency-sensitive. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |