Profile

Manage your account and developer API tokens.

VIP & Recharge

Loading recharge plans...

Direct self-recharge is disabled. Please use admin-provided recharge codes.

Personal Access Tokens

0 active token(s). Default is permanent.

Scopes: tasks + files
NamePrefixScopesLast UsedExpiresAction
No API tokens yet.

Programming API Quick Start

Use `Authorization: Bearer YOUR_PAT` for scripts.

# 1) create task
curl -X POST "http://localhost:8000/api/v1/tasks" \
  -H "Authorization: Bearer YOUR_PAT" \
  -F "file=@/path/to/paper.pdf" \
  -F "engine=pdf2zh" \
  -F "service=deepseek" \
  -F "sourceLang=en" \
  -F "targetLang=zh" \
  -F "keyMode=system"

# 2) query task
curl -H "Authorization: Bearer YOUR_PAT" \
  "http://localhost:8000/api/v1/tasks/<task_id>"

# 3) download output
curl -L -H "Authorization: Bearer YOUR_PAT" \
  "http://localhost:8000/api/v1/tasks/<task_id>/download/<filename>" \
  -o translated.pdf