upload_audio
Upload local audio files to ComfyUI input directory for audio-conditioned workflows. Returns the stored filename.
Instructions
Upload a local audio file (.wav, .mp3, .flac, .ogg, .m4a, .aac) to the connected ComfyUI's input/ directory for use in audio-conditioned workflows (e.g. LoadAudio). Tries an HTTP multipart upload first (works against a remote --comfyui-url instance), then falls back to a local filesystem copy when COMFYUI_PATH is set. Returns the stored filename. Use upload_image for images or upload_video for video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Absolute path to the local file to upload | |
| filename | No | Override the filename in ComfyUI's input/ directory. Auto-detected from source path if omitted. |