analyze_audio
Extract musical metadata (BPM, genre, mood, key, instruments), detect AI-generated audio, and score A&R fit from audio files or URLs; optionally transcribe lyrics.
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'), explainable A&R scoring v2 in 'arEvaluation' (discovery / signing / beatmaker profiles, AI gate, vocal vs instrumental), and optionally vocal lyrics. Supports local audio files via 'filePath' (read in binary and uploaded) or remote URLs via 'fileUrl'. Cost: 0.15 USDC per track, 0.25 USDC with lyrics, paid per request with an x402 micro-payment 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. |