ComfyUI Extension: xAI Imagine Api
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.
ComfyUI custom node for xAI Imagine API.
README
ComfyUI Custom Node Template
Starter template for building ComfyUI custom nodes with TypeScript frontend. Example use: ComfyUI Node Organizer
Quick Start
- Click "Use this template" > "Create a new repository"
- Clone your new repository
- Update the placeholders below
- Run
pnpm install - Run
pnpm devto start development
Required Updates
After creating from template, search and replace these values:
| Search for | Replace with |
|------------|--------------|
| comfyui-custom-node | Your package slug (e.g., comfyui-my-feature) |
| My Custom Node | Your display name (e.g., My Feature) |
| A ComfyUI custom node | Your description |
| Your Name | Your name |
| your-username | Your GitHub/ComfyUI registry username |
Files to update
package.json- name, description, authorpyproject.toml- name, description, URLs, PublisherId, DisplayName, Iconsrc/constants.ts- SETTINGS_PREFIXsrc/index.ts- extension name, homepage URLassets/icon.svg- replace with your iconLICENSE- update copyright holder
Development
- Clone/symlink this folder into ComfyUI's
custom_nodes/directory - Run
pnpm install - Run
pnpm devto watch for changes and rebuilddist/
pnpm install # Install dependencies
pnpm dev # Watch mode - rebuilds dist/ on change
pnpm build # Build for production
pnpm test # Run tests
Note: Reload ComfyUI frontend (browser refresh) for JS changes. Restart ComfyUI server for Python changes.
Publishing to ComfyUI Registry
- Ensure all fields in
pyproject.tomlare correct - Add
REGISTRY_ACCESS_TOKENsecret to your repo (from ComfyUI registry) - Go to Actions → "Publish to Comfy registry" → Run workflow
- Select version bump type (patch/minor/major)
License
MIT
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.