ComfyUI Extension: ComfyUI-NanoGPT_ImageGeneration

Authored by myonmu0

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Custom node to generate a image using NanoGPT API

Looking for a different extension?

Custom Nodes (1)

README

NanoGPT ImageGeneration

Custom node for NanoGPT image generation, use directly on ComfyUI or via SillyTavern, OpenWebUI etc.<br /> I made this to use the image models included on 8$ plan, but may work with other models too.

Install

  1. Install the node
cd ComfyUI/custom_nodes/
git clone https://github.com/myonmu0/ComfyUI-NanoGPT_ImageGeneration
  1. Edit nodes.py and put your NanoGPT api key as follow:
API_KEY = "sk-nano-XXXX-XXXX-XXXX-XXXX-XXXX"

Usage

  1. Image Generation: Load examples/workflow.json to ComfyUI, select the model and run, to use in SillyTavern or OpenWebUI etc, on ComfyUI go to Menu > File > Export (API) and load that json on your UI. example

  2. Image Edit: Use qwen-image model, Image Edit won't work on z-image-turbo, chroma or hidream.<br /> Also this works on OpenWebUI.<br /> example

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more