9e8f1bbeed
Dashboard / frontend (push) Failing after 0s
Dashboard / api (push) Failing after 0s
Lint PowerShell / powershell-lint (ubuntu-latest) (push) Failing after 1s
Python Lint / Lint Python with Ruff (push) Failing after 1s
ShellCheck / Lint shell scripts (push) Failing after 1s
Matrix Smoke / linux-smoke (push) Failing after 1s
Matrix Smoke / distro: cachyos (push) Failing after 15s
Matrix Smoke / distro: linux-mint-21.3 (push) Failing after 15s
Matrix Smoke / distro: debian-12 (push) Failing after 5m21s
Matrix Smoke / distro: fedora-41 (push) Failing after 4m56s
Matrix Smoke / distro: ubuntu-24.04 (push) Failing after 2m13s
Matrix Smoke / distro: rocky-9 (push) Failing after 10m39s
Matrix Smoke / distro: manjaro (push) Failing after 12m11s
Matrix Smoke / distro: opensuse-tw (push) Failing after 11m53s
Matrix Smoke / distro: archlinux (push) Failing after 20m3s
Matrix Smoke / distro: ubuntu-22.04 (push) Failing after 13m49s
Validate .env Schema / tier-1-env-validation (push) Successful in 52s
Validate .env Schema / tier-2-env-validation (push) Successful in 44s
Validate .env Schema / tier-3-env-validation (push) Successful in 52s
Validate .env Schema / tier-4-env-validation (push) Successful in 51s
Validate Extensions Catalog / Check catalog is up-to-date (push) Failing after 9m47s
Secret Scan / Scan for secrets (push) Failing after 21m4s
Validate Docker Compose / Validate Docker Compose files (push) Has been cancelled
Python Type Check / Type check with mypy (push) Has been cancelled
Validate .env Schema / tier-0-env-validation (push) Has been cancelled
Test Linux / integration-smoke (push) Has been cancelled
Lint PowerShell / powershell-lint (windows-latest) (push) Has been cancelled
Matrix Smoke / macos-smoke (push) Has been cancelled
ComfyUI Workflows
This directory contains n8n workflow templates for integrating ComfyUI with other services.
Available Workflows
1. LLM to Image Generation (llm-to-image.json)
This workflow enhances prompts with the LLM, then uses a predefined ComfyUI workflow with the enhanced prompt:
- Webhook: Receives prompts with optional API key authentication
- Input Validation: Validates prompt length, channel format
- LLM Enhancement: Sends to LLM to generate an enhanced image generation prompt
- ComfyUI Execution: Uses the predefined workflow with the enhanced prompt
- Output: Returns enhanced prompt and status to Discord
Use Case
Best for consistent, high-quality image generation with prompt engineering.
Environment Variables
LLM_HOST- LLM server host (default: localhost)LLM_PORT- LLM port (default: 8080)COMFYUI_HOST- ComfyUI host (default: localhost)COMFYUI_PORT- ComfyUI port (default: 8188)COMFYUI_MODEL_NAME- ComfyUI model name (default: flux1-dev.safetensors)LLM_TO_IMAGE_API_KEY- Optional API key for webhook authentication
Usage
curl -X POST http://localhost:5678/webhook/llm-to-image \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key" \
-d '{
"prompt": "A beautiful landscape with mountains",
"channel": "#art"
}'
2. Dynamic Workflow Generation (llm-image-gen.json)
This workflow enables AI-powered image generation by having the LLM generate the ComfyUI workflow JSON dynamically:
- Webhook: Receives image generation prompts via POST to
/comfyui-dynamic-workflow - LLM Processing: Sends the prompt to the LLM (llama-server) to generate a ComfyUI workflow JSON
- ComfyUI Execution: Submits the dynamically generated workflow to ComfyUI for image generation
- Output: Returns status to Discord
Use Case
Best when you want the LLM to adapt the ComfyUI workflow structure based on the prompt complexity and requirements.
Environment Variables
LLM_HOST- LLM server host (default: localhost)LLM_API_PORT- LLM API port (default: 8080)COMFYUI_HOST- ComfyUI host (default: localhost)COMFYUI_PORT- ComfyUI port (default: 8188)COMFYUI_DYNAMIC_API_KEY- Optional API key for webhook authentication
Usage
curl -X POST http://localhost:5678/webhook/comfyui-dynamic-workflow \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key" \
-d '{
"prompt": "Create a photorealistic portrait of a cyberpunk samurai",
"channel": "#art"
}'
Setup
- Import workflows into n8n
- Configure environment variables in your n8n instance
- Ensure ComfyUI is running and accessible
- Ensure LLM server (llama-server) is running and accessible