Use Whisper with Whisper via the Muapi REST API. Pay per generation — no subscription needed.
POST https://api.muapi.ai/api/v1/openai-whisperSubmit a job with your MuApi API key in the x-api-key header, then poll https://api.muapi.ai/api/v1/predictions/{request_id}/result until status is completed.
| Name | Type | Required | Description |
|---|---|---|---|
| audio_url | string | Yes | URL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav, webm. File must be under 25 MB. |
| language | string | No | Optional ISO-639-1 language code of the input audio (e.g. 'en', 'es', 'hi'). Leave empty for automatic detection. |
| prompt | string | No | Optional context to guide the model's style or to spell out unusual words and proper nouns. Should match the audio language. |
| response_format | string | No | Output format. 'json' / 'text' return plain transcripts, 'srt' / 'vtt' return timestamped subtitles, 'verbose_json' includes per-segment metadata.Options: json, text, srt, verbose_json, vttDefault: "json" |
| temperature | number | No | Sampling temperature between 0 and 1. Higher values make output more random; lower values make it more deterministic.Default: 0 |
REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/openai-whisper \
-H "x-api-key: $MUAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audio_url":"https://example.com/your-audio_url"}' | jq -r .request_id)
curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"import os, time, requests
API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}
r = requests.post(f"{API}/openai-whisper", headers=headers, json={"audio_url":"https://example.com/your-audio_url"})
request_id = r.json()["request_id"]
while True:
res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
if res["status"] == "completed":
print(res["outputs"]); break
if res["status"] == "failed":
raise RuntimeError(res.get("error"))
time.sleep(3)Full docs and agent/MCP integration: llms.txt. Get an API key at muapi.ai/access-keys.