ComfyUI Node
Create OpenAI Client
A ComfyUI node in duanyll/models/openai with 7 inputs and 1 output.
Create OpenAI Client
- client
◄api_key►
◄base_urlhttps://api.openai.com/v1►
◄timeout300►
◄image_upload_modemultipart_form►
◄multipart_image_fieldimage[]►
◄transportrequests►
◄curl_pathcurl►
Categoryduanyll/models/openai
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| base_url | STRING | https://api.openai.com/v1 | — |
| timeout | INT | 3001–3600 | — |
| image_upload_mode | COMBO | multipart_form | 2 options: json_base64, multipart_form |
| multipart_image_field | COMBO | image[] | 2 options: image[], image |
| transport | COMBO | requests | 2 options: requests, curl |
| curl_path | STRING | curl | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| client | OPENAI_CLIENT | — |