get_mp3
Convert YouTube videos to MP3 audio files with optional trimming capabilities. Specify video ID and optionally set start/end times to extract specific segments.
Instructions
Convert to MP3 at the default bit rate. Quota cost will apply according to the length of the mp3 file.
Query Parameters:
id (Required): Quota cost will apply according to the length of the mp3 file. Quota is calculated as follows: if length <= 30 then 1 if 30 < length <= 60 then 2 if 60 < length <= 90 then 4 if 90 < length <= 120 then 5 if 120 < length <= 150 then 6 7 if 150 < length <= 180 then 7 8 if 180 < length <= 210 then 9 if 210 < length <= 240 then 10 (Note: length unit is minute) For trim/cut request, length of the original mp3 file is used for quota. If the trimmed mp3 file served from storage then trimmed length is us
cut: Cut the mp3 according to the provided sStart and sEnd parameters. The value must be provided as 1. The quota Cost is +1.
sStart: Starting point for cutting the mp3. Format must be HH:MM:SS
sEnd: End point for cutting the mp3. Format must be HH:MM:SS
Responses:
200 (Success): Successful response
Content-Type:
application/json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Quota cost will apply according to the length of the mp3 file. Quota is calculated as follows: if length <= 30 then 1 if 30 < length <= 60 then 2 if 60 < length <= 90 then 4 if 90 < length <= 120 then 5 if 120 < length <= 150 then 6 7 if 150 < length <= 180 then 7 8 if 180 < length <= 210 then 9 if 210 < length <= 240 then 10 (Note: length unit is minute) For trim/cut request, length of the original mp3 file is used for quota. If the trimmed mp3 file served from storage then trimmed length is us | |
| cut | No | Cut the mp3 according to the provided sStart and sEnd parameters. The value must be provided as 1. The quota Cost is +1. | 0 |
| sStart | No | Starting point for cutting the mp3. Format must be HH:MM:SS | |
| sEnd | No | End point for cutting the mp3. Format must be HH:MM:SS |