Programmatically transcribe and translate media, check status, and retrieve completed files.
Replace YOUR_API_KEY and use your file path. These examples auto-use the current host.
curl -X POST "$ORIGIN/api" \
-F "apiKey=YOUR_API_KEY" \
-F "language=auto-detect" \
-F "features=speaker-attribution,llm-inference" \
-F "languagesToTranslateTo=Spanish,French" \
-F "file=@/path/to/media.mp3"
curl -X POST "$ORIGIN/api" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "YOUR_API_KEY",
"language": "auto-detect",
"features": "speaker-attribution,llm-inference",
"languagesToTranslateTo": "Spanish,French",
"downloadLink": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}'
# After POST /api returns { "numberToUse": "<id>" }, poll with the owning API key:
curl -H "Authorization: Bearer YOUR_API_KEY" "$ORIGIN/api/"