Nodes/ComfyUI-Google-AI-Studio/Google AI Studio Text Generator
ComfyUI Node

Google AI Studio Text Generator

Generate text using Google AI Studio models

By BuffMcBigHuge·Created about a year ago·Updated 5 months ago· 10
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)

    NameTypeDefaultDescription
    promptSTRINGWrite a creative short story about artificial intelligence.
    api_keySTRINGYour Google AI Studio API key
    modelCOMBOgemini-2.5-flash10 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_instructionoptSTRINGSystem instruction to guide the model's behavior
    temperatureoptFLOAT0.70–2Controls randomness in generation (0=deterministic, 2=very creative)
    max_output_tokensoptINT10241–8192Maximum number of tokens to generate
    thinking_leveloptCOMBOoffReasoning depth (Gemini 2.5/3 only). 'high' for complex tasks, 'low' for latency-sensitive.

    Outputs (1)

    NameTypeDescription
    textSTRING