Nodes/comfyui-openai-compatible-image/OpenAI Compatible Image Generate
ComfyUI Node

OpenAI Compatible Image Generate

A ComfyUI node in OpenAI Compatible/Image with 12 inputs and 2 outputs.

By wennatre·Created 2 months ago·Updated 2 months ago· 0
OpenAI Compatible Image Generate
    • image
    • response_json
    promptA clean product photo of a translucent glass teapot on a walnut table, soft daylight, realistic.
    api_basehttps://api.openai.com/v1
    modelgpt-image-2
    size1024x1024
    qualityauto
    n1
    timeout_seconds600
    api_key
    endpoint_path/images/generations
    extra_headers_json{}
    extra_body_json{}
    save_raw_responsefalse
    CategoryOpenAI Compatible/Image

    Inputs (12)

    NameTypeDefaultDescription
    promptSTRINGA clean product photo of a translucent glass teapot on a walnut table, soft daylight, realistic.
    api_baseSTRINGhttps://api.openai.com/v1
    modelSTRINGgpt-image-2
    sizeSTRING1024x1024
    qualityCOMBOauto4 options: auto, low, medium, high
    nINT11–10
    timeout_secondsINT60030–3600
    api_keyoptSTRING
    endpoint_pathoptSTRING/images/generations
    extra_headers_jsonoptSTRING{}
    extra_body_jsonoptSTRING{}
    save_raw_responseoptBOOLEANfalse

    Outputs (2)

    NameTypeDescription
    imageIMAGE
    response_jsonSTRING