From 5c7cbd5d4c3809bc1efc30bf237cced9163404da Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Fri, 24 Apr 2026 20:26:06 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@272313877dc867f83008810302b3b6eba4bb1900 --- .openclaw-sync/source.json | 4 +- docs/help/testing-live.md | 2 +- docs/providers/comfy.md | 104 ++++++++++++++++++--------------- docs/tools/music-generation.md | 2 +- 4 files changed, 61 insertions(+), 51 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 74157f2f6..f0365a10f 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "cf858258c71701ef62dddf88aa777873a4962046", - "syncedAt": "2026-04-24T20:15:45.555Z" + "sha": "272313877dc867f83008810302b3b6eba4bb1900", + "syncedAt": "2026-04-24T20:24:42.755Z" } diff --git a/docs/help/testing-live.md b/docs/help/testing-live.md index 4a08263d3..a24120cb9 100644 --- a/docs/help/testing-live.md +++ b/docs/help/testing-live.md @@ -389,7 +389,7 @@ If you want to rely on env keys (e.g. exported in your `~/.profile`), run local - Enable: `OPENCLAW_LIVE_TEST=1 COMFY_LIVE_TEST=1 pnpm test:live -- extensions/comfy/comfy.live.test.ts` - Scope: - Exercises the bundled comfy image, video, and `music_generate` paths - - Skips each capability unless `models.providers.comfy.` is configured + - Skips each capability unless `plugins.entries.comfy.config.` is configured - Useful after changing comfy workflow submission, polling, downloads, or plugin registration ## Image generation live diff --git a/docs/providers/comfy.md b/docs/providers/comfy.md index b5d47fe7e..de2907ad4 100644 --- a/docs/providers/comfy.md +++ b/docs/providers/comfy.md @@ -46,15 +46,17 @@ Choose between running ComfyUI on your own machine or using Comfy Cloud. ```json5 { - models: { - providers: { + plugins: { + entries: { comfy: { - mode: "local", - baseUrl: "http://127.0.0.1:8188", - image: { - workflowPath: "./workflows/flux-api.json", - promptNodeId: "6", - outputNodeId: "9", + config: { + mode: "local", + baseUrl: "http://127.0.0.1:8188", + image: { + workflowPath: "./workflows/flux-api.json", + promptNodeId: "6", + outputNodeId: "9", + }, }, }, }, @@ -104,7 +106,7 @@ Choose between running ComfyUI on your own machine or using Comfy Cloud. export COMFY_CLOUD_API_KEY="your-key" # Or inline in config - openclaw config set models.providers.comfy.apiKey "your-key" + openclaw config set plugins.entries.comfy.config.apiKey "your-key" ``` @@ -115,14 +117,16 @@ Choose between running ComfyUI on your own machine or using Comfy Cloud. ```json5 { - models: { - providers: { + plugins: { + entries: { comfy: { - mode: "cloud", - image: { - workflowPath: "./workflows/flux-api.json", - promptNodeId: "6", - outputNodeId: "9", + config: { + mode: "cloud", + image: { + workflowPath: "./workflows/flux-api.json", + promptNodeId: "6", + outputNodeId: "9", + }, }, }, }, @@ -163,25 +167,27 @@ Comfy supports shared top-level connection settings plus per-capability workflow ```json5 { - models: { - providers: { + plugins: { + entries: { comfy: { - mode: "local", - baseUrl: "http://127.0.0.1:8188", - image: { - workflowPath: "./workflows/flux-api.json", - promptNodeId: "6", - outputNodeId: "9", - }, - video: { - workflowPath: "./workflows/video-api.json", - promptNodeId: "12", - outputNodeId: "21", - }, - music: { - workflowPath: "./workflows/music-api.json", - promptNodeId: "3", - outputNodeId: "18", + config: { + mode: "local", + baseUrl: "http://127.0.0.1:8188", + image: { + workflowPath: "./workflows/flux-api.json", + promptNodeId: "6", + outputNodeId: "9", + }, + video: { + workflowPath: "./workflows/video-api.json", + promptNodeId: "12", + outputNodeId: "21", + }, + music: { + workflowPath: "./workflows/music-api.json", + promptNodeId: "3", + outputNodeId: "18", + }, }, }, }, @@ -242,15 +248,17 @@ The `image` and `video` sections also support: ```json5 { - models: { - providers: { + plugins: { + entries: { comfy: { - image: { - workflowPath: "./workflows/edit-api.json", - promptNodeId: "6", - inputImageNodeId: "7", - inputImageInputName: "image", - outputNodeId: "9", + config: { + image: { + workflowPath: "./workflows/edit-api.json", + promptNodeId: "6", + inputImageNodeId: "7", + inputImageInputName: "image", + outputNodeId: "9", + }, }, }, }, @@ -299,12 +307,14 @@ The `image` and `video` sections also support: ```json5 { - models: { - providers: { + plugins: { + entries: { comfy: { - workflowPath: "./workflows/flux-api.json", - promptNodeId: "6", - outputNodeId: "9", + config: { + workflowPath: "./workflows/flux-api.json", + promptNodeId: "6", + outputNodeId: "9", + }, }, }, }, diff --git a/docs/tools/music-generation.md b/docs/tools/music-generation.md index 5636a06e6..54f860cda 100644 --- a/docs/tools/music-generation.md +++ b/docs/tools/music-generation.md @@ -64,7 +64,7 @@ Generate an energetic chiptune loop about launching a rocket at sunrise. The bundled `comfy` plugin plugs into the shared `music_generate` tool through the music-generation provider registry. -1. Configure `models.providers.comfy.music` with a workflow JSON and +1. Configure `plugins.entries.comfy.config.music` with a workflow JSON and prompt/output nodes. 2. If you use Comfy Cloud, set `COMFY_API_KEY` or `COMFY_CLOUD_API_KEY`. 3. Ask the agent for music or call the tool directly.