analyze_audio
Extract musical metadata (BPM, genre, mood, key, instruments) and identify AI-generated audio from any track. Optionally transcribe lyrics. Accepts local files or direct URLs.
Instructions
Analyzes a music track or audio file to extract musical metadata (BPM, genre, mood, key, instruments), AI music detection verdict (HUMAN vs AI_GENERATED Suno/Udio neural vocoder risk with confidence index in 'ai_detection'), and optionally vocal lyrics. Supports local audio files via 'filePath' (read in binary and uploaded) or remote URLs via 'fileUrl'. Note: This tool automatically executes a micro-payment (0.15 USDC for standard analysis, or 0.25 USDC when extractLyrics is enabled) via the x402 protocol on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUrl | No | The direct publicly accessible URL (HTTP/HTTPS or IPFS) of the audio file to analyze. | |
| filePath | No | Path to a local audio file on disk (.mp3, .wav, .ogg, .flac, .m4a, .aac, .aiff). Use this whenever analyzing a local file, recording, or email attachment saved locally. | |
| extractLyrics | No | Optional: Set to true to transcribe and extract vocal lyrics in addition to metadata. Costs 0.25 USDC instead of 0.15 USDC. |