جيما للتفريغ والترجمة
English العربية Français Türkçe فارسی 中文 ئۇيغۇرچە Русский Oʻzbekcha

API Documentation

OpenAPI 3.1 spec + Swagger UI. Also usable from curl.

Raw spec: /openapi.yaml

Swagger UI: /swagger/

curl quickstart

# submit a file
curl -F file=@arabic.wav -F mode=translate -F target_language=Arabic \
     http://localhost:8080/api/jobs

# submit a URL (yt-dlp)
curl -F url='https://youtu.be/xxxx' -F mode=translate -F target_language=English \
     http://localhost:8080/api/jobs

# follow progress
curl -N http://localhost:8080/api/jobs/<id>/events

# download output
curl -O http://localhost:8080/api/jobs/<id>/output/vtt