Request
Make aPOST
request to below endpoint and pass the required parameters as a request body.
Body
Body
Your API Key for request authorization
Input text for music generation
Conditioning melody URL for music generation (up to 30 seconds)
Sampling rate of generated music
x >= 10000
Maximum number of new tokens for music generation
256 <= x <= 1024
Whether input sound clip is in base64 format
Use temporary links for regions blocking storage access
URL to receive POST callback upon completion
Unique ID for identifying webhook responses
Response
Music generation response
Status of the voice generation
success
, processing
, error
Time taken to generate the audio in seconds
Unique identifier for the voice generation
Array of generated audio URLs
Array of proxy audio URLs
Array of future audio URLs for queued requests
Array of audio URLs (voice cover response)
Metadata about the audio generation including all parameters used
Estimated time for completion in seconds (processing status)
Status message or additional information
Additional information or tips for the user
URL to fetch the result when processing
Duration of the generated audio in seconds