> For the complete documentation index, see [llms.txt](https://docs.cherry-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherry-ai.com/docs/jp/pre-basic/providers/google-gemini.md).

# Google Gemini

## APIキーを取得

* Gemini の API キーを取得する前に、Google Cloud プロジェクトが必要です（すでにある場合は、この手順はスキップできます）
* に進み [Google Cloud](https://console.cloud.google.com/projectcreate) プロジェクトを作成し、プロジェクト名を入力して［プロジェクトを作成］をクリックします

<figure><img src="/files/e3568a5e59ea87ad2730c2897c070064e5ecbd5e" alt=""><figcaption></figcaption></figure>

* 公式の [APIキーのページ](https://aistudio.google.com/app/apikey?hl=zh-cn) クリック `キー　APIキーを作成`

<figure><img src="/files/4d7f178c9c862f947a99d41df557874cb6538990" alt=""><figcaption></figcaption></figure>

* 生成されたキーをコピーし、CherryStudio の [プロバイダー設定](https://github.com/CherryHQ/cherry-studio-docs/blob/main/pre-basic/providers/broken-reference/README.md)
* サービス提供者 Gemini を見つけ、先ほど取得したキーを入力します

<figure><img src="/files/73c21935e70f7c7807c8f64f30333c35e4a40262" alt=""><figcaption></figcaption></figure>

* 最下部の「管理」または「追加」をクリックし、対応モデルを追加して右上のプロバイダースイッチをオンにすれば使用できます。

{% hint style="info" %}

* 中国では台湾を除くその他の地域からは Google Gemini サービスを直接利用できないため、プロキシの問題はご自身で解決する必要があります；
  {% endhint %}

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の過程で疑問、Bug、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネルをご参照ください。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/jp/pre-basic/providers/google-gemini.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
