Conversion Endpoints
Audio Speed Changer
Processes an audio file to change its playback speed based on a speed factor.
POST
/
audio_speed_changer
Copy
import requests
url = "https://api.example.com/api/public/v1/audio_speed_changer"
headers = {
"Authorization": "<API_KEY>",
"Content-Type": "multipart/form-data"
}
payload = {
"audio_path": "https://example.com/input_audio.mp3",
"speed_change_factor": 1.5,
"output_extension": "mp3"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
Copy
{
"success": true,
"conversion_id": "conv999",
"credit_estimate": 45,
"conversion_path": "https://example.com/output/converted_audio.mp3",
"message": "Speed change task queued successfully"
}
Authorizations
Body
multipart/form-data
Response
200
application/json
Successfully initiated audio speed change
The response is of type object
.
Copy
import requests
url = "https://api.example.com/api/public/v1/audio_speed_changer"
headers = {
"Authorization": "<API_KEY>",
"Content-Type": "multipart/form-data"
}
payload = {
"audio_path": "https://example.com/input_audio.mp3",
"speed_change_factor": 1.5,
"output_extension": "mp3"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
Copy
{
"success": true,
"conversion_id": "conv999",
"credit_estimate": 45,
"conversion_path": "https://example.com/output/converted_audio.mp3",
"message": "Speed change task queued successfully"
}
Assistant
Responses are generated using AI and may contain mistakes.