# Suno V4.5 Plus API

> Full songs with vocals from a text prompt.

- **Provider**: Suno
- **Model id**: `suno-v4-5`
- **Modality**: music
- **Price**: 13.21 credits

## Overview

Suno V4.5 Plus 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-v4-5` |
| input | object | Yes | Input parameters object (see below) |
| callbackUrl | string | No | https URL to receive a signed webhook on completion |

### input object parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| modelVersion | string | Yes | Options: V5 | V4_5PLUS | V4_5 | V4 (default: V4_5PLUS) |
| customMode | boolean | No | True/false (default: false) |
| prompt | string | Yes | Text value |
| title | string | Yes | Text value |
| style | string | Yes | Text value |
| personaId | string | No | Text value |
| instrumental | boolean | No | True/false (default: false) |
| audioWeight | number | No | Range 0-1 (default: 0.65) |
| vocalGender | string | No | Options:  | m | f |
| styleWeight | number | No | Range 0-1 |
| weirdnessConstraint | number | No | Range 0-1 |
| negativeTags | string | No | Text value |

### Request example

```json
{
  "modelId": "suno-v4-5",
  "input": {
    "modelVersion": "V4_5PLUS",
    "customMode": false,
    "prompt": "An upbeat synthwave track with driving bass, bright arpeggios and a nostalgic 80s feel.",
    "title": "Neon Drive",
    "style": "synthwave, energetic, retro",
    "personaId": "example",
    "instrumental": false,
    "audioWeight": "0.65",
    "vocalGender": "",
    "styleWeight": "0",
    "weirdnessConstraint": "0",
    "negativeTags": "example"
  }
}
```

### Response example

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

## Query Task

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

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 |
| 422 | Parameter validation failed |
| 429 | Request rate limit exceeded |
| 500 | Internal server error |
