Nodes/ComfyUI Griptape Nodes/Griptape Agent Config: OpenAI Drivers
ComfyUI Node

Griptape Agent Config: OpenAI Drivers

OpenAI Drivers Config. Use OpenAI's models for prompt, embedding, image generation, and image query.

By griptape-ai·Created 2 years ago·Updated about a year ago· 238
Griptape Agent Config: OpenAI Drivers
    • CONFIG
    prompt_model_commentPrompt Driver
    modelgpt-4o-mini
    max_attempts_on_fail2
    temperature0.10
    seed10342349342
    use_native_toolstrue
    max_tokens-1
    min_p0.10
    response_formatdefault
    api_key_env_varOPENAI_API_KEY
    image_generation_model_commentImage Generation Driver
    image_generation_modeldall-e-3
    size1024x1024
    embedding_model_commentEmbedding Driver
    embedding_modeltext-embedding-ada-002
    text_to_speech_model_commentText To Speech Driver
    text_to_speech_modeltts-1
    voicealloy
    audio_transcription_model_commentAudio Transcription Driver
    audio_transcription_modelwhisper-1
    CategoryGriptape/Agent Configs

    Inputs (20)

    NameTypeDefaultDescription
    prompt_model_commentoptSTRINGPrompt Driver
    modeloptCOMBOgpt-4o-mini62 options: gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-2025-08-07, gpt-5-mini-2025-08-07, gpt-5-nano-2025-08-07, +56
    max_attempts_on_failoptINT21–100Maximum attempts on failure
    temperatureoptFLOAT0.100–1Temperature for sampling
    seedoptINT10342349342Seed for random number generation
    use_native_toolsoptBOOLEANtrueUse native tools for the LLM.
    max_tokensoptINT-1Maximum tokens to generate. If <=0, it will use the default based on the tokenizer.
    min_poptFLOAT0.100–1Minimum probability for sampling. Lower values will be more random.
    response_formatoptCOMBOdefaultFormat of the response
    api_key_env_varoptSTRINGOPENAI_API_KEYEnter the name of the environment variable that contains the API key, not the API key itself.
    image_generation_model_commentoptSTRINGImage Generation Driver
    image_generation_modeloptCOMBOdall-e-3Select the image generation model.
    sizeoptCOMBO1024x1024Select the desired image size.
    embedding_model_commentoptSTRINGEmbedding Driver
    embedding_modeloptCOMBOtext-embedding-ada-002Select the embedding model to use.
    text_to_speech_model_commentoptSTRINGText To Speech Driver
    text_to_speech_modeloptCOMBOtts-1Enter the text-to-speech model name.
    voiceoptCOMBOalloySelect the voice for text-to-speech.
    audio_transcription_model_commentoptSTRINGAudio Transcription Driver
    audio_transcription_modeloptCOMBOwhisper-1Select the audio transcription model to use.

    Outputs (1)

    NameTypeDescription
    CONFIGCONFIG