Nodes/ComfyUI-API-Toolkit/Gemini Prompt Refiner
ComfyUI Node

Gemini Prompt Refiner

A ComfyUI node in API Toolkit/Gemini/Text with 7 inputs and 1 output.

By IxMxAMAR·Created 5 months ago·Updated about a month ago· 1
Gemini Prompt Refiner
    • refined_prompt
    api_key
    modelgemini-2.5-pro
    custom_model
    base_prompt
    system_instruction
    thinking_levelNONE
    temperature0.70
    CategoryAPI Toolkit/Gemini/Text

    Inputs (7)

    NameTypeDefaultDescription
    api_keySTRINGGemini API key. Leave blank to use GEMINI_API_KEY env var.
    modelCOMBOgemini-2.5-proGemini model for prompt refinement.
    custom_modelSTRINGOverride with a custom model ID.
    base_promptSTRINGThe prompt to refine and improve.
    system_instructionoptSTRINGInstructions for how to refine the prompt. Leave empty for default behavior.
    thinking_leveloptCOMBONONEHow much the model should reason before answering.
    temperatureoptFLOAT0.700–2Controls randomness in refinement.

    Outputs (1)

    NameTypeDescription
    refined_promptSTRING