Audio Event Detection (batch)
Returnsapplication/json.
probs carries only the events the model confidently detected, so it is not a fixed set of keys and is frequently short. When nothing clears the threshold it is {}. Both fields are always present on a 200.
Entries are independent: each is that event’s own probability, they are not mutually exclusive, and they are not expected to sum to 1. Threshold each event you care about on its own.
Because entries are independent, overlapping sounds each score on their own merits. A clip with applause over laughter returns both near 1, rather than splitting one budget between them.
Key names are case-sensitive, capitalized, and underscore-separated throughout.
Try it
Output
Response
Response
probs is empty:What you can configure
There are no other parameters. The model scores a fixed vocabulary of 42 events, but the response carries only those it detected.
Audio formats
Accepted extensions:.aac, .aiff, .flac, .mov, .mp3, .mp4, .ogg, .opus, .wav, .webm.
Maximum file size is 100 MB. Empty files are rejected with 400, as are files whose audio cannot be decoded.
Supported events
Any of these 42 can appear inprobs:
Acoustic_guitar, Applause, Bark, Bass_drum, Burping_or_eructation, Bus, Cello,
Chime, Clarinet, Computer_keyboard, Cough, Cowbell, Crying, Double_bass,
Drawer_open_or_close, Electric_piano, Fart, Finger_snapping, Fireworks, Flute,
Glockenspiel, Gong, Gunshot_or_gunfire, Harmonica, Hi_hat, Keys_jangling, Knock,
Laughter, Meow, Microwave_oven, Oboe, Saxophone, Scissors, Shatter, Snare_drum,
Squeak, Tambourine, Tearing, Telephone, Trumpet, Violin_or_fiddle, Writing.