Thanks to visit codestin.com
Credit goes to freesubtitles.ai

Quickstart

Replace YOUR_API_KEY and use your file path. These examples auto-use the current host.

Examples

curl -X POST "$ORIGIN/api" \
  -F "apiKey=YOUR_API_KEY" \
  -F "language=auto-detect" \
  -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",
    "languagesToTranslateTo": "Spanish,French",
    "downloadLink": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  }'
# After POST /api returns { "numberToUse": "" }, poll:
curl "$ORIGIN/api/"