# Suno v1 · Introduction

> 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).

## How to call
1. Authenticate with `Authorization: Bearer <API_KEY>` and POST JSON to `/api/cqt/suno/v1/{endpoint}` (GET endpoints take their parameters in the URL).
2. Create- and export-type endpoints return `{"code":200,"data":{"taskId":number}}` on submit; stems, upload, lyrics and MP4 work the same way, the other endpoints return the result synchronously.
3. Call the matching query endpoint with the taskId every 5–10 seconds until `data.status` is `success` (for create tasks also every song’s `status` must be `complete`); on failure the credits are refunded automatically: `sunoInfo` still answers `code` 200 with `data.status` `failed` and the reason in `data.failReason`, while the other “Get … result” endpoints answer `code` 500 with the reason in `msg`.
4. The above is how the native endpoints on this page work. Prefer the OpenAI-style entry? `POST /v1/audio/generations` with `model` `suno_v1` (optionally with a version, e.g. `suno_v1-v45`), pick create / extend / cover and the rest with `task`, and poll `GET /v1/audio/generations/{id}` with the `audio_v1_…` id. See the “Suno v1 (suno_v1)” section of `/docs/guide/music`.

## Credits
- Endpoints that cost credits pre-deduct at submit and refund immediately if the submit fails; if the task fails later, the refund happens the moment your query sees the failure.
- Credits are matched by “endpoint:model” (endpoints without a model field are matched by endpoint name only); your account rate is applied on top.
- Endpoints that do not consume credits: every “Get … result” query endpoint, audioArchive and generateImage.

## Create & edit
- **Create music** (`POST /api/cqt/suno/v1/createMusicTask`) — Create a brand-new song from scratch: give a one-line description, or lyrics plus style tags; you get two candidates per run.
- **Extend music** (`POST /api/cqt/suno/v1/extendMusicTask`) — Continue an existing song from a given second and make it longer.
- **Replace section** (`POST /api/cqt/suno/v1/replaceMusicTask`) — Rewrite one section of a song (lyrics or melody) and keep the rest unchanged.
- **Cover song** (`POST /api/cqt/suno/v1/coverSongTask`) — Take an existing song as the base and reinterpret it in a new style (a cover).
- **Generate from audio** (`POST /api/cqt/suno/v1/generateFromAudioTask`) — Use a piece of your own audio as the opening and let the AI continue it into a full song.
- **Generate from audio ID** (`POST /api/cqt/suno/v1/generateFromAudioIdTask`) — Same as "Generate from audio", but the audio was uploaded earlier with uploadTask and is referenced by its audio ID.
- **Artist-style generation (persona)** (`POST /api/cqt/suno/v1/artistConsistencyTask`) — Create a song using the voice and style of a persona, so that several songs feel like the same “singer”.
- **Extend (optionally with persona)** (`POST /api/cqt/suno/v1/remixExtend`) — The full-featured, web-style form of “Extend music”: besides extending, it can carry a persona, cover and infill parameters.
- **Merge music** (`POST /api/cqt/suno/v1/mergeMusicTask`) — Merge a replaced (Replace Section) or extended segment back into one complete song.

## Stems & persona
- **Split into 2 stems** (`POST /api/cqt/suno/v1/generateStemsNewTask`) — Split a song into two tracks, vocals and instrumental, that you can download separately.
- **Split into all stems (12)** (`POST /api/cqt/suno/v1/generateStemsAllTask`) — Split a song into 12 separate tracks that you can download individually.
- **Make persona** (`POST /api/cqt/suno/v1/makePersona`) — Turn the vocals of a song into a reusable “persona” that you can apply later with persona_id.

## Upload
- **Upload audio** (`POST /api/cqt/suno/v1/uploadTask`) — Submit your audio to the system and get back an audio ID that “Generate from audio ID” and similar endpoints can reuse.

## Lyrics
- **Generate lyrics** (`POST /api/cqt/suno/v1/generateLyricsTask`) — Write lyrics from a one-line description.
- **Get lyrics timing** (`GET /api/cqt/suno/v1/lyrics`) — Get the lyrics timing of a song, for synced lyrics scrolling.

