ComfyUI Node

API Text

Text in, text out. Supports OpenAI-compatible, Responses, Gemini and Claude APIs. / 输入文本,输出文本。支持四种接口格式。

By playboy-dongan·Created 8 days ago·Updated 8 days ago· 0
API Text
  • connection
  • options
  • text
  • response_json
◄model►
◄prompt►
◄run_id0►
CategorySimple API

Inputs (5)

NameTypeDefaultDescription
connectionSA_CONNECTION—
modelSTRINGModel ID from your provider; any supported ID is allowed. / 填写平台提供的模型名。
promptSTRINGWrite your request or connect a text output. / 输入要求,也可连接文本输出。
run_idINT00–2147483647Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。
optionsoptSA_OPTIONS—

Outputs (2)

NameTypeDescription
textSTRING—
response_jsonSTRING—