Nodes/ComfyUI-QING/URL语言丨API
ComfyUI Node

URL语言丨API

A ComfyUI node in QING/API with 14 inputs and 5 outputs.

By sheengoa·Created 12 months ago·Updated 3 months ago· 16
URL语言丨API
    • generated_text
    • conversation_info
    • total_tokens
    • raw_response
    • status
    text_input
    system_prompt
    custom_headers_json
    extra_body_json
    base_url
    model
    api_key_override
    max_tokens2048
    history10
    temperature0.70
    top_p0.90
    repetition_penalty1.00
    timeout_sec120
    clear_historyfalse
    CategoryQING/API

    Inputs (14)

    NameTypeDefaultDescription
    text_inputSTRING发送给模型的用户文本
    system_promptSTRING可选 system prompt
    custom_headers_jsonSTRING可选JSON对象,例如 {"X-API-Key":"..."}
    extra_body_jsonSTRING可选JSON对象,会合并进请求体
    base_urlSTRINGOpenAI兼容服务地址,可填根地址或 /v1
    modelSTRING模型ID,按自定义服务实际名称填写
    api_key_overrideSTRING仅当前节点生效;留空时读取 CUSTOM_URL_API_KEY 或 QING custom_url_api_key
    max_tokensINT20481–128000
    historyINT101–40保留的历史对话轮数
    temperatureoptFLOAT0.700–2
    top_poptFLOAT0.900–1
    repetition_penaltyoptFLOAT1.000.5–2
    timeout_secoptINT1205–600
    clear_historyoptBOOLEANfalse清除该节点内存中的对话历史

    Outputs (5)

    NameTypeDescription
    generated_textSTRING
    conversation_infoSTRING
    total_tokensINT
    raw_responseSTRING
    statusSTRING