ComfyUI Node
API Text
Text in, text out. Supports OpenAI-compatible, Responses, Gemini and Claude APIs. / 输入文本,输出文本。支持四种接口格式。
API Text
- connection
- options
- text
- response_json
◄model►
◄prompt►
◄run_id0►
CategorySimple API
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| connection | SA_CONNECTION | — | |
| model | STRING | Model ID from your provider; any supported ID is allowed. / 填写平台提供的模型名。 | |
| prompt | STRING | Write your request or connect a text output. / 输入要求,也可连接文本输出。 | |
| run_id | INT | 00–2147483647 | Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。 |
| optionsopt | SA_OPTIONS | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| response_json | STRING | — |