ComfyUI Node
OpenAI API 连接 / OpenAI API Connector
A ComfyUI node in Rui-Node🐶/AI模型🤖 with 18 inputs and 1 output.
OpenAI API 连接 / OpenAI API Connector
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- text
◄protocolhttps►
◄api_urlapi.openai.com/v1/chat/completions►
◄api_key►
◄modelgpt-4o►
◄system_promptYou are a helpful assistant.►
◄user_prompt►
◄seed0►
◄temperature0.3►
◄max_tokens500►
◄detailauto►
◄image_max_size1024►
◄proxy_url►
CategoryRui-Node🐶/AI模型🤖
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| protocol | COMBO | https | 2 options: https, http |
| api_url | STRING | api.openai.com/v1/chat/completions | — |
| api_key | STRING | — | |
| model | STRING | gpt-4o | — |
| system_prompt | STRING | You are a helpful assistant. | — |
| user_prompt | STRING | — | |
| seed | INT | 00–18446744073709550000 | — |
| image_1opt | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_5opt | IMAGE | — | |
| image_6opt | IMAGE | — | |
| temperatureopt | FLOAT | 0.30–2 | — |
| max_tokensopt | INT | 5001–8192 | — |
| detailopt | COMBO | auto | 3 options: low, high, auto |
| image_max_sizeopt | INT | 1024256–4096 | — |
| proxy_urlopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |