> For the complete documentation index, see [llms.txt](https://mitsu-1.gitbook.io/vrc-ai-companion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mitsu-1.gitbook.io/vrc-ai-companion/aiwosuru/register.md).

# キーの登録とAIの切り替え

APIキーを用意したら、左の **「AI の設定」** を開きます。 初回セットアップで登録済みの場合は、キーを再入力せずに状態を確認できます。

## 1. 利用キーを保存する

1. ページを下へスクロールし、使う提供元の「利用設定」を探す。
2. 「利用キー」欄に、その提供元で発行したAPIキーを貼り付ける。
3. 欄の右側の **「保存」** を押す。
4. **「設定済み」** の表示を確認する。

![OpenAIの例。利用キー欄の右に「保存」があります。](https://2281629983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWzAawsJRGrYYDbrjl4uR%2Fuploads%2Fgit-blob-7940c7ed3ba3dfd4a698aad14714909a4d93d33e%2Fkey-openai.png?alt=media)

**保存後に入力欄が空になるのは正常です。** 保存状態と末尾のヒントで確認します。 ページ下部の「保存する」と、利用キー欄の「保存」は別の操作です。

## 2. 使うAIを選ぶ

ページ上部に戻り、「まとめて切り替え」を使います。

![AIの設定画面。最上部のカードでまとめて切り替えます。](https://2281629983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWzAawsJRGrYYDbrjl4uR%2Fuploads%2Fgit-blob-132ccb606d37ad5218663dbff7ddfc758b98a4e4%2Fllm.png?alt=media)

1. 「どこの AI」で提供元を選ぶ。
2. 「使う AI」で会話用モデルを選ぶ。候補にない場合は、提供元が案内する正式なモデルIDを入力する。
3. **「まとめて切り替える」** を押す。

この操作で、会話・反応判断・記憶の抜き出し・要約の4用途を同じ提供元とモデルに揃えます。 選んだ提供元も有効になります。必要なAPIキーは手順1で保存してください。

用途別に変更する場合は、それぞれの項目を変更してページ下部の **「保存する」** を押します。

「このパソコンの AI」では、[Ollamaの導入](/vrc-ai-companion/aiwosuru/ollama.md)でダウンロード済みのモデルを指定してください。 配布識別「2026-09-18-ui-fixes」以降の版では、導入済みモデルだけが候補に表示されます。 「導入済みモデルを再確認」で一覧を更新できます。旧版では未導入モデルも候補に表示される場合があるため、「AI を選ぶ」で確認してください。 保存済み・手入力の名前が欄に残っていることと、モデルが現在も導入されていることは別です。

## 3. 短い文字入力で確認する

「会話」で「こんにちは」と送信し、返答を確認します。 キーを保存できたことと、APIが利用できることは別です。返答がない場合は[困ったとき](/vrc-ai-companion/ttatoki/troubleshooting.md)を確認してください。

## キーを交換・削除する

新しいキーを同じ欄へ貼り付けて「保存」を押すと交換できます。 「削除」はVAC側の保存を削除する操作です。外部サービス側の失効・請求停止は、提供元の管理画面で行ってください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://mitsu-1.gitbook.io/vrc-ai-companion/aiwosuru/register.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
