Docs/Music

Download a track

Download the rendered audio file.

GEThttps://api.vaelor.chat/v1/music/{id}/download

Downloads a finished track. The endpoint responds with a 302 redirect to a short-lived signed URL that serves the audio file as an attachment, named after the track title.

Path parameters#

idstringRequired
The track ID.

Example#

Follow redirects to save the file directly.

curl -L -o harbor-lights.mp3 \
  https://api.vaelor.chat/v1/music/5f0c2d1e-7a39-4b8e-9e61-2d4f8a0b3c77/download \
  -H "Authorization: Bearer $VAELOR_API_KEY"

The signed URL expires after 1 hour. Don't store it — call this endpoint again when you need the file.

Errors#

StatusWhen
404The track doesn't exist, or it hasn't finished rendering.

Was this page helpful?

Questions? Contact support

Last updated October 20, 2026