BPM and duration
Use tempo and analyzed duration to classify tracks, estimate pacing, and select editing presets.
Audio analysis API for video automation
BeatSync API analyzes short audio files and returns BPM, beat timestamps, downbeats, cut points, and segments that are ready for short-form video pipelines.
{
"duration": 34.12,
"bpm": 99.4,
"beats": [
{ "time": 0.61, "confidence": 0.92 },
{ "time": 1.22, "confidence": 0.94 }
],
"cut_points": [
{ "time": 4.84, "score": 0.88, "type": "beat" }
],
"meta": {
"engine": "beat_this",
"audio_duration": 34.12
}
} What it returns
Use tempo and analyzed duration to classify tracks, estimate pacing, and select editing presets.
Frame cuts, captions, transitions, and motion effects around timestamped beat positions.
Use scored cut points and segments as practical edit hints instead of raw audio features only.
API shape
Send a public audio_url through RapidAPI, or upload an audio file
with multipart/form-data. Direct uploads are capped at 50 MB and
stored in R2 before analysis.
curl --request POST \
--url https://beatsyncapi.p.rapidapi.com/v1/analyze-sync \
--header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
--header "X-RapidAPI-Host: beatsyncapi.p.rapidapi.com" \
--header "Content-Type: application/json" \
--data '{
"audio_url": "https://example.com/track.mp3",
"mode": "beat_sync"
}'
curl --request POST \
--url https://beatsyncapi.p.rapidapi.com/v1/analyze-sync \
--header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
--header "X-RapidAPI-Host: beatsyncapi.p.rapidapi.com" \
--form "mode=beat_sync" \
--form "file=@clip.mp3;type=audio/mpeg" Use cases
Auto-align cuts, overlays, zooms, and transitions to music beats.
Turn uploaded audio into deterministic timing inputs for batch video generation.
Precompute beat grids for scheduling, preview generation, and editing suggestions.