generate_waveform
Create a PNG waveform image from an audio or video file, with configurable color, scale, size, and optional base64 output for vision models.
Instructions
Generate a PNG waveform image from an audio or video file. Returns the file path and inlined base64 image data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Waveform color in hex or name (such as '0x6366f1', 'white', or 'black'). Default: '0x6366f1'. | 0x6366f1 |
| scale | No | Amplitude scale: 'lin', 'log', or 'sqrt'. Default: 'lin'. | lin |
| width | No | Image width in pixels. Default: 1200. | |
| height | No | Image height in pixels. Default: 280. | |
| inputPath | Yes | Path to the audio or video file. | |
| outputPath | Yes | Destination path for the PNG image. | |
| includeBase64 | No | Return base64 image data in the response for vision models. Default: true. |