# Gemini

## วิธีการต่อตรงจาก Google

1. เข้า Ai studio  [https://aistudio.google.com/api-keys](https://aistudio.google.com/api-keys?project=lateral-avatar-491510-c9) และทำตามรูป

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

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

<figure><img src="/files/0ekNgo5EIi0RknKgHzu7" alt=""><figcaption></figcaption></figure>

2. เข้า SillyTavern และตั้งค่าตามนี้โดยนำ API KEY มาใส่

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

3. ENJOY ST :)

***

## Open Router

### สามารถ Setup Openrouter ตามไกด์นี้ได้เลย

{% content-ref url="/pages/qV6AHYQTEOA8OKEi4Vga" %}
[Get started](/openrouter/get-started.md)
{% endcontent-ref %}

### หลังจากได้คีย์มาแล้วสามารถใส่ตามนี้ได้เลย

{% hint style="warning" %}
Open Router สามารถเล่นได้ทุกโมเดลแต่มีค่าใช้จ่ายรายครั้ง&#x20;
{% endhint %}

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


---

# Agent Instructions: 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://sillytavern.rnsv.xyz/ai-model/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.