## Export & analysis
- **Generate MP4** (`POST /api/cqt/suno/v1/generateMp4`) — Export a song as an MP4 video.
- **Format WAV** (`GET /api/cqt/suno/v1/formatWav`) — Convert a song to lossless WAV.
- **Get downbeats** (`GET /api/cqt/suno/v1/downbeats`) — Analyze the beat positions (downbeat timestamps) of a song.

## Utilities
- **Upsample tags** (`POST /api/cqt/suno/v1/upsampleTags`) — Expand a few simple style words into richer tags that work better with Suno.
- **Generate image from prompt** (`POST /api/cqt/suno/v1/generateImage`) — Generate an image from a prompt (usable as a song cover).
- **Re-archive for fresh download links** (`POST /api/cqt/suno/v1/audioArchive`) — Audio URLs of older songs expire. This endpoint re-archives songs by ID and returns fresh, expiring links you can download or play.

## Compatible endpoints
- **Create music (compatible form)** (`POST /api/cqt/suno/v1/generate`) — Another field spelling of “Create music”, for callers used to the prompt / style / customMode / instrumental naming.
- **Extend music (compatible form)** (`POST /api/cqt/suno/v1/generate/extend`) — Another field spelling of “Extend music”: the audioId / continueAt / defaultParamFlag naming.

## Query results
- **Get music result** (`GET /api/cqt/suno/v1/sunoInfo`) — Check the progress and the finished songs of create-type tasks (create / extend / replace / cover / merge / compatible forms and so on).
- **Get stems result (2 stems)** (`GET /api/cqt/suno/v1/getStemsResult`) — Check the progress and result of a “Split into 2 stems” task.
- **Get all-stems result (12 stems)** (`GET /api/cqt/suno/v1/getStemsAllResult`) — Check the progress and result of a “Split into all stems” task (behaves exactly like getStemsResult).
- **Get MP4 result** (`GET /api/cqt/suno/v1/getMp4Result`) — Check the progress and video link of a “Generate MP4” task.
- **Get upload result** (`GET /api/cqt/suno/v1/getUploadTask`) — Check the progress and result of an “Upload audio” task; take the audio ID from it when done.
- **Get lyrics result** (`GET /api/cqt/suno/v1/getLyricsTask`) — Check the progress and lyrics of a “Generate lyrics” task.

## Common errors
| code | msg | Meaning | How to fix |
| --- | --- | --- | --- |
| 400 | If you don't have enough points, please top up | Not enough credits; nothing was charged and no task was created. | Top up and retry. |
| 400 | body_not_readable: 请求体格式错误 | The body is not a valid JSON object, or a field has the wrong type (for example a number written as a string). | Check the JSON and the field types. Unknown fields are ignored, not an error. |
| 400 | param_missing: 缺少参数: taskId | A required query parameter (taskId / songId) of a GET endpoint is missing. | Add the parameter to the URL. |
| 500 | 积分规则未配置或禁用: createMusicTask:<model> | There is no usable price rule for this “endpoint:model” combination (usually a wrong or missing model). | Check the model value; if it still fails, contact support to confirm the model is enabled for you. |
| 500 | The request is too fast. Please try again later | A concurrency conflict while deducting credits (the same account submitting in a very short time). | Wait a moment and retry; nothing was charged. |
| 500 | official website fluctuations | The official side is fluctuating and rejected the submit. | Retry later; the credits are refunded automatically. |
| 500 | 系统异常，请稍后重试 / 数据异常，请稍后重试 | An internal gateway error, or the request refers to a task that does not exist (for example a generateMp4 taskId not submitted through v1). | Check where the taskId came from and retry; any credits already charged are refunded automatically. |
| 500 | no data error | sunoInfo cannot find the task (wrong taskId, or the running task was not submitted by you). | Make sure the taskId comes from a v1 create task you submitted. |
