Skip to content

Instantly share code, notes, and snippets.

View thinkyhead's full-sized avatar
🤓
Squashing Marlin bugs.

Scott Lahteine thinkyhead

🤓
Squashing Marlin bugs.
View GitHub Profile
@thinkyhead
thinkyhead / OpenWebUI-GenerateImage-flux-schnell-fp8.json
Last active December 21, 2024 23:47
ComfyUI FLUX Workflow for Open WebUI
{
"6": {
"inputs": {
"text": "prompt",
"clip": [
"11",
0
]
},
"class_type": "CLIPTextEncode"
@thinkyhead
thinkyhead / _ComfyTerm.md
Last active January 20, 2025 03:54
Imagine with ComfyUI in iTerm2, Ghostty, etc.

ComfyUI Terminal Inline Image

Invoke ComfyUI in a terminal program like Ghostty (Kitty Terminal Graphics Protocol) or iTerm2 (Inline Images Protocol) and display the resulting image inline.

Usage

usage: imagine-v1.py [-h] [--comfyui COMFYUI] [--workflow WORKFLOW] [--model MODEL] [--seed SEED]
                     [--steps STEPS] [--sampler SAMPLER] [--scheduler SCHEDULER]
                     [--negative NEGATIVE] [--ratio RATIO] [--size SIZE] [--width WIDTH]
                     [--height HEIGHT] [--scale SCALE]
                     [prompt]
#!/usr/bin/env python
#
# Conway's Game of Life (Three Color Variant)
# Author: @thinkyhead
# Date: 11 Oct 2024
#
# P = PAUSE
# Q = QUIT
# K = CLEAR
# B = SPAWN BLINKERS