comfyui_generate_audio
Generate audio or music from a text prompt, with optional lyrics and duration, using the ComfyUI audio workflow.
Instructions
Generate audio/music with the default audio workflow (preset "audio").
prompt describes the sound/style, lyrics is for song models, duration in seconds.
Empty arguments keep the workflow's own values. extra sets more workflow params or raw
"." overrides; workflow swaps the preset for another workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "comfyui_generate_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| wait | No | ||
| extra | No | ||
| steps | No | ||
| lyrics | No | ||
| prompt | Yes | ||
| timeout | No | ||
| duration | No | ||
| workflow | No | ||
| negative_prompt | No |