Convert to WAV Format
Convert an existing music track to high-quality WAV format.
Usage Guide
- Use this endpoint to obtain WAV format files from your generated music
- WAV files provide uncompressed audio for professional editing and processing
- Converted files maintain the full quality of the original audio
Parameter Details
taskIdidentifies the original music generation taskaudioIdspecifies which audio track to convert when multiple variations exist
Developer Notes
- Generated WAV files are retained for 14 days
- WAV files are typically 5-10 times larger than MP3 equivalents
- Processing time may vary depending on the length of the original audio
Rate limits and quotas are enforced by Apikley and may differ from upstream providers.
OpenAPI
suno-api/suno-api.json post /api/v1/wav/generate
Copy
openapi: 3.0.0
info:
title: Suno API
description: Apikley Suno API Documentation
version: 1.0.0
contact:
name: Technical Support
email: [email protected]
servers:
- url: https://api.apikley.ru
description: API Server
security:
- BearerAuth: []
paths:
/api/v1/wav/generate:
post:
summary: Convert to WAV Format
description: >-
Convert an existing music track to high-quality WAV format.
### Usage Guide
- Use this endpoint to obtain WAV format files from your generated music
- WAV files provide uncompressed audio for professional editing and
processing
- Converted files maintain the full quality of the original audio
### Parameter Details
- `taskId` identifies the original music generation task
- `audioId` specifies which audio track to convert when multiple
variations exist
### Developer Notes
- Generated WAV files are retained for 14 days
- WAV files are typically 5-10 times larger than MP3 equivalents
- Processing time may vary depending on the length of the original audio
operationId: convert-to-wav
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- taskId
- audioId
- callBackUrl
properties:
taskId:
type: string
description: >-
Unique identifier of the music generation task. This should
be a taskId returned from either the "Generate Music" or
"Extend Music" endpoints.
example: 5c79****be8e
audioId:
type: string
description: >-
Unique identifier of the specific audio track to convert.
This ID is returned in the callback data after music
generation completes.
example: e231****-****-****-****-****8cadc7dc
callBackUrl:
type: string
format: uri
description: >-
The URL to receive WAV conversion task completion updates.
Required for all WAV conversion requests.
- System will POST task status and results to this URL when
WAV conversion completes
- Callback includes the high-quality WAV file download URL
- Your callback endpoint should accept POST requests with
JSON payload containing the WAV file location
- For detailed callback format and implementation guide, see
[WAV Conversion
Callbacks](https://docs.apikley.ru/suno-api/convert-to-wav-callbacks)
- Alternatively, use the Get WAV Details endpoint to poll
task status
example: https://api.example.com/callback
responses:
'200':
description: Request successful
content:
application/json:
schema:
allOf:
- type: object
properties:
code:
type: integer
enum:
- 200
- 400
- 401
- 402
- 404
- 409
- 422
- 429
- 455
- 500
description: >-
Response status code
- **200**: Success - Request has been processed
successfully
- **400**: Format Error - The parameter is not in a
valid JSON format.
- **401**: Unauthorized - Authentication credentials
are missing or invalid
- **402**: Insufficient Credits - Account does not
have enough credits to perform the operation
- **404**: Not Found - The requested resource or
endpoint does not exist
- **409**: Conflict - WAV record already exists
- **422**: Validation Error - The request parameters
failed validation checks
- **429**: Rate Limited - Request limit has been
exceeded for this resource
- **455**: Service Unavailable - System is currently
undergoing maintenance
- **500**: Server Error - An unexpected error occurred
while processing the request
Build Failed - Audio wav generation failed
msg:
type: string
description: Error message when code != 200
example: success
- type: object
properties:
data:
type: object
properties:
taskId:
type: string
description: Task ID for tracking task status
example: 5c79****be8e
'500':
$ref: '#/components/responses/Error'
callbacks:
wavGenerated:
'{$request.body#/callBackUrl}':
post:
description: >-
System will call this callback when WAV format audio generation
is complete.
### Callback Example
```json
{
"code": 200,
"msg": "success",
"data": {
"audioWavUrl": "https://example.com/s/04e6****e727.wav",
"task_id": "988e****c8d3"
}
}
```
requestBody:
content:
application/json:
schema:
allOf:
- type: object
properties:
code:
type: integer
enum:
- 200
- 500
description: >-
Response status code
- **200**: Success - Request has been processed
successfully
- **500**: Internal Error - Please try again
later.
msg:
type: string
description: Error message when code != 200
example: success
- type: object
properties:
data:
type: object
properties:
taskId:
type: string
description: Task ID for tracking task status
example: 5c79****be8e
type: object
properties:
code:
type: integer
description: Status code
example: 200
msg:
type: string
description: Response message
example: success
data:
type: object
properties:
task_id:
type: string
description: Task ID
audioWavUrl:
type: string
description: WAV format audio file URL
responses:
'200':
description: Callback received successfully
components:
responses:
Error:
description: Server Error
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: >-
All APIs require authentication via Bearer Token.
Get API Key:
1. Visit [API Key Management Page](https://app.apikley.ru/keys) to get your
API Key
Usage:
Add to request header:
Authorization: Bearer APIKLEY_API_KEY
Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately
in the management page
To find navigation and other pages in this documentation, fetch the llms.txt file at: https://docs.apikley.ru/llms.txt