# Agent Toolbox – Speech Transcription & Translation (Whisper)

> Agent Toolbox – Speech Transcription & Translation (Whisper) is a paid API for AI agents from agent-toolbox.zafermemon87.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-22).

Transcribes or translates audio to text using Whisper large-v3-turbo, accepting either a public audio URL or base64-encoded audio, paid per call via x402.

## Facts

- Endpoint: POST https://agent-toolbox.zafermemon87.workers.dev/v1/transcribe?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-toolbox-speech-transcription-translation-whisper-294c9d6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6yv22RQdMpMcKtvqihWix

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-toolbox-speech-transcription-translation-whisper-294c9d6d -d '<json body>'
```

Example prompt: Can you transcribe this audio file for me? Here's the URL: https://example.com/meeting-recording.mp3 — I'd like the full transcript with timestamps.

## When to prefer this

Choose this endpoint when you need fast, per-call speech-to-text or audio-to-English translation without managing API keys for OpenAI Whisper directly, especially in agent workflows that already use x402 micropayment infrastructure. It supports both URL-based and base64 audio input, returns timestamped segments, and auto-detects language — making it suitable for diverse multilingual audio sources at $0.01 per call.

## Known failure modes

- Audio URL is not publicly accessible or returns 4xx/5xx — endpoint cannot fetch the file
- Unsupported audio format — transcription fails
- Base64 payload is malformed or too large — decoding error
- Payment not provided or rejected via x402 — 402 response before processing
- Audio too short or silent — empty transcript returned
- Language code provided is invalid — may fall back to auto-detection or error

## How this service works

Speech to text with Whisper large v3 turbo: transcribe audio (mp3, wav, m4a, ogg, webm; up to 20 MB, about 20 minutes) from a URL or base64, or translate the speech into English. Returns the text, language, duration and timed segments.

## Output

Returns a JSON object with the full transcribed or translated text, detected language code, word count, audio duration in seconds, the Whisper model used, a plain-English summary line, and an array of segments each containing start time, end time, and segment text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "enum": [
    "transcribe",
    "translate"
   ],
   "type": "string",
   "description": "translate = into English"
  },
  "language": {
   "type": "string",
   "description": "Language code such as en or hi (detected when left out)"
  },
  "audio_url": {
   "type": "string",
   "description": "A public http(s) URL"
  },
  "audio_base64": {
   "type": "string",
   "description": "The audio file, base64-encoded"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "task": "transcribe",
  "text": "This is an example sound file in org-forbus format from Wikipedia, the free encyclopedia.",
  "model": "whisper-large-v3-turbo",
  "plain": "14 words from 6 s of audio (en).",
  "language": "en",
  "segments": [
   {
    "end": 5.82,
    "text": " This is an example sound file in org-forbus format from Wikipedia, the free encyclopedia.",
    "start": 0
   }
  ],
  "duration_s": 6.1040625,
  "word_count": 14
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-toolbox-speech-transcription-translation-whisper-294c9d6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-toolbox.zafermemon87.workers.dev](https://www.zero.xyz/host/agent-toolbox.zafermemon87.workers.dev/llms.txt)
