Beat map for a track

On this page

What it does #

Building block audio Queued

Read the rhythm of a music track so your cuts land on the beat: tempo, every beat, the accents, the loud and quiet stretches, and a numbered list of good places to cut.

Alias
oneup/audio-beats
How it runs
Queued — Runs in the background — you get a link when it is ready.
What it takes and what it gives
Audio + Video → JSON

Built for #

  • Cutting a slideshow on the beat
  • Beat-matched property tours
  • Any video with a music bed

Not for #

  • Tracks longer than 10 minutes.
  • Speech: it reads the beat of music, not words; use oneup/speech-transcribe.
  • A finished edit: it returns the beat times, and your Timeline does the cutting.

What this means for you #

  • One flat price per track, whatever its length up to 10 minutes.
  • The same file always gives the same map.

Sample output #

No sample is published yet. When there is one, it will be a real result OneUpAI made, shown here with the request that made it.

What you send, what you get back #

You send #

A music file you uploaded (or one of your assets), up to 10 minutes.

You get back #

A private beat map: the tempo, beat times, accents, energy sections and cut candidates as a small data file. Not a media file.

What you can set #

No settings — send it the example input as-is.

The request #

The same request as an API call, with this capability's example input:

curl -X POST https://api.oneupai.com/v1/queue/submit/oneup/audio-beats \
  -H "Authorization: Bearer $ONEUP_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "audio_url": "https://media.oneupai.com/u/oneup_upload_yourtrack/1790000000/sig"
}'

What comes back #

How it comes back
JSON, on a link
File type
application/json
Each link works for
1 hour; read the result again for a fresh link

The response #

An example of the response, as the API reference shows it (placeholders, not a real run):

{
  "ticket": "oneup_req_SuaNFGGC0b4MGIeOrp78KFRXfR",
  "status": "QUEUED"
}

The request answers at once with a ticket. Poll GET /v1/queue/status/{ticket} until it says COMPLETED, then read GET /v1/queue/result/{ticket}: its full body follows the output schema under Schemas.

How long it takes #

Not yet measured: a time shows here once 50 runs have finished in 30 days.

What it costs #

2 credits

≈ $0.02 at the Concierge rate

For $1 you can run this about 40–48 times, depending on your plan.

Worked prices (Concierge rate) #

  • one track, any length up to 10 minutes: 2 credits, about $0.02
  • five tracks: 10 credits, about $0.11

Limits #

  • Your media: up to 10 minutes
  • Each uploaded file: up to 2 GB

Use it with #

Natural next steps and companions:

  • Rendered short video oneup/render-timeline — Cut your photos and clips into a finished short — cuts, punch-ins, captions, seamless transitions — the same result every time.

Schemas #

No settings — send it the example input as-is.

Show output schema (JSON)
{
  "type": "object",
  "required": [
    "duration_sec",
    "bpm",
    "beats",
    "accents",
    "sections",
    "cut_candidates"
  ],
  "properties": {
    "bpm": {
      "type": "number"
    },
    "beats": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "accents": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "start",
          "end",
          "energy"
        ],
        "properties": {
          "end": {
            "type": "number"
          },
          "start": {
            "type": "number"
          },
          "energy": {
            "enum": [
              "low",
              "medium",
              "high",
              "outro"
            ],
            "type": "string"
          }
        }
      }
    },
    "duration_sec": {
      "type": "number"
    },
    "cut_candidates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "i",
          "t",
          "kind",
          "energy"
        ],
        "properties": {
          "i": {
            "type": "integer"
          },
          "t": {
            "type": "number"
          },
          "kind": {
            "enum": [
              "start",
              "downbeat",
              "accent",
              "section",
              "end"
            ],
            "type": "string"
          },
          "energy": {
            "enum": [
              "low",
              "medium",
              "high",
              "outro"
            ],
            "type": "string"
          }
        }
      }
    }
  },
  "additionalProperties": false
}
Limits, as GET /v1/models gives them
{
  "media_minutes": {
    "max": 10
  },
  "upload_bytes_max": 2000000000
}
What comes back, as GET /v1/models gives it
{
  "type": "application/json",
  "delivery": "annotation",
  "link_expires_in_s": 3600
}

Previously called #

  • oneup/music-analyze — works until Jan 15, 2027

Changelog #

  • Version 1 (Oct 8, 2026): New name; previously oneup/music-analyze. The same input, output and price.
  • Version 1 (Sep 17, 2026): First version.

Every change, newest first, on the changelog

Other audio capabilities #

Background score #

Describe the feeling you want under your video and get back an instrumental track to lay beneath it.

22 credits

Original song #

Describe the style, hand over your lyrics, and get back a finished song you own the rights to use.

7 credits

Sound effect #

Any sound you can describe — a door, a crowd, rain on a roof — as a clip you can drop into an edit.

10 credits

Studio voice #

Our most natural voice — the one for ad reads, trailers and anything a customer will judge you by.

22 credits

Narration voice #

Turn up to a minute of text into natural narration in a named voice.

11 credits

Transcript for captions #

Turn the speech in your audio or video into a word-timed transcript your captions can follow, word by word.

2 credits per started minute of your media