# AI-API

**Free** *Gemini* **to** *OpenAI* ***API*****&#x20;Proxy!**

We made a free ***API*** available that acts as a proxy for the *Gemini* **API** to the *OpenAI* **API**.

It is available at: `c-api.leu-ai.com`

***Documentation*****:**

To utilize it, you should enter your API address and your Gemini API key into the corresponding fields in your software settings.&#x20;

Typically, you should specify the API base in this format:\
`https://c-api.leu-ai.com/v1`

However, some software may expect it without the `/v1` ending:\
`https://c-api.leu-ai.com`


---

# 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://docs.leunos.com/information/ai-api.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.
