Expand description
Local image/video generation through an attached, loopback-only ComfyUI server.
Only built-in workflows composed of allowlisted core nodes are ever submitted, so paid ComfyUI Partner (API) nodes and cloud services can never be reached through rigspark.
Structs§
- Comfy
Status - What ComfyUI reports about itself before a run.
- ComfyUi
- Generation
Outcome - Generation
Request - Installed
Weight - Native
Generator - Native
Options - Inputs shared by the CLI, terminal UI, and browser GUI.
- Native
Outcome
Enums§
Constants§
- DEFAULT_
PORT - LOCAL_
NODES - Core ComfyUI nodes used by the built-in workflows; anything else is refused.
- MAX_
PROMPT_ BYTES - MAX_
SEED
Traits§
- Generator
- Injectable generation boundary so the TUI and GUI can be tested without ComfyUI.
Functions§
- apple_
mps - ComfyUI reports its compute device per
/system_stats; Apple GPUs reportmps. - default_
comfyui_ dir RIGSPARK_COMFYUI_DIR, else~/ComfyUIwhen it looks like a ComfyUI install.- ensure_
local_ only - Fails closed unless every node is an allowlisted core local node.
- output_
extension - prepare
- Validates everything that needs no hardware, network, or ComfyUI access.
- random_
seed - Random seed in the JSON-safe integer range, reported back so runs are reproducible.
- run_
native - Full local run: validate, check memory fit, then drive the loopback ComfyUI server.
- validate_
prompt - workflow
- Builds the API-format graph published in the official ComfyUI examples.