# Get downbeats

> Suno v1 has its own task system, different from Suno v2: a submit returns a numeric taskId and results come from the v1 query endpoints; task IDs and result formats are not interchangeable between the two. For the OpenAI-style entry use /v1/audio/generations (model suno_v1).

**What**：Analyze the beat positions (downbeat timestamps) of a song.

**When**：Use it for beat-synced videos or auto-editing. Synchronous, no polling.

## Endpoints
- Call (synchronous): GET `/api/cqt/suno/v1/downbeats`

## Query parameters
| Param | Type | Required | Description |
| --- | --- | --- | --- |
| songId | string | Yes | Song clip ID (clip id). |

## Request example
```bash
curl -G https://api.novapi.ai/api/cqt/suno/v1/downbeats \
  -H 'Authorization: Bearer <API_KEY>' \
  --data-urlencode 'songId=<clipId>'
# -> { "code":200, "msg":"success", "data":{ …节拍… } }
```

## Response example
```json
{
  "code": 200,
  "msg": "success",
  "data": {
    "state": "complete",
    "downbeats": [
      [
        0.67846,
        1
      ],
      [
        1.62804,
        2
      ],
      [
        2.57758,
        3
      ],
      "…"
    ],
    "raw_downbeats": [
      [
        0.62,
        1
      ],
      [
        1.56,
        2
      ],
      "…"
    ],
    "downbeat_presence_confidence": 1,
    "onset_map": {
      "0.0053": 32.33402,
      "10.17547": 26.81861,
      "…": "…"
    }
  }
}
```

## Response fields
| Field | Type | Description |
| --- | --- | --- |
| data.state | string | Analysis state; complete when done. |
| data.downbeats | array | List of beats, each [time in seconds, beat number within the bar]; [0.67846, 1] means the first beat (the downbeat) at 0.678 s. |
| data.raw_downbeats | array | The raw, unsmoothed beats, in the same format as downbeats. |
| data.downbeat_presence_confidence | number | Confidence that downbeats were detected. |
| data.onset_map | object | Onset strength map: keys are times (seconds, as strings), values are strengths. |
