Skip to main content

Module generation

Module generation 

Source
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§

ComfyStatus
What ComfyUI reports about itself before a run.
ComfyUi
GenerationOutcome
GenerationRequest
InstalledWeight
NativeGenerator
NativeOptions
Inputs shared by the CLI, terminal UI, and browser GUI.
NativeOutcome

Enums§

GenerationError

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 report mps.
default_comfyui_dir
RIGSPARK_COMFYUI_DIR, else ~/ComfyUI when 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.

Type Aliases§

Events
GenerationFuture