Skip to main content
POST
/
tts
/
change-voice
Change Voice Speed
curl --request POST \
  --url https://api.example.com/tts/change-voice \
  --header 'Content-Type: application/json' \
  --data '
{
  "speed": 123,
  "api_key": "<string>"
}
'
Change the playback speed of an existing audio file without affecting pitch. Useful for creating faster or slower versions of audio content.

Request

audio
file
required
Audio file to modify (MP3, WAV, etc.)
speed
number
default:"1.0"
Playback speed multiplier. Range: 0.25 to 4.0
  • 0.25 = 4x slower
  • 1.0 = normal speed
  • 2.0 = 2x faster
  • 4.0 = 4x faster
api_key
string
Your GistMag API key (optional, but recommended for rate limiting)

Response

Returns the modified audio file as MP3.

Credit Cost

No credits charged - This is a free operation for adjusting playback speed.

Example Request

curl -X POST https://api.gistmag.co.uk/tts/change-voice \
  -F "audio=@speech.mp3" \
  -F "speed=1.5" \
  -F "api_key=your_api_key_here" \
  --output faster_speech.mp3

Use Cases

  • Create faster versions for time-constrained content
  • Slow down speech for better comprehension
  • Adjust speed for different audience preferences
  • Create variations of existing audio content