跳至主要內容

相容於 DeepL 的翻譯 API

將 DeepL、Google Translate v2 或 Azure Translator 請求傳送至 vibeql.com。文字與文件每百萬字元 $13.75,為 DeepL 費率的一半,且每份文件沒有最低收費。

即將開放註冊。免費方案每月包含 500,000 個 API 字元。

import deepl

client = deepl.DeepLClient(
    "YOUR_KEY", server_url="https://vibeql.com"
)

client.translate_document_from_filepath(
    "report.docx", "report-de.docx", target_lang="DE"
)
import * as deepl from "deepl-node";

const client = new deepl.DeepLClient("YOUR_KEY", {
  serverUrl: "https://vibeql.com",
});

await client.translateDocument(
  "report.docx", "report-de.docx", null, "de"
);
curl https://vibeql.com/v2/translate \
  -H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY" \
  -d "text=Where is the train station?" \
  -d "target_lang=DE"

同一個基礎 URL,支援三種 API 格式

每種格式共用同一組金鑰與字元額度。

格式端點功能
DeepLPOST/v2/translate翻譯文字
DeepLPOST/v2/document上傳文件
DeepLPOST/v2/document/{id}查看文件狀態
DeepLPOST/v2/document/{id}/result下載譯文
DeepLGET/v2/usage本月已用字元數
DeepLGET/v2/languages, /v3/languages支援的語言
Google v2POST/language/translate/v2翻譯文字
Google v2POST/language/translate/v2/detect偵測語言
Azure v3POST/translate?api-version=3.0翻譯文字
Azure v3POST/translator/document:translate翻譯文件並等待完成

完整參考:翻譯文字、翻譯文件、限制與錯誤。

API 價格

DeepL API 的 Growth 方案在超過前一百萬字元後,每百萬字元收取 $27.50。VibeQL 則收取 $13.75。

按用量付費

$13.75每 100 萬字元

  • 文字與文件同一費率
  • DeepL API 費率的一半

Growth

$129每月

  • 內含 1,000 萬字元
  • 之後每 100 萬字元 $12.50

Scale

$1,299每月

  • 內含 1 億字元
  • 之後每 100 萬字元 $11

透過 API 翻譯文件

上傳 DOCX、PPTX、PDF 或 TXT 檔案,查看狀態,下載結果。流程與欄位都和 DeepL 文件 API 相同。

目前只有我們提供 DeepL 格式的文件 API,因此使用 DeepL 的團隊不必改寫程式碼,就能把文件翻譯工作移轉過來。只想用一次呼叫?Azure 風格的端點最多等待 90 秒,然後回傳翻譯後的檔案。

# 1. Upload
curl https://vibeql.com/v2/document \
  -H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY" \
  -F file=@contract.docx -F target_lang=ES
# {"document_id": "…", "document_key": "…"}

# 2. Check the status until it is "done"
curl https://vibeql.com/v2/document/$ID \
  -H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY" \
  -d document_key=$KEY

# 3. Download
curl https://vibeql.com/v2/document/$ID/result \
  -H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY" \
  -d document_key=$KEY -o contract-es.docx

讓 AI 代理讀得懂的文件

每個文件頁面都有 Markdown 版本。讓 Claude Code、Cursor 或 Copilot 在撰寫整合程式時參考這些檔案。

API 常見問題

從 DeepL 轉移過來需要修改程式碼嗎?

只要改伺服器 URL 和金鑰。DeepL 官方的 Python、Node、.NET、Java、PHP 和 Ruby SDK 都接受伺服器 URL 選項,請求和回應的欄位維持不變。

目前缺少哪些 DeepL 功能?

詞彙表和正式程度選項尚未提供。VibeQL 支援 34 種目標語言。

字元數怎麼計算?

我們計算您送出的來源字元數。文件依內含的文字計費,每個檔案沒有最低收費。

哪些金鑰可用?

VibeQL 金鑰以 vql_ 開頭。可放在 DeepL-Auth-Key 或 Bearer 標頭、auth_key 表單欄位、Google key 參數,或 Azure 的 Ocp-Apim-Subscription-Key 標頭中送出。

字元數用完時會怎樣?

API 會回傳狀態碼 456,與 DeepL API 使用的代碼相同。

取得 API 金鑰

每月 500,000 個免費 API 字元。

帳戶開通後會寄一封電子郵件,之後大約每月一封產品通知。