You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/music-generation.md
+14-24Lines changed: 14 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
summary: "Generate music with shared providers or plugin-provided workflows"
2
+
summary: "Generate music with shared providers, including workflow-backed plugins"
3
3
read_when:
4
4
- Generating music or audio via the agent
5
5
- Configuring music generation providers and models
@@ -9,10 +9,9 @@ title: "Music Generation"
9
9
10
10
# Music Generation
11
11
12
-
The `music_generate` tool lets the agent create music or audio through either:
13
-
14
-
- the shared music-generation capability with configured providers such as Google and MiniMax
15
-
- plugin-provided tool surfaces such as a workflow-configured ComfyUI graph
12
+
The `music_generate` tool lets the agent create music or audio through the
13
+
shared music-generation capability with configured providers such as Google,
14
+
MiniMax, and workflow-configured ComfyUI.
16
15
17
16
For shared provider-backed agent sessions, OpenClaw starts music generation as a
18
17
background task, tracks it in the task ledger, then wakes the agent again when
@@ -23,10 +22,6 @@ original channel.
23
22
The built-in shared tool only appears when at least one music-generation provider is available. If you don't see `music_generate` in your agent's tools, configure `agents.defaults.musicGenerationModel` or set up a provider API key.
24
23
</Note>
25
24
26
-
<Note>
27
-
Plugin-provided `music_generate` implementations can expose different parameters or runtime behavior. The async task/status flow below applies to the built-in shared provider-backed path.
28
-
</Note>
29
-
30
25
## Quick start
31
26
32
27
### Shared provider-backed generation
@@ -66,10 +61,10 @@ Generate a cinematic piano track with soft strings and no vocals.
66
61
Generate an energetic chiptune loop about launching a rocket at sunrise.
67
62
```
68
63
69
-
### Workflow-driven plugin generation
64
+
### Workflow-driven Comfy generation
70
65
71
-
The bundled `comfy` plugin can also provide `music_generate`using a
72
-
workflow-configured ComfyUI graph.
66
+
The bundled `comfy` plugin plugs into the shared `music_generate`tool through
67
+
the music-generation provider registry.
73
68
74
69
1. Configure `models.providers.comfy.music` with a workflow JSON and
75
70
prompt/output nodes.
@@ -84,16 +79,11 @@ Example:
84
79
85
80
## Shared bundled provider support
86
81
87
-
| Provider | Default model | Reference inputs | Supported controls | API key |
0 commit comments