.mp3 or .wav file. Audio always runs queued: the endpoint responds with HTTP 202 Accepted and a job object { id, status }.
Request
Optional, 1–255 characters. Returns the existing job if a job with this key was already created.
Id of an upload, must be an audio file (
.mp3 or .wav).Presets
Operations
Encoding rules:
- If your chain has no
encodeoperation, one is appended with defaults (Opus, 24 kbps, mono). encodealways runs last, regardless of where you place it. If several are sent, the last one wins.- Output is
.ogg(Opus) by default, the best quality per bitrate for voice. Pass{"type": "encode", "params": {"format": "mp3"}}for.mp3when you need broad compatibility.
GET /v1/audio/presets and GET /v1/audio/operations return these definitions as JSON.
Examples
Preset
Custom operations, MP3 output
Results
PollGET /v1/jobs/:id (ideally with ?wait=25 to long-poll) until status is completed, then download result.outputUrl (signed, 1-hour validity, regenerated on every read). Results are retained for 7 days.