> ## 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.

# CometAPI で ChatAll を使う

> このガイドでは、base URL、API key、モデルまたはプロバイダーのオプションを設定して、ChatAll で CometAPI を構成する方法を説明します。

[ChatAll](https://github.com/ai-shifu/ChatALL) を使うと、複数の AI モデルに同時にメッセージを送信できます。CometAPI に接続すると、単一のキーで GPT、Claude、Gemini などにアクセスできます。

## 前提条件

* [ChatAll](https://github.com/ai-shifu/ChatALL/releases) がインストールされていること
* 有効な API key を持つ [CometAPI](https://www.cometapi.com) アカウント

## セットアップ

<Steps>
  <Step title="CometAPI API key を取得する">
    [CometAPI ダッシュボード](https://www.cometapi.com/console) にログインします。**Add API Key** をクリックし、キーと 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 ダッシュボード — 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 と base URL" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="ChatAll で OpenAI を設定する">
    ChatAll を開き、**Settings** → **OpenAI** の順に進みます。**API Address** フィールドに `https://api.cometapi.com/v1` を入力し、**API Key** に CometAPI key を貼り付けて、**Save** をクリックします。

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351613.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=223ae91c7aa6c7a300887a624f6648ba" alt="CometAPI base URL を設定した ChatAll の OpenAI 設定" width="690" height="518" data-path="images/integrations/810968_351613.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351614.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=82546a500cfc0c4f0d161475d08bbf56" alt="ChatAll 設定で入力済みの API key フィールド" width="1024" height="519" data-path="images/integrations/810968_351614.png" />
    </Frame>
  </Step>

  <Step title="モデルを選択する">
    モデルセレクターをクリックすると、利用可能なモデルを表示して切り替えられます。

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351615.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=30485dde702fb471d2d2b45cd7f928fe" alt="ChatAll のモデル選択パネル" width="690" height="519" data-path="images/integrations/810968_351615.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351616.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=4dcbfb21b05f291a470c5927cc144999" alt="ChatAll で一覧表示および選択されたモデル" width="690" height="534" data-path="images/integrations/810968_351616.png" />
    </Frame>
  </Step>
</Steps>

<script type="application/ld+json">
  {`
    {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "HowTo",
        "@id": "https://apidoc.cometapi.com/integrations/chatall-translation#howto",
        "name": "CometAPI で ChatAll を使う",
        "description": "このガイドでは、base URL、API key、モデルまたはプロバイダーのオプションを設定して、ChatAll で CometAPI を構成する方法を説明します。",
        "step": [
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/chatall-translation#step-1",
            "position": 1,
            "name": "CometAPI API key を取得する",
            "text": "CometAPI アカウントを作成または開き、ダッシュボードから有効な API key をコピーします。"
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/chatall-translation#step-2",
            "position": 2,
            "name": "ChatAll で OpenAI を設定する",
            "text": "「CometAPI で ChatAll を使う」ガイドの「ChatAll で OpenAI を設定する」手順を完了します。"
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/chatall-translation#step-3",
            "position": 3,
            "name": "モデルを選択する",
            "text": "「CometAPI で ChatAll を使う」ガイドの「モデルを選択する」手順を完了します。"
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "CometAPI ドキュメント",
            "item": "https://apidoc.cometapi.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "連携",
            "item": "https://apidoc.cometapi.com/integrations"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "CometAPI で ChatAll を使う",
            "item": "https://apidoc.cometapi.com/integrations/chatall-translation"
          }
        ]
      }
    ]
    }
    `}
</script>
