Set ComfyUI Cloud API key
Configures or updates the ComfyUI Cloud API key for a team. If a credential already exists, it is replaced. The API key is encrypted at rest.
Documentation Index
Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
"019abc12-4567-7890-abcd-ef1234567891"
Body
Set or update the ComfyUI Cloud API key for a team. The API key is encrypted at rest using AES-256-GCM. Each team can have one credential per provider.
ComfyUI Cloud API key obtained from https://comfy.org/api.
1 - 512"cfy_xxxxxxxxxxxxxxxxxxxx"
When enabled, tasks targeting local compute will automatically fall
back to ComfyUI Cloud if no local agent is available. Requires an
active API key.
Response
Cloud provider credential saved
Cloud provider credential status (API key is masked).
Cloud provider identifier.
"comfy_cloud"
Current status of the credential.
active, revoked "active"
Whether automatic cloud fallback is enabled.
false
Timestamp when the credential was first configured.
"2025-06-01T12:00:00Z"
Timestamp when the credential was last updated.
"2025-06-15T08:30:00Z"
Masked preview of the API key (first 8 and last 4 characters).
"cfy_xxxx...xxxx"
