apyhub
Back

Change Audio Playback Speed API

What it does

Audio Speed Changer lets you send an audio file and a playback speed, then get the transformed audio back as a binary file. It is designed for straightforward time-stretching and speed-up or slow-down workflows without changing your integration shape.

POST the file in body.file and set body.speed to a number between 0.5 and 2.0. The service accepts audio files up to 30 MB and returns the modified audio as binary output. Use it when you need to produce quicker preview clips, slow down spoken content for review, or generate alternate playback versions for your app.

Because the response is a file, it fits cleanly into automation pipelines: upload, transform, store, and serve. Audio Speed Changer is a good fit for media tools, learning products, podcast workflows, and any backend that needs to alter playback speed programmatically.

POST
Change audio speed
https://api.eu.apyhub.com/freedailypro/change-audio-playback-speed-api/audio-speed

QUICKSTART

GUIDE

Quickstart

Speed up an audio file to 1.5 times its original speed.

curl -X POST "https://api.eu.apyhub.com/freedailypro/change-audio-playback-speed-api/audio-speed" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/audio.mp3" \
  -F "speed=1.5"

What you'll get back

Returns a binary file (string with format: binary) containing the converted audio output.

TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
The audio file. Up to 30 MB.
Between 0.5 and 2.0, for example 1.5

About this endpoint

What it does

Changes the playback speed of an uploaded audio file and returns the adjusted audio as binary data.

Request Body

ParameterTypeMandatoryDescription
fileFileYesThe audio file. Up to 30 MB.
speedNumberYesSpeed multiplier from 0.5 to 2.0. Below 1 slows the audio down, above 1 speeds it up. For example, 1.5 plays it 1.5 times faster.

Response

Returns the speed-adjusted audio as a binary file in the response body.

ParameterTypeDescription
Binary FileFileThe audio at the new speed.

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.