POST

Extract audio from video and transcribe; priced per minute. Uses ffmpeg + whisper.cpp

/v1/video-transcript

Powered by OpenAI

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/video-transcript
Content-Type: application/json

{
  "url": "https://tools402.dev",
  "duration_hint_sec": 1,
  "lang": "auto"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Extract audio from video and transcribe; priced per minute. Uses ffmpeg + whisper.cpp.

AI research lab behind the GPT and Whisper models.

Request schema

Body: JSON · application/json

FieldTypeDescription
urlstringrequired
duration_hint_secnumberoptional
langstringrequiredpattern: ^[a-z]{2}$|^auto$
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/video-transcript \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://tools402.dev",
  "duration_hint_sec": 1,
  "lang": "auto"
}'

402 payment flow omitted — see Integrations for settlement.