๐๏ธ ืชืืืื ืืขืืจืืช
ืืขืื ืงืืืฅ ืืืืื ืืงืื ืชืืืื ืืืืืง ืืขืืจืืช โ ืืื ื ืืืืืืื
๐ต
ืืจืืจ ืงืืืฅ ืืืืื ืืืื, ืื ืืืฅ ืืืืืจื
M4A ยท MP3 ยท WAV ยท OGG ยท FLAC ยท ืขื 25 MB
๐ API Reference
Use this endpoint directly from any project โ no auth required.
POST
https://cybernexus-worker.oren001.workers.dev/transcribe
| Field |
Type |
Description |
file required |
multipart/form-data |
Audio file โ M4A, MP3, WAV, OGG, FLAC, WebM. Max 25 MB. |
Response
// Success
{ "text": "ืฉืืื, ืื ืชืืืื ืฉื ืืงืืืฅ ืฉืื" }
// Error
{ "error": "File too large" }
curl -X POST https://cybernexus-worker.oren001.workers.dev/transcribe \
-F "file=@audio.mp3"
const form = new FormData();
form.append('file', audioFile); // File object from input/Blob
const res = await fetch(
'https://cybernexus-worker.oren001.workers.dev/transcribe',
{ method: 'POST', body: form }
);
const { text } = await res.json();
console.log(text);
import requests
with open('audio.mp3', 'rb') as f:
res = requests.post(
'https://cybernexus-worker.oren001.workers.dev/transcribe',
files={'file': f}
)
print(res.json()['text'])
import { readFileSync } from 'fs';
import FormData from 'form-data';
const form = new FormData();
form.append('file', readFileSync('audio.mp3'), 'audio.mp3');
const res = await fetch(
'https://cybernexus-worker.oren001.workers.dev/transcribe',
{ method: 'POST', body: form, headers: form.getHeaders() }
);
const { text } = await res.json();