> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Eudic Translation with CometAPI

> Use this guide to configure Eudic Translation with CometAPI by setting the base URL, API key, and model or provider options.

[Eudic](https://www.eudic.net/v4/en/app/eudic) is a popular dictionary and translation app. Add CometAPI as a custom translation engine to power translations with any model on our platform.

## Prerequisites

* [Eudic](https://www.eudic.net/v4/en/app/eudic) installed

  <Frame>
    <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351582.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=b9bc1e823b935085dd27b3c84620b012" alt="Eudic app interface" width="1912" height="927" data-path="images/integrations/810968_351582.png" />
  </Frame>

* A [CometAPI](https://www.cometapi.com) account with an active API key

## Setup

<Steps>
  <Step title="Get your CometAPI API key">
    Log in to the [CometAPI dashboard](https://www.cometapi.com/console). Click **Add API Key** and copy your key and base URL (`https://api.cometapi.com`).

    <Frame>
      <img src="https://mintcdn.com/cometapi/SZhlxZhCnMLn__BW/images/overview/810968_364191.png?fit=max&auto=format&n=SZhlxZhCnMLn__BW&q=85&s=aef81a83f29f8eb16655ed4060425f50" alt="CometAPI dashboard — Add API Key" width="3824" height="1892" data-path="images/overview/810968_364191.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/HhtmQffktazbxUvS/images/overview/810968_364193.png?fit=max&auto=format&n=HhtmQffktazbxUvS&q=85&s=d893f659267150d0faf45f99eb5dffc1" alt="CometAPI API key and base URL" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Add a custom translation engine">
    Open Eudic → **Translation Engine** settings → **Add Translation Engine**. Find **Custom** in the dropdown, set it to **OpenAI**, and enter `https://api.cometapi.com/v1/chat/completions` in the **API Host** field.
  </Step>

  <Step title="Configure your API key and model">
    Paste your CometAPI key into the **API Key** field. Optionally enter a specific model ID. Click **Save**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351583.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=95b61b747f61ebfbccbe9fbdd08efa9c" alt="Eudic add translation engine dialog" width="1900" height="929" data-path="images/integrations/810968_351583.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351584.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=b9035ae781d010889e40d1f1e1f663c5" alt="API host and key fields filled in for CometAPI" width="1871" height="894" data-path="images/integrations/810968_351584.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351585.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=25957b51623bff5f02aab265a13eb943" alt="Model name field in Eudic translation engine settings" width="1905" height="922" data-path="images/integrations/810968_351585.png" />
    </Frame>
  </Step>

  <Step title="Test the translation">
    Select text and trigger a translation. A successful result confirms the integration is working.
  </Step>
</Steps>
