ComfyUI Remote Gateway
Fail-closed routing policy for remote ComfyUI jobs.
This package is the independent Python policy core. It has no provider credentials, no GPU deployment template and no ComfyUI-loaded custom node. Remote execution requires both server policy and an explicit request from the browser. Invalid workflow references or a profile outside the allowlist fail closed.
Install
pip install comfyui-remote-gateway
Example
from comfyui_remote_gateway import RemotePolicy, route
policy = RemotePolicy.from_names(("image", "video"))
request = {
"client_id": "operator-17",
"prompt": {"1": {"class_type": "KSampler", "inputs": {}}},
"extra_data": {"comfyui_remote": {"enabled": True, "profile": "image"}},
}
remote_job = route(request, policy, server_enabled=True)
assert remote_job is not None
assert remote_job.profile.name == "image"
Scope
This is not a ComfyUI extension and does not redistribute ComfyUI or custom nodes. Keep an integration that is loaded by ComfyUI, and any built image, under its own file-level license and provenance review. The reference implementation in this repository is MIT; it does not change the license of ComfyUI or other components used by an integrator.
Development
PYTHONPATH=src python -m unittest discover -s tests -v
uv build
License
MIT. See LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfyui_remote_gateway-0.1.0.tar.gz.
File metadata
- Download URL: comfyui_remote_gateway-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef6d3690dd1ff09748d0276e5d74147590791d93ab0defcf2d1fab6bb84e2eba
|
|
| MD5 |
e3faf628969b78db3d91b924e9e7aff3
|
|
| BLAKE2b-256 |
b8cecfb950dc064f09aeb4dd211907748f06fbbbe9cf81ed70e9ddfcc3bed345
|
Provenance
The following attestation bundles were made for comfyui_remote_gateway-0.1.0.tar.gz:
Publisher:
publish.yml on Mihailorama/comfyui-remote-gateway
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comfyui_remote_gateway-0.1.0.tar.gz -
Subject digest:
ef6d3690dd1ff09748d0276e5d74147590791d93ab0defcf2d1fab6bb84e2eba - Sigstore transparency entry: 2531608976
- Sigstore integration time:
-
Permalink:
Mihailorama/comfyui-remote-gateway@c4ef45d459d81d108575cf3c1fe2314f82d084c1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Mihailorama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4ef45d459d81d108575cf3c1fe2314f82d084c1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file comfyui_remote_gateway-0.1.0-py3-none-any.whl.
File metadata
- Download URL: comfyui_remote_gateway-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
697fb3910aa02471cc4e183403954bf2bc5a8972923d9789beb1a0dd111d8897
|
|
| MD5 |
28e366fcac720f5d96a1a8bb2c5f9d00
|
|
| BLAKE2b-256 |
25a6349f798b058ca0349da7fc097e1ff06b2c82721e91581e9ce1a4b33e4efa
|
Provenance
The following attestation bundles were made for comfyui_remote_gateway-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Mihailorama/comfyui-remote-gateway
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comfyui_remote_gateway-0.1.0-py3-none-any.whl -
Subject digest:
697fb3910aa02471cc4e183403954bf2bc5a8972923d9789beb1a0dd111d8897 - Sigstore transparency entry: 2531609048
- Sigstore integration time:
-
Permalink:
Mihailorama/comfyui-remote-gateway@c4ef45d459d81d108575cf3c1fe2314f82d084c1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Mihailorama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4ef45d459d81d108575cf3c1fe2314f82d084c1 -
Trigger Event:
release
-
Statement type: