Trim and Loop Audio - Auto
This API automatically detects a seamless loop in the provided user uploaded audio, trims it, and loops the trimmed segment based on the textual description using AI.Core Parameters
The following parameters are required to send a valid request:Parameter | Type | Required | Description |
---|---|---|---|
audioUrl | string | ✅ Required | Public URL of a user uploaded audio file to detect loop from. |
count | int | ✅ Required | Number of times to loop the detected seamless segment. |
Request Example
- Python
- cURL
Response
- 200 OK
- 400 Bad Request
Sample Output
Possible Errors :
- If Rate Limits have been passed for User.
- If Length of provided audio is too short.
- If Length of looped audio is more than 960.
Trim and Loop Audio - Beats
This API automatically detects a seamless loop in the provided user uploaded audio, trims it, and loops the trimmed segment based on the textual description and Number of Beats given by user using AI.Core Parameters
The following parameters are required to send a valid request:Parameter | Type | Required | Description |
---|---|---|---|
audioUrl | string | ✅ Required | Public URL of a user uploaded audio file to detect loop from. |
count | int | ✅ Required | Number of times to loop the detected seamless segment. |
beatsToInclude | int | ✅ Required | Number of beats to include in the looped segment. |
Request Example
- Python
- cURL
Response
- 200 OK
- 400 Bad Request
Sample Output
Possible Errors :
- If Rate Limits have been passed for User.
- If Length of provided audio is too short.
- If Length of looped audio is more than 960.
Trim and Loop Audio - Time Range
This API automatically detects a seamless loop in the provided user uploaded audio, trims it, and loops the trimmed segment based on the textual description and Time Ranges given by user using AI.Core Parameters
The following parameters are required to send a valid request:Parameter | Type | Required | Description |
---|---|---|---|
audioUrl | string | ✅ Required | Public URL of a user uploaded audio file to detect loop from. |
count | int | ✅ Required | Number of times to loop the detected seamless segment. |
timeRanges | List | ✅ Required | Time ranges to include in the looped segment. |
Request Example
- Python
- cURL
Response
- 200 OK
- 400 Bad Request
Sample Output
Possible Errors :
- If Rate Limits have been passed for User.
- If Time Range provided is out of bounds.
- If end sample is less than or equal to start sample.
- If Time Range array is empty.
- If Length of looped audio is more than 960.