Migrate
Migrate from DeepL
Move a DeepL API integration to VibeQL by changing the server URL and the key in your DeepL client library.
VibeQL serves the DeepL API format. Keep your code and your DeepL client library. Change two things:
- The server URL:
https://vibeql.com. - The key: a VibeQL key from API keys.
Change the server URL
client = deepl.DeepLClient(os.environ["VIBEQL_API_KEY"], server_url="https://vibeql.com")const client = new deepl.DeepLClient(process.env.VIBEQL_API_KEY, { serverUrl: "https://vibeql.com" });var client = new DeepLClient(apiKey, new DeepLClientOptions { ServerUrl = "https://vibeql.com" });DeepLClient client = new DeepLClient(apiKey, new DeepLClientOptions().setServerUrl("https://vibeql.com"));$client = new \DeepL\DeepLClient($apiKey, ['server_url' => 'https://vibeql.com']);// DeepL has no official Go library. Change the base URL in your HTTP code.
const baseURL = "https://vibeql.com" // was https://api.deepl.com or https://api-free.deepl.com
req, _ := http.NewRequest("POST", baseURL+"/v2/translate", body)
req.Header.Set("Authorization", "DeepL-Auth-Key "+os.Getenv("VIBEQL_API_KEY"))client = DeepL::Client.new(ENV.fetch('VIBEQL_API_KEY'), server_url: 'https://vibeql.com')The older Translator class takes the same option. With the older module-level Ruby API, set config.host = 'https://vibeql.com' in DeepL.configure.
If you call the API over plain HTTP, replace https://api.deepl.com or https://api-free.deepl.com with https://vibeql.com. Paths and parameters stay the same.
What stays the same
- Endpoints:
POST /v2/translate,POST /v2/document,POST /v2/document/{id},POST /v2/document/{id}/result,GET|POST /v2/usage,GET|POST /v2/languagesandGET /v3/languages. - The
Authorization: DeepL-Auth-Keyheader and the legacyauth_keyfield. - JSON field names, such as
translations,detected_source_language,document_id,document_key,seconds_remainingandbilled_characters. - Document statuses:
queued,translating,done,error. - Status codes:
400,403,404,413,456,503. - Language codes, including
EN-US,PT-BR,ES-419andZH-HANT. See Languages.
What is different
| DeepL | VibeQL | |
|---|---|---|
| Minimum per document | 50,000 characters | None. A document uses the characters it has. |
| Glossaries | Yes | No. glossary_id is ignored and the glossary endpoints do not exist. |
| Formality | Yes, for some languages | No. formality is ignored and supports_formality is false. |
detected_source_language on /v2/translate |
Detected language | Your source_lang, or EN if you leave it out |
| Other DeepL APIs, such as DeepL Write | Yes | Not available |
| Document formats | Many | DOCX, PPTX, PDF, TXT |
| Price | See DeepL | See Pricing |
Translations come from AI translation models, so the wording can differ from DeepL output for the same text. Test a sample of your own content before you switch all traffic.
Check the switch
curl https://vibeql.com/v2/usage \
-H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY"
A 200 response with character_count and character_limit confirms that the URL and the key work.