https://github.com/lceric/comfyui-gpt-image
https://github.com/lceric/comfyui-gpt-image
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lceric/comfyui-gpt-image
- Owner: lceric
- License: mit
- Created: 2025-04-27T10:03:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-27T11:32:18.000Z (about 2 months ago)
- Last Synced: 2025-04-27T11:38:34.894Z (about 2 months ago)
- Language: Python
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **comfyui-gpt-image** - API node, adding support for customizable api_base, auth_token, and model settings. (All Workflows Sorted by GitHub Stars)
README
## comfyui-gpt-image
`comfyui-gpt-image` ports the official ComfyUI GPT-API node, adding support for customizable `api_base`, `auth_token`, and `model` settings.
### Features
- Configure custom API endpoints (`api_base`)
- Support for authentication tokens (`auth_token`)
- Easily specify different GPT models (`model`)
- Seamless integration with ComfyUI### Requirements
- Python 3.10+
- ComfyUI (latest version recommended)### Installation
Clone the repository into ComfyUI's custom_nodes directory:
```bash
cd ComfyUI/custom_nodesgit clone https://github.com/lceric/comfyui-gpt-image
Install the required Python dependencies:
``````bash
cd comfyui-gpt-imagepip install -r requirements.txt
```Restart ComfyUI. The new GPT node will be automatically loaded and available for use.
### Preview
Here’s a quick look at the GPT-API node inside ComfyUI:
**生成图片**

**编辑图片**

### Usage
After restarting ComfyUI:
- Locate the GPT-API node in the node list.
- Configure your `api_base`, `auth_token`, and `model` parameters as needed.
- Connect it to your workflow and start generating content with GPT!### Configuration
Parameter | Description
api_base | Base URL of your GPT API endpoint.
auth_token | Authentication token for secured API access.
model | Model name to be used (e.g., `gpt-image-1`, `gpt-image-1-all`).### Troubleshooting
Node not showing up?
Make sure you installed all dependencies and restarted ComfyUI.### API errors?
Double-check your api_base, auth_token, and model values.
### License
This project is licensed under the MIT License.
### Acknowledgements
[ComfyUI](https://www.comfy.org/zh-cn/) - Powerful node-based UI for generative AI.
Thanks to the ComfyUI community for inspiration and support!