> ## Documentation Index
> Fetch the complete documentation index at: https://docs.musicmint.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# WAV Download

> Get a high-quality WAV download URL for a clip

## Endpoint

```http theme={null}
GET /api/v1/music/wav?clip_id={clip_id}
```

**Synchronous.** Returns the WAV download URL immediately.

Returns a lossless WAV format download URL for a clip. Use this when you need uncompressed audio for professional production workflows.

## Query parameters

| Parameter | Type   | Required | Description                                                                                                                                          |
| --------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clip_id` | string | **Yes**  | Clip ID to download as WAV. Obtain from [Upload Audio](/api-reference/music/upload) (`data.clipId`) or a completed generation task (`results[].id`). |

## Response

```json theme={null}
{
  "code": 0,
  "message": "ok",
  "request_id": "req-1710000000000",
  "data": "https://cdn.example.com/tob/gen/abc123.wav"
}
```

The `data` field is a string containing the direct download URL for the WAV file.

## Example

```bash theme={null}
curl "https://api.example.com/api/v1/music/wav?clip_id=abc123def456" \
  -H "Authorization: Bearer sk-mm-your-key"
```

Then download the file:

```bash theme={null}
WAV_URL=$(curl -s "https://api.example.com/api/v1/music/wav?clip_id=abc123" \
  -H "Authorization: Bearer sk-mm-your-key" | jq -r '.data')

curl -o track.wav "$WAV_URL"
```

<Note>
  WAV files are larger than MP3. The URL is subject to the same expiration policy as the clip — check `expire_at` from [Get Music](/api-reference/music/get) before downloading.
</Note>
