# Suno · Upload And Cover Audio API

> Upload your own audio and generate a cover of it.

- **Provider**: Suno
- **Model id**: `suno-upload-cover`
- **Modality**: music
- **Price**: 13.21 credits

## Overview

Suno · Upload And Cover Audio is called in two steps: create a generation task, then poll the task until the result is ready.

## Authentication

All requests require a Bearer Token in the request header:

```
Authorization: Bearer YOUR_API_KEY
```

## Create Task

`POST https://you.bot/api/v1/generate`

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| modelId | string | Yes | Model id: `suno-upload-cover` |
| input | object | Yes | Input parameters object (see below) |
| callbackUrl | string | No | https URL we POST the finished task to. Signed with `X-Webhook-Signature` once you create a webhook signing key in Dashboard → Settings |

### input object parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| uploadUrl | string | Yes | Image URL |
| customMode | boolean | No | True/false (default: false) |
| instrumental | boolean | No | True/false (default: false) |
| modelVersion | string | Yes | Options: V5_5 \| V5 \| V4_5PLUS \| V4_5 \| V4_5ALL \| V4 (default: V5_5) |
| prompt | string | Conditional | when `customMode` is `false`: Text value Max 500 characters. · when `customMode` is `true` and `modelVersion` is `V5_5`/`V5`/`V4_5PLUS`/`V4_5`/`V4_5ALL`: Used verbatim as the sung lyrics. Required unless Instrumental is on. Max 5000 characters. · when `customMode` is `true` and `modelVersion` is `V4`: Used verbatim as the sung lyrics. V4 allows up to 3,000 characters. Max 3000 characters. |
| style | string | Conditional | when `customMode` is `true` and `modelVersion` is `V5_5`/`V5`/`V4_5PLUS`/`V4_5`/`V4_5ALL`: Text value Max 1000 characters. · when `customMode` is `true` and `modelVersion` is `V4`: V4 allows up to 200 characters. Max 200 characters. |
| title | string | No | Text value Max 80 characters. |
| negativeTags | string | No | Text value Max 200 characters. |
| duration | number | No | Track length in seconds, 10-360. Only used by V5_5 in Custom Mode. (range 10-360) |
| vocalGender | string | No | Options:  \| m \| f |
| styleWeight | number | No | Range 0-1 |
| weirdnessConstraint | number | No | Range 0-1 |
| audioWeight | number | No | Range 0-1 |

### Request example

```json
{
  "modelId": "suno-upload-cover",
  "input": {
    "uploadUrl": "https://you.bot/examples/suno-v4-5.mp3",
    "customMode": false,
    "instrumental": false,
    "modelVersion": "V5_5",
    "prompt": "An upbeat synthwave track with driving bass, bright arpeggios and a nostalgic 80s feel.",
    "negativeTags": "example",
    "vocalGender": "",
    "styleWeight": 0,
    "weirdnessConstraint": 0,
    "audioWeight": 0
  }
}
```

### Response example

```json
{
  "taskId": "281e5b0…f39b9",
  "creditsCharged": 13.21
}
```

## Query Task

`GET https://you.bot/api/v1/task/{taskId}?model=suno-upload-cover`

When `state` is `success`, the output is in `resultUrls`: `{ "state": "success", "resultUrls": [ ... ] }`. (Text models return inline in the create response.)

## Error Codes

| Code | Description |
|------|-------------|
| 200 | Request successful |
| 400 | Invalid request parameters |
| 401 | Authentication failed — check API Key |
| 402 | Insufficient account balance |
| 403 | IP not allowed for this key, or the key is restricted to other models |
| 404 | Task not found, or it has expired |
| 409 | Duplicate request — an identical submit arrived moments ago. Nothing was charged; retry is safe |
| 413 | Payload too large — see the character and file-size limits for this model |
| 429 | Rate limit exceeded — retry after the Retry-After header |
| 500 | Internal server error |
| 504 | Upstream timed out — nothing was delivered; retry is safe |
