# Adjust Speed

**What**：Speed up or slow down audio.

**When**：Use to make a song faster or slower.

## Endpoints
- POST `/api/cqt/generator/suno` (task: `adjustSpeed`)
- GET `/api/cqt/info/suno?id={taskId}`

## Request params
| Param | Type | Required | Description |
| --- | --- | --- | --- |
| task | string | Yes | Fixed value: adjustSpeed |
| clipId | string | Yes | Source clip ID |
| speedMultiplier | number | Yes | Speed multiplier, 0.25-4.0 (1.0 = original) |
| keepPitch | bool | — | Keep original pitch (true recommended) |
| title | string | — | New title (optional) |

## Request example
```bash
curl -X POST https://api.novapi.ai/api/cqt/generator/suno \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{ "task":"adjustSpeed", "clipId":"7ee2469e-4e94-4cbc-95c5-690a69191879", "speedMultiplier":1.25 }'
# -> { "code":200, "data":"<taskId>" }
```

## Response example
```json
{
  "code": 200,
  "msg": "success",
  "data": {
    "id": "2c2ad0224a414a89817e4d7f97764dc9",
    "taskType": "adjustSpeed",
    "status": "succeeded",
    "errorMsg": "",
    "param": {
      "task": "adjustSpeed",
      "clipId": "7ee2469e-4e94-4cbc-95c5-690a69191879",
      "speedMultiplier": 1.25
    },
    "result": {
      "clip": {
        "id": "ad655696-0c2a-4a85-962c-3a24aff71aef",
        "title": "Słodka rapsodia (Remix)",
        "handle": "mosellesantiagoxfslm",
        "status": "complete",
        "user_id": "9ad4dbdb-9010-4f07-98f1-537b876e3fb9",
        "metadata": {
          "tags": "male, Spokojna ballada … （风格描述已省略）",
          "type": "edit_speed",
          "prompt": "Ciężko dzisiaj harowałem, … （完整歌词已省略）",
          "duration": 219.65,
          "is_remix": true,
          "has_vocal": false,
          "speed_clip_id": "7ee2469e-4e94-4cbc-95c5-690a69191879",
          "uses_latest_model": false,
          "can_publish_with_vocal": false
        },
        "audio_url": "https://cdn1.suno.ai/ad655696-0c2a-4a85-962c-3a24aff71aef.mp3",
        "image_url": "https://cdn2.suno.ai/image_7ee2469e-4e94-4cbc-95c5-690a69191879.jpeg",
        "image_large_url": "https://cdn2.suno.ai/image_large_7ee2469e-4e94-4cbc-95c5-690a69191879.jpeg",
        "video_url": "",
        "media_urls": [
          { "url": "https://d2lwuy8qc234o3.cloudfront.net/1/clip/ad655696-0c2a-4a85-962c-3a24aff71aef.m4a", "delivery": "progressive", "content_type": "m4a-opus" },
          { "url": "https://cdn1.suno.ai/ad655696-0c2a-4a85-962c-3a24aff71aef.mp3", "delivery": "progressive", "content_type": "mp3" }
        ],
        "model_name": "chirp-auk",
        "batch_index": 0,
        "created_at": "2026-07-08T09:10:02.264Z",
        "major_model_version": "v4.5-all"
      }
    },
    "createTime": "2026-07-08 17:10:01",
    "completeTime": "2026-07-08 17:10:26"
  }
}
```

## Response fields
| Field | Type | Description |
| --- | --- | --- |
| code | number | Status code; 200 = success |
| msg | string | Message |
| data.id | string | Task ID (the taskId returned on submit) |
| data.taskType | string | Task type; always "adjustSpeed" |
| data.status | string | Status: pending / succeeded / failed |
| data.param | object | Echo of the request params you submitted |
| data.result | object | ⚠ An object; the single result lives under result.clip (not an array) |
| data.result.clip.id | string | The speed-adjusted clip’s clipId |
| data.result.clip.title | string | Title, with a "(Remix)" suffix |
| data.result.clip.audio_url | string | Speed-adjusted audio URL (mp3) |
| data.result.clip.image_url | string | Cover image URL (image_large_url is the large one) |
| data.result.clip.status | string | Clip status; "complete" = ready to download |
| data.result.clip.metadata.type | string | Underlying type: edit_speed |
| data.result.clip.metadata.speed_clip_id | string | Source clip ID that was sped up/down (= the clipId you passed) |
| data.result.clip.metadata.duration | number | Total duration after speed change (seconds) |
| data.result.clip.media_urls | array | Multi-format audio URLs (m4a-opus / mp3) |
| data.result.clip.major_model_version | string | Model version, e.g. v4.5-all |
| data.createTime / completeTime | string | Task submit time / completion time |
| 其它字段 | — | action_config / model_badges / avatar_image_url, etc. are for Suno UI and can be ignored |

## OpenAI-style call
This task is also available via `POST /v1/audio/generations` (add `task: "adjustSpeed"` to the body, write model as suno-v6); poll `GET /v1/audio/generations/{id}`, non-audio results are in `result`.

```bash
curl -X POST https://api.novapi.ai/v1/audio/generations \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "suno",
  "task": "adjustSpeed",
  "clipId": "7ee2469e-4e94-4cbc-95c5-690a69191879",
  "speedMultiplier": 1.25
}'
# -> { "id":"audio_<taskId>", "object":"audio.generation", "status":"queued", ... }
# poll: GET https://api.novapi.ai/v1/audio/generations/audio_<taskId>
```
